| | 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. |
| Astahost.com | Mar 22, 2010 |
Please help me out how to put a different image for each pageload/refresh using phpQUOTE (sxyloverboy @ Jun 16 2005, 01:04 PM) 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....
read more.
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
ok thanks man. that was exactly what im looking for. its seems easy to use and expand.
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.
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.
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
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
what code to I need to inser/replace
Random Images On Eacht Pageload And Refresh. With what word do I need to replace 'randomimage' with if I want just a straight slide show with the images in numerical order? Thanks for any help! christian -question by Christian Harkness
Thanks for the script
Random Images On Eacht Pageload And Refresh.
Thanks a lot. This is great. I look for this so many times. Thanks www.My-dream-day.Com
How to display the text content on random image?
Random Images On Eacht Pageload And Refresh. Ramdom image displaying is good... Here I need to display some amount of text on these image... These image should come center of the browser... If possible anybody let me know... Advance thanks.. -question by CoolboyLatest Entries
Please help me out how to put a different image for each pageload/refresh using php
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.
Similar Topics
Keywords : random, images, eacht, pageload, refresh, plain, htlm, javascript
(0) Hello, I am building a form where a user selections several options (it uses javascript to modify is there one? (3) im working on a new design for my website but i need to be able to have transparent pngs. its all title kinda says it all (9) ok, i plan to make a game, and i was wondering if i can make my webpage in javascript, i just need some fine-tuning (3) Searching before posting my topic, i found this very helpful post. Javascript show + hide javascript and flah chat , guestbook, photo album and other (4) Post here some links where u can download flash or javascript chat , guestbook, photoalbum, forum how to rotate images with links in a sequence automatically without ha (0) hai this is my first post and i really hope someone finds it useful. i was looking for this trick (1) Is there any place that i can get javascript from to use on my web page? Also are there any with just html/css and maybe javascript? (2) I was just wondering if it's possible to retrieve text (and maybe images) from a .html or .txt is it possible with css/javascript (2) Ok, I got an question: I want to make a site with a news box or something similar. It's gonna be Help needed (6) i try to make a site and i know html but i don't understand php, can somebody post some (4) Here's the code I'm using for my javascript link I decided to add to a website I'm (1) Hi, Im trying to find out how to fade in scaled down images when the user holds the mouse over the (7) I really need a free, cool and easy-to-integrate JAVASCRIPT menu builder for my new site. I mean Site looks OK when previed on computer (7) First attempt to publish the site didn't work to good. /sad.gif" style="vertical-align:middle" Do you use javascript in your page ? (20) Hi , I begin to use Javascript recently. I understand very well and I'm already able to make (1) to begin a javascript template, you will need to begin with this code.... Untitled (0) to begin a dynamic ASP Javascript you will need to begin with this code..... Untitled No scripts - just a small trick (5) Offen happens to see your images used in someone's website. Here is a little trick how protect Looking for random, images, eacht, pageload, refresh, plain, htlm, javascript
|
![]() Random Images On Eacht Pageload And Refresh. - best in plain htlm or javascript |
Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com