Popup function with Opera

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
rcranswick
Super Advanced
Super Advanced
Posts: 62
Joined: Tue Aug 19, 2003 2:14 pm
Location: Bermuda
Contact:

Popup function with Opera

Post by rcranswick »

I'm looking for a fresh pair of eyes to take a look at this please.

http://www.cdp.bm/about.cfm

I am using the Popup function to display the menus but with Opera (I have 7.52) the menus do not display. If I look at the Javascript console it displays this error for each popup.


Event thread: onmouseover
Error:
name: TypeError
message: Statement on line 20: Expression evaluated to null or undefined and is not convertible to Object: _pp
Backtrace:
Line 20 of linked script http://www.cdp.bm/mmenudom.js
if (_pp[1] + _gp[3] > _bW + _sL)
In unknown script
popup("About", "Nav01");
At unknown location
{event handler trampoline}

I am using v5.63 of the menu.
Richard Cranswick
CCS Group Limited
Bermuda
User avatar
bobwill
Mega Advanced
Mega Advanced
Posts: 229
Joined: Tue Oct 01, 2002 3:03 pm
Location: Kansas
Contact:

Post by bobwill »

I think the end of the comments field concerning the Milonic menu just above line 65 is not ended correctly. The comment field starts with
<!--/* and should end with */--> Yours just has -->

I was also having trouble with popup menus recently and upgraded to prerelease version 5.64 and the problems went away..


Check it out....
rcranswick
Super Advanced
Super Advanced
Posts: 62
Joined: Tue Aug 19, 2003 2:14 pm
Location: Bermuda
Contact:

Post by rcranswick »

I recently found the cause of this problem.

My menus images were only using the NAME attribute of the IMG tag. It would appear Opera requires the ID tag for the popup function to work.
Richard Cranswick
CCS Group Limited
Bermuda
Post Reply