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!
Problems in Mozilla 1.5 - _pp has no properties
Hi,
You need to ensure that the image name matches for the second popup parameter - You need to change Services to Image17:
-- Andy
You need to ensure that the image name matches for the second popup parameter - You need to change Services to Image17:
Code: Select all
popup('Services','Image17')
Doesn't seem to help..
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!
Anyone seen this problem before?
I found it
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:
Hope this helps
Andy
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: Select all
<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://websites.milonic.com/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://websites.milonic.com/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://websites.milonic.com/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://websites.milonic.com/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://websites.milonic.com/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> </TD>
<TD align=middle><A
onmouseover="MM_swapImage('Image19','','images/contact_r.gif',1)"
onmouseout=MM_swapImgRestore();popdown()
href="http://websites.milonic.com/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>
Andy
Thanks for all your help!
Wow fast response. Thanks so much!