PDA

View Full Version : DHTML tooltip script popup position



WcDes09
09-08-2012, 03:10 AM
1) Script Title: DHTML tooltip script

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex5/dhtmltooltip.htm

3) Describe problem:

We have made several modifications to this script and everything works fine, except a problem positioning the popup. I can't contact the person who did these modifications and I'm not experienced in JavaScript. I appreciate if someone can help me with this error.

There are two issues in the popup position.

Issue 1.- Occurs only in IE+6 when I mouse over a product from a row and next I mouse over a product from another row, except if I do this with the products at the right side.

Issue 2.- This issue occurs slightly different in IE+6 from the rest of browsers and it happens when the popup height is different for each product in the same row.

With IE+6; if I mouse over from left to right, popups open correctly, however, from right to left, the popups with higher height blink trying to open in a wrong position.

With Chrome, Firefox, Opera and others; the popups with higher height do not open correctly in any way I navigate.

The site can be seen on the development server here:

http://www.apadirect.com/code12/index.php?cPath=41_57

I have created a video with details about these two issues. It is located here: http://www.apadirect.com/code12/download/navigating.mp4

Please note that part of the modifications was creating two events for the popup. Event one open the popup when hover the quick view button, and close when mouse out. Event two keep the popup open if the quick view button is clicked instead of mouse over and then it close when the close button is clicked. So far the click event is ok.

Also a jquery code was put inside the popup to bring a image gallery and I have verified it is not causing conflict. I have removed it completely and the issues are still present.

Thank you in advance.