View Full Version : pop it menu

05-05-2006, 11:33 PM
i'm trying to work with the popit menu. i wantto have a column of images, when an image is moused over, it will show an image to left and at the same beginning height. i see in the js how it determines the offset by the cursor position, i want it to determine the offset by the image that is causing the "popped" image.

so if the xy coords of the an image is 600,100, then the xy coords of the pop img would be 400,100 (or whatever is appropriate)

any help is greatly appreciated.

05-06-2006, 03:15 AM
What's the problem exactly? Use a table cell or div for that, and use the onMouseover attribute on it.

You want to change the numbers? Just look for the numbers such as 200 (the difference between 600 and 400) or whatever. Not really sure what you're asking.

Warning: Please include a link to the DD script in question in your post. See this thread (http://www.dynamicdrive.com/forums/showthread.php?t=6) for the proper posting format when asking a question.
Please post a link to the page on your site that contains the problematic script so we can check it out.

05-08-2006, 06:08 PM
this is the script i'm trying to use http://www.dynamicdrive.com/dynamicindex1/popit.htm

a link to what i'v implemented:

i want the image to show up on the left, aligned top to the logo.

also, i'll have several images in a column, actual number may vary. they will be determined from a database. so i want them aligned top respectively.

i see javascript for popit relys on the mouse position. i want the child positioning to be relative to the parent.