|
|
|
|
![]() ![]() |
Jun 16 2005, 01:04 PM
Post
#1
|
|
|
Member [ Level 2 ] Group: Members Posts: 53 Joined: 29-January 05 From: Frankfurt, Germany Member No.: 2,413 |
Im looking for somethin that puts a diffrent image for each pageload/refresh. And it should be something that dosent need any super server technolgys like php and mysql and all that stuff. something that is enough just on the page and finished.
|
|
|
|
Jun 16 2005, 01:23 PM
Post
#2
|
|
|
Premium Member Group: Members Posts: 208 Joined: 6-September 04 From: England Member No.: 315 |
Here you go, with a small amount of searching in google i found this:
CODE <script language="JavaScript"> <!-- /* Random Image Link Script By Website Abstraction (http://www.wsabstract.com) and Java-scripts.net (http://www.java-scripts.net) */ function random_imglink(){ var myimages=new Array() //specify random images below. You can have as many as you wish myimages[1]="1.png" myimages[2]="2.png" myimages[3]="3.png" var ry=Math.floor(Math.random()*myimages.length) if (ry==0) ry=1 document.write('<img src="'+myimages[ry]+'" border=0>') } random_imglink() //--> </script> Source: http://www.java-scripts.net/javascripts/Ra...ge-Script.phtml It uses Javascript so it can be used on every single webpage imaginable, as long as the user has Javascript Enabled |
|
|
|
Jun 17 2005, 09:44 PM
Post
#3
|
|
|
Member [ Level 2 ] Group: Members Posts: 53 Joined: 29-January 05 From: Frankfurt, Germany Member No.: 2,413 |
ok thanks man. that was exactly what im looking for. its seems easy to use and expand.
|
|
|
|
Jun 20 2005, 06:54 AM
Post
#4
|
|
|
[+] Graphic Designer [+] Group: Members Posts: 614 Joined: 6-April 05 From: Croatia Member No.: 3,666 |
But you can do exact thing in PGP, why not? I must say Im really not very good at PHP, but implementing an PHP script is simple as installing an aplication on your PC.
|
|
|
|
Jun 20 2005, 03:54 PM
Post
#5
|
|
|
Member [ Level 2 ] Group: Members Posts: 53 Joined: 29-January 05 From: Frankfurt, Germany Member No.: 2,413 |
QUOTE(finaldesign @ Jun 20 2005, 05:54 AM) But you can do exact thing in PGP, why not? I must say Im really not very good at PHP, but implementing an PHP script is simple as installing an aplication on your PC. yeah i know that it would have been easyer to impliment an php script but the server i was using at the time didnt support php so that was out. but greatfully i now got hosted by astahost and can use php. hahaha. |
|
|
|
Apr 17 2008, 08:07 PM
Post
#6
|
|
|
Newbie [ Level 1 ] Group: Members Posts: 0 Joined: 1-November 07 Member No.: 25,869 |
Rotate links to the images?
Random Images On Eacht Pageload And Refresh. Replying to overture I need a script like this only plus individual links to each image, how would one go about that? -question by Tristan |
|
|
|
May 7 2008, 03:34 PM
Post
#7
|
|
|
Newbie [ Level 1 ] Group: Members Posts: 0 Joined: 1-November 07 Member No.: 25,869 |
but how to make it launch in a popup window...?
Random Images On Eacht Pageload And Refresh. With window dimensions, toolbar, statusbar, and other settings specified in the random image generator script? I'm not having any luck on my end. Thanks in advance for any help. -question by anne |
|
|
|
![]() ![]() |
Similar Topics
|
Lo-Fi Version | Time is now: 20th July 2008 - 07:40 AM |