Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   HTML / XHTML / CSS (http://www.programmingforums.org/forum27.html)
-   -   refresh (http://www.programmingforums.org/showthread.php?t=13382)

kishou Jun 19th, 2007 1:42 AM

refresh
 
ok wahts the code so tht when the person refreshes the page a certain image on tht page changes to a different image?

Ghost Jun 19th, 2007 2:55 AM

There are a lot of ways to 'refresh' an image, using javascript, php, asp or.... Might want to ask a better question.

Infinite Recursion Jun 19th, 2007 9:28 AM

You definitely need to elaborate on exactly what it is you are trying to do. If all you are doing is wanting a different picture each time your page loads, look into randomizing functions, arrays, etc... PHP or Javascript would be your best bet.

cheap freelancer Jun 25th, 2007 9:08 AM

have a count , do count++ on refresh and load (image+count).jpg

DaWei Jun 25th, 2007 10:31 AM

No wonder you're cheap, that's bull crap.

kishou Jun 27th, 2007 3:17 AM

Quote:

Originally Posted by DaWei (Post 129635)
No wonder you're cheap, that's bull crap.

i dont understand waht you mean?

Fourth Jun 27th, 2007 6:46 PM

Quote:

Originally Posted by kishou (Post 129689)
i dont understand waht you mean?

they will always get the same stream of images. if you want something truly unique you can use a randomizer in PHP, JS, etc as suggested.


All times are GMT -5. The time now is 2:28 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC