473,503 Members | 11,968 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Random display of 10 text / banners on a page??

If you can help me, I'd be grateful. Long story short... I am looking
for cut/paste html code (that even a dummy like me can't screw up).
Here is what I want:

I want a web page to display ten (10) different text ads and/or banner
ads on the page. However, I want the page to change the order of the
ten different ads each time it is displayed. It can either randomly
select the order OR rotate the order of the ads so that everybody gets
an equal turn at being at the top of the page. Whichever one is
easiest (i.e. random / rotation) is fine with me.

If anybody knows the html code to do this, PLEASE PLEASE let me know...
Thanks GREATLY in advance!!

Nov 23 '05 #1
2 2011
Hi,

Try searching google for something like: javascript random image
rotation

Link: http://www.google.com/search?q=javas...image+rotation

There are many freely available Javascript solutions to this problem.

Cheers,
Matt
--
EditMe - Edit your web.
http://www.editme.com

Nov 23 '05 #2
On 21 Nov 2005 15:37:28 -0800, "Matt - EditMe.com" <wi*****@gmail.com>
wrote:
Try searching google for something like: javascript random image
rotation

Link: http://www.google.com/search?q=javas...image+rotation

There are many freely available Javascript solutions to this problem.

But all the people without Javascript will always get the ads in the
same order. (Or more likely, given the quality of most Javascript on the
web, not at all. Something which I as a reader am not going to object
to, but an informed advertiser would.) If it's important to do it right,
do it server-side in something like PHP or JSP.

--
Stephen Poley

http://www.xs4all.nl/~sbpoley/webmatters/
Nov 23 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
8808
by: Jennie Friesen | last post by:
Hello-- I would like to display a different line of text (32 different messages) on refresh, BUT with no repeats. The script I am currently using is: <script language=javascript...
1
5269
by: Terry Haufler | last post by:
I am trying to swap/rotate random flash banners using the following Javascript code. I have 3 flash headers/banners. I can get it to open a page with a random header using...
0
1111
by: Lampa Dario | last post by:
I have developed this simple script that display a banner amond others in a random way. Here is the page http://www.teachingonline.it/articoli.php?IdArticolo=55 Francesco
1
4253
by: sven.daems | last post by:
Hy I want to add a sort of news service to my site. I've a number of messages, wich I want to be shown in a <marquee> tag. I've found a simple scrit that generates an random message (wich I've...
4
2736
by: tshad | last post by:
I am trying to set up an Image authorization where you type in the value that is in a picture to log on to our site. I found a program that is supposed to do it, but it doesn't seem to work. ...
10
10895
by: Joey_Stacks | last post by:
Does anyone know of a scipt that will rotate random div layers on page refresh? I have a primary content area front and center on my site homepage, and I'd like to rotate various chunks of html...
20
2476
by: thulaseeram | last post by:
Hi to All, Here i have the same image stored in the db with different id's and also exist some other images. Here i have to display banner randomly i have taken imageid's and displayed...
0
7098
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
7017
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7470
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5604
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4696
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3186
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1524
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
751
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
405
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.