Is this possible via jQuery ? Basically as shown in above image , I have blue background , map image and text images. I want to achieve this kind of animation at the page load or whenver this image is loaded.
+1
A:
Basically that's what jQuery's .animate() is for. You'll have to express every necessary animation state/step with CSS, but a simple animation like the one above shouldn't be a problem.
Joonas Trussmann
2010-07-14 11:05:52
+1
A:
There are different ways to show your elements using jQuery UI.
This link contains some examples : http://jqueryui.com/demos/show/
dejavu
2010-07-14 11:08:43
+1
A:
yes you can do it by mixing javscript and jquery... i have did something in a banner some time before..
the code follows
var timerCount = 1;
var timer = setInterval('sliderController()',5000);
function sliderController() {
status = changeSlide(timerCount);
if(status == 1) {
timerCount++;
}
else{
timerCount = 1;
}
}
function changeSlide(timerCount) {
if(timerCount != 3) {
leftValue = -1004 * timerCount;
$('#banner_slider_container #banner_slides_container').stop().animate({'left':leftValue,'opacity':0.3},'slow',function() {
$('#banner_slider_container #banner_slides_container').animate({'opacity':1},'slow');
});
return 1;
}
else {
leftValue = 0;
$('#banner_slider_container #banner_slides_container').stop().animate({'left':leftValue,'opacity':0.3},'slow',function() {
$('#banner_slider_container #banner_slides_container').animate({'opacity':1},'slow');
});
return 0;
}
}
i think this will help you.......
Jaison Justus
2010-07-14 11:37:47
let me try to get that timer code
Jaison Justus
2010-07-14 11:40:45
i will edit the post if i get
Jaison Justus
2010-07-14 11:41:40
+1
A:
Since 1.4 jQuery has the .delay() function u can use in animations. Perhaps that's what you need?
Peter Smeekens
2010-07-14 15:08:26
+1
A:
You'll want to use a combination of animate() and delay() to time each slide just right. Here's an example of what I recently put together using this.
harkmylord
2010-07-14 17:16:24