Recently asked on Yahoo! Answers: I have created a .gif for a webpage how do I get it to animate only when the mouse pointer is on top of it? I have created a .gif for a webpage how do I get it to animate only when the mouse pointer is on top of it? [...]
Displaying A Random Image From A Directory Via PHP, Part 2
In a recent blog post about randomly displaying an image from a directory via PHP and its built-in image and filesystem functions, I promised to expand upon the answer I had given to demonstrate some other cool filesystem tricks. It’s about time I made good on that promise. We’ll start by showing how to display [...]
Displaying A Random Image From A Directory Via PHP
Recently asked on Yahoo! Answers: How would one code a rotating image (using PHP) that can be hosted on Geocities Pro for, say, a forum? In the past, I’ve been able to host a rotating image using another method by naming a folder ‘something.png’ to fool a forum into thinking the folder is a picture [...]
Showing A Larger Image On Thumbnail MouseOver with JavaScript / DOM
A fairly common question on Yahoo! Answers centers on thumbnail image galleries, where a “master” image changes whenever you mouse over various thumbnails. Such as this one: Mouseover thumbnail in one frame changes pic in different frame in Javascript-Need Help!? {code snipped} Good: image displayed in content frame bad: image does not update to a [...]
Rotating A Banner On Schedule Via JavaScript / DOM
Recently asked on Yahoo! Answers: On my website, I want to have a banner box that slowly rotates through 8 or so pictures automatically…? No mouseover needed, the pictures will slowly swap on their own. I know this is a JavaScript, but don’t know the proper name for this function. Can anyone give me some [...]
Loading A Specific Image Sequence On Page Refresh Via JavaScript / DOM
Recently asked on Yahoo! Answers: Anyone have a Javascript that will allow me to change an image on reload in order and not by random? I basically need it to change an image when the user clicks reload. The image loaded I dont want to be on a randomizer. I found a code that will [...]
