Replace an image with a Quicktime movie using jQuery

Include jquery with in the head of the page (get it here) http://jquery.com

Then create 2 divs like this:

<div id="image">
<img id="myImage" src="images/fpo.jpg" width="200" height="200" />
</div>
<div id="qt" style="display:none;" >
<embed src="something.mov" height="200" width="200" autostart="true" ></embed>
</div>

Now Put this script within the head of the page.

<script type="text/javascript">


Leave a Reply