Sue Stephen
07-05-2004, 07:35 PM
Hi,
I am developing a web page using frameset (IE 6 sp1).
pagent page:
-------------------
<frameset cols="*,*" frameborder="NO" border="0" framespacing="0">
<frame src="page1.htm" name="leftFrame" >
<frame src="page2.html" name="mainFrame">
</frameset>
-------------------
On page1.htm, I need to show a customized menu instead of the default one when a use right click a link on the page.
page1.htm:
-----------
<a href = "some url" onmouseup = "some show menu function" oncontextmenu="return false;">path3</a>
------------
The code above successfully shows the customized menu by itself if I go to page1.htm.
However, when I go to the parent page, the default menu still shows on top of the customized menu.
I have tried to insert code like "document.oncontextmenu=function(){return false}" in the parent page but it does not work.
Could anyone give some suggestions? Thank you for your help.
Sue
I am developing a web page using frameset (IE 6 sp1).
pagent page:
-------------------
<frameset cols="*,*" frameborder="NO" border="0" framespacing="0">
<frame src="page1.htm" name="leftFrame" >
<frame src="page2.html" name="mainFrame">
</frameset>
-------------------
On page1.htm, I need to show a customized menu instead of the default one when a use right click a link on the page.
page1.htm:
-----------
<a href = "some url" onmouseup = "some show menu function" oncontextmenu="return false;">path3</a>
------------
The code above successfully shows the customized menu by itself if I go to page1.htm.
However, when I go to the parent page, the default menu still shows on top of the customized menu.
I have tried to insert code like "document.oncontextmenu=function(){return false}" in the parent page but it does not work.
Could anyone give some suggestions? Thank you for your help.
Sue