JavaScript Error - Konqueror

Please note that official support for this menu version has now ceased. There are still plenty of users, though, and the forum is still running. Some of our long-time users may be able to help you out.
Post Reply
thunder
Beginner
Beginner
Posts: 1
Joined: Sun Mar 14, 2004 4:02 pm

JavaScript Error - Konqueror

Post by thunder »

Hello,

I'm getting a JavaScript error in Konqueror 3.2.0
(this is the new version using KDE 3.2 Branch >= 20040204)

Code: Select all

JavaScript Error:

An error occurred while attempting to run a script on this page:
http://members.rogers.com/thunder2/mmenu.js

Line 36

TypeError: Null Value
----------------------------------------------------------------

This is LINE 36 from mmenu.js:

Code: Select all

function gpos(gm){if(ns4){t_=gm.top;l_=gm.left;h_=gm.clip.height;w_=gm.clip.width;}else if(opra){t_=gm.offsetTop;l_=gm.offsetLeft;h_=gm.offsetHeight;w_=gm.offsetWidth;}else if(ns6){t_=gm.offsetTop;l_=gm.offsetLeft;h_=gm.offsetHeight;w_=gm.offsetWidth}else{if(mac){topM=gm.offsetParent.topMargin;if(!topM)topM=0;leftM=gm.offsetParent.leftMargin;if(!leftM)leftM=0;t_=parseInt(topM)+gm.offsetTop;l_=parseInt(leftM)+gm.offsetLeft;}else{t_=gm.offsetTop;l_=gm.offsetLeft;}h_=gm.offsetHeight;w_=gm.offsetWidth;}if(konq){w_=parseInt(gm.style.width);h_=parseInt(gm.style.height);}var gpa=new Array();gpa[0]=t_;gpa[1]=l_;gpa[2]=h_;gpa[3]=w_;return(gpa)}
----------------------------------------------------------------

NOTE: I'm using the older Milonic Menu - Version 3.5.10


A demo page is online at:

http://members.rogers.com/thunder2/menu.html


The menu works just fine running Mozilla 1.6 (on Linux).

If any other Linux users out there can shed some light on this,
(or suggest a fix), it would be much appreciated!

Thanks!
Post Reply