Iam creating a simple website.
At the top of the page, i want to place a dynamic banner.
I'm trying to do it with JQuery.
The banner image needs to keep changing.
e.g: when page url is typed, image1 is displayed.Then, after a few milliseconds, image 2 is displayed and so on.
The Problem is, i don't know how to make it happen.Because, there is no click event associated with it.It has to start changing automatically on page load.
I created the following code and placed it at the top of the page, even before the header.But it's not working.
Also, i'm trying to create infinite loop.Hence, the $(this).rotateBanner(); call at the end.
Because, its a banner.
The Banner is made up of 7 images.
Every few milliseconds, the banner has to change.
And it has to keep changing as long as the page is displayed.
So far, the jQuery Cycle Plugin looks good.But one big problem....I can't control the delay between images.
santoshkumar savadatti wrote:Every few milliseconds, the banner has to change.
milliseconds? You need to give people the time to read the banner, no?
Joined: Apr 27, 2010
Well, those images constitute one message.
For e.g, consider this line: "No Matter Who You Ar or What You Do.Please Don't Try this at Home!"
In My Banner the message is displayed as different images:
image 1: "No Matter Who You Are"
image 2:"No Matter What you do"
image 3 onwards, Large Bold Font
image6: At Home
image7(small font):Please Don't try This at Home.
this was an example.
when I'm done, I'll post link to my website.