Eve For Enterprise    Eve Support Community    Forums  Hop To Forum Categories  Eve Community  Hop To Forums  Customization Ideas    SIMPLE JS for a banner advertisment
Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Groupee Member
Picture of magnum mike
Posted
I am looking for a REAL SIMPLE javascript to run an advertisment banner on my board. I have tried 2 different scripts but neither could i get working on my board. I am not sure what i am doing wrong but they did not function at all. All i need this js to do is display a banner with a link (not a visible) that is activated by clickin on the banner. I realize that this is probably a very simple issue for most here but for some reason i havent been able to make it happpen.

Thanks in advance!
 
Posts: 103 | Registered: October 30, 2003Reply With QuoteEdit or Delete MessageReport This Post
Groupee Member
Picture of Desert Lady
Posted Hide Post
I have a simple one. Check out my board on my site and tell me if the banners work as you're looking for and then if so I'll PM my script to you.


_______________________
Desert Lady
www.nissan4wheelers.com
 
Posts: 870 | Location: Mesa, AZ USA | Registered: June 27, 2002Reply With QuoteEdit or Delete MessageReport This Post
Groupee Member
Picture of magnum mike
Posted Hide Post
HI Desert Lady!

I am looking for a script that rolls the banners, like a new one every 5 seconds or so.

You sent me the script for the one you are using and i could not get it to work. Frown

I have a script that i copied from another board but i cannot get it to "roll" with new banners for some reason. I think that there is some value that i am missing since i used the "view source" and that is just a snap shot of the script and not the whole script?? Hell, i dont know.....
 
Posts: 103 | Registered: October 30, 2003Reply With QuoteEdit or Delete MessageReport This Post
Groupee Member
Picture of magnum mike
Posted Hide Post
Here is another script that i found, cant get it to work either! Mad

<!--### START BANNER AUTO-ROTATOR CODE ###-->
<SCRIPT LANGUAGE="JAVASCRIPT" TYPE="TEXT/JAVASCRIPT">
Sponsor_Images = new Array(“banner.jpg”,”2banner.jpg”,”3banner.gif”,”4banner.GIF”)
Sponsor_URLs = new Array("www.url.com","www.url.com","www.url.com","www.url.com")
theSponsorNum = 0
BannerCount = Sponsor_Images.length
ExecuteCount = 0

function RotateBanner() {
if (document.SponsorBanner.complete) {
if (theSponsorNum != ExecuteCount) {
theSponsorNum++
}
if (theSponsorNum == BannerCount) {
theSponsorNum = 0
}
document.SponsorBanner.src = "http://atvnation.infopop.cc/images/" + Sponsor_Images[theSponsorNum]
}
setTimeout("RotateBanner()", 4 * 1000)
ExecuteCount++
}
function getSponsorURL() {
document.location.href = "http://" + Sponsor_URLs[theSponsorNum]
}
</SCRIPT>
<!--### END BANNER AUTO-ROTATOR CODE ###-->

It is running just fine on the site i copied it from.....

EDIT: I have messed with it for about 45 minutes and cant get it to work. Tried moving it in several places to see if that was the problem, still nuttin. Anyone have any advice other than give up on technology and throw my puter in the river??

This message has been edited. Last edited by: magnum mike,
 
Posts: 103 | Registered: October 30, 2003Reply With QuoteEdit or Delete MessageReport This Post
Groupee Member
Picture of Desert Lady
Posted Hide Post
Well, I can tell you that I have wanted the same thing - rotate on a second interval instead of refresh.

Michael Farris has offered to help me with that, although it's on his list of "to-do's" and he's doing it as a nice gesture, so not sure when it will be done. If y'all come up with anything before then, please share!


_______________________
Desert Lady
www.nissan4wheelers.com
 
Posts: 870 | Location: Mesa, AZ USA | Registered: June 27, 2002Reply With QuoteEdit or Delete MessageReport This Post
Groupee Member
Picture of David Saunders
Posted Hide Post
I can help here Smile Try www.xaraonline.com I use them for custom banner rotation and all sorts of cool cusomised banners, logos, headers and stuff -

Now can someone walk me through putting one static banner throughout my site??

It looks crap right now - Cheers David

www.automodo.com
 
Posts: 35 | Location: Northern California | Registered: June 15, 2004Reply With QuoteEdit or Delete MessageReport This Post
 Previous Topic | Next Topic powered by eve community  
 

Eve For Enterprise    Eve Support Community    Forums  Hop To Forum Categories  Eve Community  Hop To Forums  Customization Ideas    SIMPLE JS for a banner advertisment