Gee Twey, that was really helpful. I know that the broken link you are referring to is the one to the script on DD at the top of the post before yours but, 3pack might take your response as advice. Anyways, in addition to that minor problem, 3pack, your markup won't do anything in the way of adding a caption because no value is given for the attribute 'name'. It is also a little unclear what you are trying to do. I think you are trying to add an onmouseover event to the large version of the image but, cannot be certain of this from your post. A way to do that, would be to use the id of the image or its containing element (which in this script would be 'dynloadarea'):
Code:
document.getElementById('dynloadarea').onmouseover=function(){
put code line(s) here
}
Where this code belongs is someplace that it will get executed when the associated image loads. This may require altering the basic script. If this pops up a menu, as I think you intend it to, best to add an onmouseout event too, that will hide the menu but, it gets more complicated with pop ups like that because just as soon you mouseover the pop up menu, you are mousing out of the image. So, other measures should be used to cancel the pop up, like on load of a new image coupled with mouseout of the pop up. Before I go too far on that, is this what you are trying to do?
Bookmarks