
April 16th, 2005, 09:51 PM
|
|
Registered User
|
|
Join Date: Apr 2007
Posts: 22,309
Time spent in forums: < 1 sec
Reputation Power: 24
|
|
|
DHTML menu and IFRAME woes...
There may be an answer out there somewhere but I haven't been able to find it...
I'm using a DHTML drop down menu in a webpage that uses an IFRAME. It works perfectly when the content that is loaded into the IFRAME is a static HTML page (i.e. src="somepage.html"), when I try to load a page generated by using PHP (i.e. src="somepage.php") it loads correctly and the drop down menu collapses as it should. When the menu is accessed again, it drops down but doesn't collapse when the mouse pointer is moved off the menu selection until the mouse pointer is moved entirely outside the (IFRAME) loaded page.
I'm not sure if my description of the problem is a clear one or not, but my intention is to find a way to make the menu think it should collapse when the user positions the mouse pointer off the dropdown selection (IFRAME page or otherwise)... Am I just not seeing something obvious or is there additional code required for this action to occur.
I'm stumped because the menu collapses during the dynamic IFRAME load (as it should), it just doesn't happen afterward if the menu is accessed successively.
As I mentioned, I don't have this problem at all when the IFRAME is loaded with static content...
Any ideas?
|