Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - looking for a free asp banner script
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

looking for a free asp banner script

 Post Reply Post Reply Page  12>
Author
prigozu View Drop Down
Newbie
Newbie
Avatar

Joined: 09 January 2003
Location: United States
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote prigozu Quote  Post ReplyReply Direct Link To This Post Topic: looking for a free asp banner script
    Posted: 30 March 2003 at 2:29pm

Hi guys,

I am looking for a free asp banner rotator script that suppports jpeg, gif and flash, can anybody help me please.

Thank you

Back to Top
Gullanian View Drop Down
Senior Member
Senior Member
Avatar

Joined: 04 January 2002
Location: England
Status: Offline
Points: 4373
Post Options Post Options   Thanks (0) Thanks(0)   Quote Gullanian Quote  Post ReplyReply Direct Link To This Post Posted: 30 March 2003 at 3:22pm

thats a pretty easy script to make yourself if you hardcode the images and address

anyway, heres a javascript for you

<SCRIPT LANGUAGE="JavaScript">
function random_banner(){
  var i=0;
  banners = new Array();
  banners[0] = '<IMG SRC="banner0.gif" WIDTH=400 HEIGHT=40>';
  banners[1] = '<IMG SRC="banner1.gif" WIDTH=400 HEIGHT=40>';
  banners[2] = '<IMG SRC="banner2.gif" WIDTH=400 HEIGHT=40>';
  today = new Date();
  i=today.getSeconds();
  n=banners.length;
  return banners[i-Math.round((i-1)/n)*n];
}
</SCRIPT>

<SCRIPT LANGUAGE="JavaScript">
document.write(random_banner())
</SCRIPT>

in the array above just add the banners you want

Back to Top
prigozu View Drop Down
Newbie
Newbie
Avatar

Joined: 09 January 2003
Location: United States
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote prigozu Quote  Post ReplyReply Direct Link To This Post Posted: 30 March 2003 at 3:29pm

thanks for your help, but i am still a little confuse, where should i put the link for example and am i going to be able to use jpg, gif and flash banner all together on this script.

Back to Top
Gullanian View Drop Down
Senior Member
Senior Member
Avatar

Joined: 04 January 2002
Location: England
Status: Offline
Points: 4373
Post Options Post Options   Thanks (0) Thanks(0)   Quote Gullanian Quote  Post ReplyReply Direct Link To This Post Posted: 31 March 2003 at 12:55am
banners[0] = '<a href="yoursite.com"><IMG SRC="banner0.gif" WIDTH=400 HEIGHT=40></a>';
Back to Top
prigozu View Drop Down
Newbie
Newbie
Avatar

Joined: 09 January 2003
Location: United States
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote prigozu Quote  Post ReplyReply Direct Link To This Post Posted: 01 April 2003 at 8:51am

For some reason i am getting error on the page, I might be doing something wrong but anyways by any chance do you have an asp script.

Back to Top
michael View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 April 2002
Location: United States
Status: Offline
Points: 4670
Post Options Post Options   Thanks (0) Thanks(0)   Quote michael Quote  Post ReplyReply Direct Link To This Post Posted: 01 April 2003 at 10:38am
asp has a built in banner rotator. did you look at that. one example you find here
Back to Top
prigozu View Drop Down
Newbie
Newbie
Avatar

Joined: 09 January 2003
Location: United States
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote prigozu Quote  Post ReplyReply Direct Link To This Post Posted: 01 April 2003 at 12:47pm
does it support flash (swf) banners?
Back to Top
michael View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 April 2002
Location: United States
Status: Offline
Points: 4670
Post Options Post Options   Thanks (0) Thanks(0)   Quote michael Quote  Post ReplyReply Direct Link To This Post Posted: 01 April 2003 at 1:05pm
don't know. play around with it.
Back to Top
 Post Reply Post Reply Page  12>

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.