Back To Start Of Archive
Taken From The Forum: Archived Topics for the old Version 3.0 JavaScript Menu
Forum Topic: Click to view post
Last Updated: Wednesday July 18 2012 - 06:07:40
Re: opera 6
Poster: Andy
Dated: Friday May 3 2002 - 16:09:17 BST
It's the old code in the document HEAD problem again.
Opera is giving me real headaches and i've just spent 2 days trying to figure out why the menu doesnt work on anything other than Windows XP and I still don't know the answer ????????????
Also, JavaScript errors do not come with a line number so i'm having to guess the where bugs are and it's very very frustrating.
If you put your code in the body it might work again.
Cheers
Andy
Re: opera 6
Poster: moviesandgameszone __at__ yahoo.
Dated: Friday May 3 2002 - 16:29:26 BST
Hi Andy
Just tried it to no avail, sounds like you are getting more of a headache than me
cheers Andy will keep trying
opera 6
Poster: bueffel.scott __at__ cnf.com
Dated: Friday May 3 2002 - 18:16:38 BST
Am i doing something wrong i cant get the menu to work in opera 6, works fine in all other browsers, and even works on Anys main page
Re: opera 6
Poster: moviesandgameszone __at__ yahoo.
Dated: Friday May 3 2002 - 18:49:26 BST
Hi Andy
Just thought I'd better let you know, The menu is working in Opera 6 now, it seems to take a good 20 minute to refresh any sort of scripts.
Thanks again
By the way the site I am using it on is http://www.wddauk.co.uk should be completed next week, thanks for a great product. do you have any logos to use as link backs/
Re: opera 6
Poster: Andy
Dated: Friday May 3 2002 - 19:04:55 BST
Oh THAT problem,
Yeah - I know all about that (((((
<RANT=ON>
When debugging Opera I have to tell it to NOT cache anything by switching EVERYTHING off and setting EVERYTHING to zero and even then it still caches for the session you are in.
If I make a change to the .js files I then have to close Opera and reload it because it keeps on caching on ALL versions and that is so annoying.
I have now spent around 3 days solid on this same Opera bug. Made 1000 times worse by the fact that every JavaScript error does not come with an accompanying line number. All I'm getting is:
Error:
name: TypeError
message: Value on left hand side of '.' is not convertible to Object: gm
I'm extremely pissed off with Opera support too - Not heard anything from them re: support, So I'm on my own - again.
</RANT=OFF>
Do you get the impression I'm not a happy bunny at the moment?
Well, Im not. Opera is hindering progress for all of us and nobody is ever allowed to knock Netscape 4 again )
Cheers
An almost burned out Andy.
Re: opera 6
Poster: Andy
Dated: Friday May 3 2002 - 21:45:10 BST
Well,
It's Friday night. . . It's 21:40 hours and I've finally cracked the Opera problem - The things I do for you lot - pah )
I'm going to have to revert to the old way of doing things where you have to put the code inside the Body of your document - Opera is just so fussy about it, maybe it's the correct way of doing it, I don't know.
I've looked on W3C's site but can't see anything that indicates where you should put your .js code but I have seen text's about how you should NOT have more in your headers than in the body and on average the menu generates around 100K of code per menu so it will normally be a bad thing then.
ho hum.
Andy.
Re: opera 6
Poster: sebastian __at__ active-undergro
Dated: Saturday May 11 2002 - 18:38:12 BST
Hey Andy, javascript code in the body is perfectly legal, per W3C / HTML 4.01
I would not "sweat it" that your script references have to go into the body, instead of the head.
http://www.w3.org/TR/html4/interact/scr ... l#h-18.2.1
<snip>
The SCRIPT element places a script within a document. This element may appear any number of times in the HEAD or BODY of an HTML document.
</snip>
Cheers,
Robert Tuttle
Senior Web Developer/Architect
United Devices, Inc.
http://www.ud.com/