Get a free trial // Grow your CSS skills // Land your dream job

Image change on load

  • # March 27, 2009 at 8:58 pm

    I have a smiley on a page. When you go to the page, I want that smiley’s image source to change.
    I’m a noob at javascript, but I was thinking something like this:

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed