• Hey, guest user. Hope you're enjoying NeoGAF! Have you considered registering for an account? Come join us and add your take to the daily discourse.

html question

Status
Not open for further replies.

element

Member
ok so i have something like 12 images on a page. I want to make it so you mouse over an image and a popup will appear with a larger and full size version of the image. I thought it was a DHTML command, but I'm having a difficult time finding it.

Anyone have any idea how to do this or what I'm talking about?
 
Something like this (note this syntax is likely not perfect):

<img src="picture.jpg" onmouseover="javascript:window.open('page.html', '_blank', 'height=100,width=100,location=no,menubar=no,toolbar=no',true)" />

That should give you a 100x100 sized pop-up, no menubars.

MSDN has the complete list of options for the window.open method.
 
Status
Not open for further replies.
Top Bottom