I have a quick question: I have an iframe menu item (see note 1) for the dhtml menu sample,
and when I click a link in that iframe, I would like to close the menu.
You can try touse the following code to hide the menu.
<iframe src='test.php' onClick='document.getElementById(\'dm0m0\').style.visibility=\'hidden\';'
></iframe>","", , , , ,"0" , , , ],
You can also place your Iframe in DIV tag with indents.
<div style='padding: 10px;'><iframesrc='test.php'
onClick='document.getElementById(\'dm0m0\').style.visibility=\'hidden\';'></iframe></div>","", , , , ,"0" , , , ],
I've just put together a new drop down menu box for one of the sites I'm working on and whilst in IE it works fine, in FF the drop down menu box is not appearing over the Flash banner.
Can you help me sort this. A: See fix for flash in Firefox here:
To install the menuinto your html page:
1. open the page in your program
2. open html source code of the page
3. add several rows of code (<script> tags), For info see:
It is possible that your program changes some paths, so you havean error in the preview.
On your site or in your browser there'll be no errors.Q:
The popup menu gives the (first) menu of the top menu. I need of course for this to be the menu of the popup. A: Installation of your menu is not correct.
Now you have:
1) There is no need to call dmenu_popup.js file. You should delete thefollowing line:
2) Where you call source_pop.js file for Popup menu?
You should add:
3) The ID of your Popup menu is 1. Now you have ID - 0.
<img src="testimage.gif" width="200" height="200" onClick="return dm_popup(0, 9000, event);" style="cursor:hand;">
you should write:
<img src="testimage.gif" width="200" height="200" onClick="returndm_popup(1, 9000, event);" style="cursor:hand;">