Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

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>


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&nbsp;&nbsp;<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]


Poster: John
Dated: Thursday September 1 2005 - 14:50:27 BST

Please post your menu_data file also.


Poster: dhnriverside
Dated: Friday September 2 2005 - 7:46:27 BST

Hi John

Fixed this - the problem was in the menu_data file :o)

Thanks for the reply


Poster: Ruth
Dated: Friday September 2 2005 - 12:16:26 BST

Hi dh,

Glad you got it fixed. Could you post what was causing it and the fix, if you wouldn't mind? That's just in case anyone else has the same problem they could find the answer here if they did a search?

Ruth