PDA

View Full Version : Dynamic-FX Slide-In Menu(v 6.5) will not close when mouse goes to a Iframe SSI script



jemila
08-18-2005, 01:28 PM
Well tittle says it all. my Dynamic-Fx Slide-In Menu (http://www.dynamicdrive.com/dynamicindex1/davidmenu.htm) will not close when my mouse goes striaght onto the Iframe SSI script II (http://www.dynamicdrive.com/dynamicindex17/iframessi2.htm)

This is very annoying since its the basis of how my site functions!


Further more it only happens in Firefox. In IE it works as intended. it isn't doing what is meant to when iframe gains focus. well its not in firefox. can someone tell me how to fix this.

My site isn't up for viewing sorry :) though it will be soon. To close the menu in firefox one has to move there mouse off the iframe and off the menu. which is usualy up or down of the slide out menu on the far left.

please tell me how i can fix this! :D

jscheuer1
08-18-2005, 04:44 PM
To be certain of a solution I would need to see the markup and experiment with it. However, I seem to remember something like this coming up before. In that case we created an onmouseover event for the iframe, taking advantage of code from the ssm.js that closed the menu:

<iframe onmouseover="moveBack()"></iframe>Of course the onmouseover would simply be added to the other existing iframe attributes. This may also need to be applied to the individual pages that get loaded into the iframe. If needed, it could be added to their body tags like so:

<body onmouseover="parent.moveBack()">Once again, simply adding to any existing body tag attributes.

jemila
08-19-2005, 12:30 AM
god i love you profs

yeah that worked a charm. i am confused as to why it was neccary. Firefox seemed to class the iframe as a seperate page instead as a imbedded object.

wierdness but fixed ^_^