Swapping images dynamically

In response to a question from Yahoo! Answers, here’s a little JavaScript snippet that dynamically (and randomly) swaps images:

For those who want to see how it works, here’s an HTML file with relevant code.

This entry was posted in Answers, Technology. Bookmark the permalink.

One Response to Swapping images dynamically

  1. alex alex says:

    hi.
    i tried the script.
    i tried your include method.
    my javacript still doesn`t run in wordpress, and i`m on self host
    any ideeas?
    please help

Leave a Reply

Your email address will not be published. Required fields are marked *