Anyone know a script for doing this?

Status
Not open for further replies.

venrooy

Hasalarge Member
Sep 10, 2007
50
1
0
I need a script that will hide - or not show an image until the page is refreshed. When the refresh button on the browser is hit - the picture appears.


I've seen it done, but the script was hidden. Does anyone know how to do this?

Thanks.
 


I think you could either use a GET/POST var, or session data (set a session var on that page)
 
Set a cookie on the first page load - then set the image to only show if the cookie exists. Pretty easy stuff with php.
 
Set a cookie on the first page load - then set the image to only show if the cookie exists. Pretty easy stuff with php.

I'm a scriptard right now - still learning. But I did find a script that does what you've said and it works fine.

Thanks.
 
Status
Not open for further replies.