SitePoint Sponsor |
|
User Tag List
Results 1 to 15 of 15
-
Apr 1, 2007, 11:55 #1
- Join Date
- Feb 2007
- Location
- I'm right Here!
- Posts
- 707
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Is JS best for ad banner rotation?
I'm in need of a good, reliable ad banner rotation setup where I can add/delete banners (and their links) remotely because I'm going to use it on over 100 web pages.
My question is: is java script the best way to go?
If so, can anyone provide me with a link to a good script I can try?
I don't need to track how many clicks, so a simple script would work fine.
-
Apr 2, 2007, 06:30 #2
- Join Date
- Sep 2005
- Location
- Tanzania
- Posts
- 4,662
- Mentioned
- 2 Post(s)
- Tagged
- 0 Thread(s)
Javascript is THE way. You can't rotate them after the page has loaded without javascript. Someone asked pretty much the same last week on another thread that I replied to. You basically need to look into javascripts setInterval() method. I posted some code for it, so you might want to find that thread.
Since you're going to use this on so many pages, it might be worth writing a script on the server side that serves the correct javascript array of images you want to rotate based on what page the banner will be on.
-
Apr 2, 2007, 07:12 #3
- Join Date
- Feb 2007
- Location
- I'm right Here!
- Posts
- 707
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
I don't write scripts. I just copy and paste them and then change only what's needed so they will work on my site.
That's why I posted so I can FIND a good script to use.
-
Apr 2, 2007, 07:31 #4
- Join Date
- Jan 2005
- Location
- Too far up north
- Posts
- 1,566
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Sounds more like you are expecting other to find it for you. Try google.
-
Apr 2, 2007, 08:01 #5
- Join Date
- Sep 2005
- Location
- Tanzania
- Posts
- 4,662
- Mentioned
- 2 Post(s)
- Tagged
- 0 Thread(s)
Well, you should be able to FIND the script based on the information I gave you, setInterval specifically. And like I said, I replied to a thread last week where I posted some code that works. In this javascript forum. You should be able to find it.
-
Apr 2, 2007, 18:24 #6
-
Apr 2, 2007, 18:49 #7
- Join Date
- Sep 2005
- Location
- Tanzania
- Posts
- 4,662
- Mentioned
- 2 Post(s)
- Tagged
- 0 Thread(s)
That's odd. It's on the second page of this forum. The title includes the words "banner" and "rotation".
http://www.sitepoint.com/forums/showthread.php?t=468809
-
Apr 2, 2007, 18:59 #8
- Join Date
- Feb 2007
- Location
- I'm right Here!
- Posts
- 707
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
That's not going to work for me
-
Apr 2, 2007, 19:26 #9
- Join Date
- Sep 2005
- Location
- Tanzania
- Posts
- 4,662
- Mentioned
- 2 Post(s)
- Tagged
- 0 Thread(s)
That's why I wrote the second paragraph in my first post. How do you intend to do whatever it is you want to do "remotely"?
-
Apr 2, 2007, 19:33 #10
- Join Date
- Feb 2007
- Location
- I'm right Here!
- Posts
- 707
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Alrighty, thanks anyway
-
Apr 4, 2007, 19:59 #11
- Join Date
- Feb 2007
- Location
- I'm right Here!
- Posts
- 707
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Does anyone know of any other forums where one might get some recommendations?
-
Apr 4, 2007, 20:37 #12
- Join Date
- Nov 2002
- Location
- Montréal, Canada
- Posts
- 375
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
You seem to know what you want, have you done some thorough searching?
This is a very simple type of script, so don't expect everyone to have suggestions on what to use. Many probably write their own.
-
Apr 5, 2007, 07:42 #13
- Join Date
- Feb 2007
- Location
- I'm right Here!
- Posts
- 707
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Looks like I need to find another forum where folks are willing to help.
Thanks anyway.
-
Apr 5, 2007, 07:49 #14
- Join Date
- Nov 2002
- Location
- Montréal, Canada
- Posts
- 375
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
-
Apr 21, 2007, 19:38 #15
Bookmarks