[Banner] -



Banner

Discuss Banner



Posted by: windowsrival

Is there any way that I could combine these options

THAT HAVE TO DO WITH BANNER AD's
Automatically refresh image or gif animation
New image or gif animation with every page load

as similar shown on this site generator

[URL=http://www.htmlbasix.com/banner.shtml]http://www.htmlbasix.com/banner.shtml[/URL]



Posted by: Death Row

I don't understand what you're saying. you want to do that with images? that website which YOU gave the url for let you do just that.



Posted by: windowsrival

The Banner Rotater Only Gives You The "Same First Image" Every Page Load But, "Refresh's To The Next Image".

The Banner Randomizer Gives You A "Different Image" Every Page Load However, "Does Not Rotate To The Next Image".

This is what I mean't by combining "both" features.

What I'm Saying Is I Want A "Image That Randomizes @ Every Page Load" + "Timed Rotates To Next Available Image".



Posted by: Elbatrop1

I know that Calzinger has a sig that changes everytime you refresh the page. Perhaps a PM towards him might get you some answers.



Posted by: Death Row

Ok sorry about that i was pretty confused though lol anyway i've got what you're looking for. but first let me just tell you im not a script writer i found this code on a webpage ([url]http://www.cgiscript.net/cgi-script/csNews/csNews.cgi?database=js_random_items%2edb&command=viewone&op=r&id=40&rnd=402.1230395883322[/url]) and have tampered with it to make the code shorter and remove the hyperlinks and the bits that aren't needed so if there are problems well i cant really help.

<SCRIPT LANGUAGE="Javascript"><!--

// ***********************************************
// AUTHOR: [url]WWW.CGISCRIPT.NET,[/url] LLC
// URL: [url]http://www.cgiscript.net[/url]
// Use the script, just leave this message intact.
// Download your FREE CGI/Perl Scripts today!
// ( [url]http://www.cgiscript.net/scripts.htm[/url] )
// ***********************************************

function banner() {
};

banner = new banner();
number = 0;

// bannerArray
banner[number++] = "<img src='Image url here'</a>"
banner[number++] = "<img src='Image url here'</a>"
banner[number++] = "<img src='Image url here'</a>"
banner[number++] = "<img src='Image url here'</a>"
banner[number++] = "<img src='Image url here'</a>"
// keep adding items here...

increment = Math.floor(Math.random() * number);

document.write(banner[increment]);