View Full Version : quick browser test for menu system
http://www.teckis.com/index_menu.html
this seems to work fine for me in
Opera 7
Mozilla 1.1
IE6
on windows.
would appreciate feedback for functionality in other browsers (not lynx or non-javascript browsers, or NS4 :))
brothercake
04-18-2003, 12:53 PM
Works fine in Safari and mac/ie5
Catman
04-18-2003, 01:57 PM
Works in Mozilla 1.3, Netscape 7.02, but Netscape 6.2 throws this error:
Error: [Exception... "'JavaScript component does not have a method named: "getHelperForLanguage"' when calling method: [nsIClassInfo::getHelperForLanguage]" nsresult: "0x80570030 (NS_ERROR_XPC_JSOBJECT_HAS_NO_FUNCTION_NAMED)" location: "JS frame :: http://www.teckis.com/index_menu.html :: <TOP_LEVEL> :: line 85" data: no]
Source File: http://www.teckis.com/index_menu.html
Line: 85
Hi okii
Works in I.E 6 as you said but not in Netscape 6.
:thumbsup:
ahh - pesky NS6 and such helpful error messages - will check line 85 anyway, just in case.
cheers all for the replies
hmmm, line 85 is
if(window.sidebar)
which was my quick way of testing for Moz/NS so as to be able to write in a redeclared style attribute -
have amended it to
if (navigator.userAgent.indexOf('Gecko') != -1)
which shouldn't throw an error.
would anyone mind quickly retesting?
also - does the text in the boxes and slide down bits look vertically centred in all browsers?
Catman
04-18-2003, 03:05 PM
Now I get these errors:
Error: [Exception... "'JavaScript component does not have a method named: "getHelperForLanguage"' when calling method: [nsIClassInfo::getHelperForLanguage]" nsresult: "0x80570030 (NS_ERROR_XPC_JSOBJECT_HAS_NO_FUNCTION_NAMED)" location: "JS frame :: http://www.teckis.com/index_menu.html :: <TOP_LEVEL> :: line 132" data: no]
Source File: http://www.teckis.com/index_menu.html
Line: 132
Error: [Exception... "'JavaScript component does not have a method named: "getInterfaces"' when calling method: [nsIClassInfo::getInterfaces]" nsresult: "0x80570030 (NS_ERROR_XPC_JSOBJECT_HAS_NO_FUNCTION_NAMED)" location: "JS frame :: http://www.teckis.com/index_menu.html :: <TOP_LEVEL> :: line 132" data: no]
Source File: http://www.teckis.com/index_menu.html
Line: 132
Both occur on loading (and hence, the dropdown effect does not work at all).
better now?
I had another if(window.sidebar) call
once again, thanks for the help.
Catman
04-18-2003, 05:44 PM
Now no errors, but Netscape 6.2 still won't show the menus. :(
oh well - might have to either lose NS6 surfers or think of a new menu system - thanks anyway.
justame
04-18-2003, 07:04 PM
poot...
just a works® for /me in ie5...
'cept ummm the links??? dont go just a nywhere® lol...
hehe - yup, them links aren't meant to go anywhere yet.
got major tinkering to do to that design today - trying to put content underneath it is becoming a right pain for the different browsers :mad: - only Moz seems to be behaving.
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.