Eve Support Community
Forums
Eve Community
Customization Ideas
SIMPLE JS for a banner advertisment|
Go
![]() |
New
![]() |
Find
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
Groupee Member![]() |
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! |
||
|
Groupee Member![]() |
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.
|
|||
|
Groupee Member![]() |
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. 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..... |
|||
|
Groupee Member![]() |
Here is another script that i found, cant get it to work either!
<!--### 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, |
|||
|
Groupee Member![]() |
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! |
|||
|
|
Groupee Member |
I can help here
Now can someone walk me through putting one static banner throughout my site?? It looks crap right now - Cheers David www.automodo.com |
|||
|
| Previous Topic | Next Topic | powered by eve community |
| Please Wait. Your request is being processed... |
|
Eve Support Community
Forums
Eve Community
Customization Ideas
SIMPLE JS for a banner advertisment
