Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:33
_pp has no properties!
Poster: dhnriverside
Dated: Thursday September 1 2005 - 8:47:59 BST
Hi
Trying to get a menu to work, I took Ruth's solution and switched from ContextMenu to PopupMenu sample.
I've installed everything, but when I get I run my app and click the designated button, I get a "_pp has no properties" error in firefox and a "_pp.0 is null or not an object" error in IE (7).
I've added the code to this message - sorry, as I said before it's an intranet app, so can't give a url!
Here's the code in my HEAD tag...
Code:
<script type="text/javascript" src="js/milonic_src.js"></script>
<div class=milonic><a href="http://www.milonic.com/">JavaScript Menu, DHTML Menu Powered By Milonic</a></div>
<script type="text/javascript">
if(ns4)_d.write("<scr"+"ipt type=text/javascript src=js/mmenuns4.js><\/scr"+"ipt>");
else _d.write("<scr"+"ipt type=text/javascript src=js/mmenudom.js><\/scr"+"ipt>");
</script>
<script type="text/javascript" src="js/menu_data.js"></script>
<div class=milonic><a href="http://www.milonic.com/">JavaScript Menu, DHTML Menu Powered By Milonic</a></div>
<script type="text/javascript">
if(ns4)_d.write("<scr"+"ipt type=text/javascript src=js/mmenuns4.js><\/scr"+"ipt>");
else _d.write("<scr"+"ipt type=text/javascript src=js/mmenudom.js><\/scr"+"ipt>");
</script>
<script type="text/javascript" src="js/menu_data.js"></script>
and my code to activate the menu...
Code:
<div id="feedback">
<table width="95" class="normal" onmouseover="this.className = 'rollover';" onclick="popup('feedbackMenu','fbm')" onmouseout="this.className = 'normal'; popdown()">
<tr>
<td valign="middle"><FONT size="1" face="Tahoma,Geneva" color="blue">Send Feedback <img align="top" src="images/feedbackarrow.gif" border="0"></FONT></td>
</tr>
</table>
</div>
<table width="95" class="normal" onmouseover="this.className = 'rollover';" onclick="popup('feedbackMenu','fbm')" onmouseout="this.className = 'normal'; popdown()">
<tr>
<td valign="middle"><FONT size="1" face="Tahoma,Geneva" color="blue">Send Feedback <img align="top" src="images/feedbackarrow.gif" border="0"></FONT></td>
</tr>
</table>
</div>
I think I've got everything - the only thing I'm unsure of is the second property on Popup() "fbm".
Any help appreciated
Cheers
Dan[/code]