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:13

Problems in Mozilla 1.5 - _pp has no properties


Poster: lchin
Dated: Wednesday August 25 2004 - 16:57:26 BST

My menu seems to be working OK in Internet Explorer. I have the website stored locally.

When I try to mouseover one of the menus, I get this error:

_pp has no properties

This error occurs in mmenudom.js

Any ideas why this might be occurring?

Thanks!


Poster: John
Dated: Wednesday August 25 2004 - 19:53:05 BST

We're probably going to need to see it. Any chance you can get it posted somewhere?

OK, I posted the menu here..


Poster: lchin
Dated: Wednesday August 25 2004 - 21:39:35 BST

http://www.bittersweetgirl.com/t1/IDRom/test.html


Poster: Andy
Dated: Thursday August 26 2004 - 13:25:40 BST

Hi,

You need to ensure that the image name matches for the second popup parameter - You need to change Services to Image17:

Code:
popup('Services','Image17')


-- Andy

Doesn't seem to help..


Poster: lchin
Dated: Thursday August 26 2004 - 13:41:16 BST

Hello, I changed the popup image name, but it doesn't help in Mozilla. I am still getting the same error (_pp has no properties line 16). In same file: mmenudom.js

Please help!


Poster: lchin
Dated: Friday August 27 2004 - 13:42:53 BST

Anyone seen this problem before?


Poster: Andy
Dated: Friday August 27 2004 - 13:51:12 BST

I found it :D

You need to also include an id for the image.

Basically Internet Explorer, is seeing name and assuming it's the same as id, probably shouldn't but that's IE for you.

Gecko browsers, on the other hand, are looking for an image id but not finding it, thus the error.

So, if you include an id for the image as well as a name (name is for Netscape 4 compatibility) this will fix Mozilla.

So you should have something like this:

Code:
<TABLE style="WIDTH: 760px; HEIGHT: 25px; TEXT-ALIGN: left" cellSpacing=0
      cellPadding=0 border=0>
        <TBODY>
        <TR>
          <TD align=middle><A
            onmouseover="MM_swapImage('Home','','images/home_r.gif',1)"
            onmouseout=MM_swapImgRestore()
            href="http://www.bittersweetgirl.com/t1/IDRom/test.html#"><IMG
            height=18 alt=home src="tst_files/home_g.gif" width=50 align=middle
            border=0 name=Home></A></TD>
          <TD align=middle><A
            onmouseover="MM_swapImage('corporate','','images/corporate_r.gif',1);popup('Corporate','corporate')"
            onmouseout=MM_swapImgRestore();popdown()
            href="http://www.bittersweetgirl.com/t1/IDRom/test.html#"><IMG
            height=18 alt=corporate src="tst_files/corporate_g.gif" width=75
            align=middle border=0 name=corporate id=corporate></A></TD>
          <TD align=middle><A
            onmouseover="MM_swapImage('products','','images/products_r.gif',1);popup('Products','products')"
            onmouseout=MM_swapImgRestore();popdown()
            href="http://www.bittersweetgirl.com/t1/IDRom/test.html#"><IMG
            height=18 alt=products src="tst_files/products_g.gif" width=71
            align=middle border=0 name=products id=products></A></TD>
          <TD align=middle><A
            onmouseover="MM_swapImage('solutions','','images/solutions_r.gif',1);popup('Solutions','solutions')"
            onmouseout=MM_swapImgRestore();popdown()
            href="http://www.bittersweetgirl.com/t1/IDRom/test.html#"><IMG
            height=18 alt=solutions src="tst_files/solutions_g.gif" width=74
            align=middle border=0 name=solutions id=solutions></A></TD>
          <TD align=middle><A
            onmouseover="MM_swapImage('Image17','','images/services_r.gif',1);popup('Services','Image17')"
            onmouseout=MM_swapImgRestore();popdown()
            href="http://www.bittersweetgirl.com/t1/IDRom/test.html#"><IMG
            height=18 alt=services src="tst_files/services_g.gif" width=62
            align=middle border=0 name=Image17 id=Image17 ></A></TD>
          <TD align=middle>&nbsp;</TD>
          <TD align=middle><A
            onmouseover="MM_swapImage('Image19','','images/contact_r.gif',1)"
            onmouseout=MM_swapImgRestore();popdown()
            href="http://www.bittersweetgirl.com/t1/IDRom/test.html#"><IMG
            height=18 alt=contact src="tst_files/contact_g.gif" width=67
            align=middle border=0
  name=Image19></A></TD></TR></TBODY></TABLE>


Hope this helps
Andy

Thanks for all your help!


Poster: lchin
Dated: Friday August 27 2004 - 14:14:39 BST

Wow fast response. Thanks so much!