PDA

View Full Version : Banner Script


danielson
Fri 7th Sep '01, 4:16pm
Howdy...
I am looking for a simple banner rotation script that only rotates banners... I have no need to sell banners but would like to use a simple script to change what I have with every re-load of a page where I like to have banners placed...
THANKS in advance !!!

Chen
Sat 8th Sep '01, 12:05pm
HotScripts.com (http://www.hotscripts.com) is your friend. :)

Look here (http://www.hotscripts.com/JavaScript/Scripts_and_Programs/Banner_Rotation), there are tons of scripts like that you can use. :)

express
Sat 8th Sep '01, 12:06pm
Use this change the word blank with the word new for a new window. Replace the url with your path, and replace img src path with yours.






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

// ***********************************************
// AUTHOR: <a href="http://WWW.CGISCRIPT.NET," target="_blank">WWW.CGISCRIPT.NET,</a> LLC
// URL: <a href="http://www.cgiscript.net" target="_blank">http://www.cgiscript.net</a>
// Use the script, just leave this message intact.
// Download your FREE CGI/Perl Scripts today!
// ( <a href="http://www.cgiscript.net/scripts.htm" target="_blank">http://www.cgiscript.net/scripts.htm</a> )
// ***********************************************

function banner() {
};

banner = new banner();
number = 0;

// bannerArray
banner[number++] = "<a href='http://www.url1.com' target='_blank'><img src='images/banner-1.gif' border='0'></a>"
banner[number++] = "<a href='http://www.url2.com' target='_blank'><img src='images/banner-2.gif' border='0'></a>"
banner[number++] = "<a href='http://www.url3.com' target='_blank'><img src='images/banner-3.gif' border='0'></a>"
banner[number++] = "<a href='http://www.url4.com' target='_blank'><img src='images/banner-4.gif' border='0'></a>"
banner[number++] = "<a href='http://www.url5.com' target='_blank'><img src='images/banner-5.gif' border='0'></a>"
// keep adding items here...

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

document.write(banner[increment]);

//--></SCRIPT>




Make frames on your page put the above script and the info below together in the same frame you want the banners to rotate in.

Enjoy

here is your refresh thing.

http://www.net-sites.com/sitebuilde...pts/script6.asp


Q. How do I "redirect" a user to another page?

A.

You can use the following method to redirect a user to another page on YOUR site, another site or simply to refresh the current page. This is accomplished using the META tags.

There are two methods:

Switch to HTML View.

in the section of your code, put:




<meta http-equiv="Refresh" content="4; url=nextpage.htm"> or
<meta http-equiv="Refresh" content="4; url=http://www.xyz.com/">

content = is the number of seconds to wait before redirecting the page.
url = is the page you want to send the user to. If you just want to refresh the page they're on, put in that page's name here.


In FrontPage:

Choose Format | Background and choose the Custom tab. In the System Variables Dialog, choose Add.

In the Name field type Refresh

and in the Value window type 4; url=nextpage.htm (note: do NOT use quotes.)

mjames
Sun 9th Sep '01, 4:53pm
OrbitCycle.com is a good remote solution.

Michael2
Sun 7th Oct '01, 5:35am
I use phpAdsNew at http://www.veggieboards.com. It's not real pretty (from an administration standpoint) but it works great and it's free. I'm not sure what their url is but I know you can find it on the HotScripts url that was posted above.

I didn't actually install it myself so I don't know how difficult/easy the installation process is.

eva2000
Sun 7th Oct '01, 5:38am
i use phpadsnew 2.x

www.sourceforge.net/projects/phpadsnew/

serving 260,000 banner impressions/day no probs :)

EF91CRX
Sun 16th Oct '05, 9:33pm
Well, I've been looking for something like this for AWHILE for 3.5.0, more something thats customizable through the admincp, and this works pretty well. Thanks

SUJAL
Wed 19th Oct '05, 8:54am
from where can i download the vbulletin 3.5

Reeve of Shinra
Wed 19th Oct '05, 11:33am
You can download it from the members area after purchasing the software.