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.

1 thought on “Swapping images dynamically

  1. alex alex

    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 *