Ok I need a script for awesomeproxies.com so that the list is shuffled everytime its visited, so each site gets a turn at the top and bottom. I've found lots of scripts where it displays random text, but that's one link OR the other, not all of them! If you need an example because I am unclear, go to proxy.org and refresh the page... The list on the right is reshuffled... kind of the same concept, except mines not in a box its the page! Hope thats clear If you have anymore questions ask, I'll pay for a script that does this, because its not fair on those who paid links for some of them to be at the bottom and others be at the top and get more traffic
Here is a couple of solutions for you buddy. To show several different banners use my custom random script below co-written by Cyb. http://www.phpRaven.com/random.zip Now put all of your banners in the "images" folder and instead of calling your "banner.jpg" change for "random.php" and it will call up all randomly all of the images in the images folder. But what I think you are asking for is a random banner generator. Here is the code: <SCRIPT> <!-- written by The Omega // put info for randomly selected banners here, as in the examples // where banner1 is the image of the banner // link is the link to the advertiser // alt and text is the extra text you place in your banners gfx0="banner1.gif"; lnk0="advertiser1link.html"; alt0="Alt code 1"; txt0="Tagline 1"; gfx1="banner2.gif"; lnk1="advertiser2link.html"; alt1="Alt code 2"; txt1="Tagline 2"; gfx2="banner3.gif"; lnk2="advertiser3link.html"; alt2="Alt code 3"; txt2="Tagline 3"; len=3; // Please change this number so that it equal number of banners you are displaying. today=new Date(); today=today.getTime()/10; rnd=today%len; document.writeln('<A HREF="'+eval("lnk"+rnd)+'"><IMG SRC="'+eval("gfx"+rnd)+'" ALT="'+eval("alt"+rnd)+'"><BR>'+eval("txt"+rnd)+'</A>'); //--> </SCRIPT> Code (markup): Hope this helps and you.
Thanks EjRaven, but I'm after text, not a banner shuffler If you look at the page, there are a huge list of sites. What I want is that everytime someone visits the page, those sites are arranged in random order.
That would work also Colbyt Either way - it just has to be displayed so every site has a fairly equal amount of time at the top & bottom
Equal number of pageviews is possible. How are your links stored now? In a DB? mysql? flat file? Page is static? How do they get added? by user? by you? What do you think of a max number of links? None?
It's just a static html with links I manually update the page I don't want a mysql database because of hosting restrictions No max number of links, I control this myself manually anyway
You can also rotate text using some of the basics given by EjRaven, whether using javascript, cgi or php: www.teca-scripts.com/free/randex.php www.oziz.co.uk/scripts/php_random.php www.scriptarchive.com/rand_text.html www.webdevelopersnotes.com/tutorials/javascript/random_text_display_using_javascript.php3 www.irt.org/articles/js017/index.htm just to list a few.
Yes but I've had some buyers complain they pay $5, get great traffic, and then 10 more people buy and they get little to none, even though they pay the same as everyone else I need this to make it fair for everyone I'm going to checkout the sites Pat suggested and see if they have something EDIT: I think the first one has what I'm looking for, but I'm not quite sure. If somebody could take a look and help me out it would be great YET ANOTHER EDIT: I think it does what I want (the first one), but the only problem is that I have to store each variation the way I want it to appear. That also means that if I add 1 site, I have to put it in 5 or so times for each random place! I'll use this script if I absolutely must, however I am still looking for one which shuffles EDIT 3: If the above doesn't make sense, think of it like this. I have site A,B,C. In the text file, I have to write: A,B,C [BREAK] B,C,A [BREAK] C,B,A [BREAK]. When you have over 20 sites listed, not only will it take ages to make, it will also be a pain to add 1 extra site and also take a hell of a long time to load!
My terms is $5 for a listing, that's all I want. I need a script to do what I have mentioned in previous posts
Rochow you need to delete some messages. I can't PM you. Mailbox is full. I will PM you the information some time on Monday about the script.