With a little fiddling, you could place it inside the image tag however, the code as generated by the pop-up script would be used like so:
Code:
<a href="http://www.google.com" onclick="NewWindow(this.href,'mywin','800','200','no','center');return false" onfocus="this.blur()"><img src="some.jpg"></a>
Tinkering to eliminate the need for the anchor tag, it would be used like so:
Code:
<img src="some.jpg" onclick="NewWindow('http://www.google.com','mywin','800','200','no','center')" onfocus="this.blur()">
However, simplifying things in this manner will make it so the cursor is an arrow instead of the familiar pointing finger we all associate with links. There are several ways this can be worked around but none, that is free of potential complications, is much simpler than using the anchor tag to begin with.
The speed is controlled using the maxspeed variable near the top of the motiongallery.js external file.
Bookmarks