|
-
Anyone knows a HTML code for banner rotation?
I know there is some sort of code to rotate as many banners as you'd like but I haven't been lucky enough to find one as I am new at HTML.
ANy suggestions?
-
Your banner file names should be in an array, and then use Javascript to load them dynamically. The easy way is to do them in order, calling them randomly could be more confusing when you write the code but it's doable.
An Ajax call summons the right file, and just load it into the <div> where the banners appear. jQuery makes this simple 
If you're trying to do some kind of swooping effect, jquery makes it stupid simple as well.
Code:
if(dreams&&hard_work&&sacrifice) {
prosperity++;
wisdom++;
$++;
}
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|