View Full Version : I hate Netscape.
Solid Snake
25-06-2002, 06:51 PM
I hate Netscape.
That's it. I'm redesigning the L3 website and all I have to say is Netscape is a f*cked up web browser. It understands things like >
self.status = message;
Putting out a result, but when you do this :>
message = self.status;
It goes ... oh dang it ... and screws itself over.
I hate Netscape. Yet I have to develop for it... :(
:mad: :mad: :mad: :mad: :mad:
KingJackal
25-06-2002, 07:01 PM
What do the official W3C/other languages specifications say.... ?
IE is TOLERANT. And trust me bro, it's NOT always a good thing. It just means IE will work if you stuff up a little and it thinks it knows what you're trying to do.
This is intensely annoying - because further down the track you may find out that what you thought was the right approach was actually just 'accepted' by IE, and in a more complex situation, IE guesses the wrong rendering.
Be Zen, grasshopper.
Persevere, and knowlege shall become one with you.
;) :D
CmdrChris
25-06-2002, 07:13 PM
I'm with you KJ
Code for netscape and all the other browsers will come....
Solid Snake
25-06-2002, 07:19 PM
meh ... ... still annoying.
utopian201
25-06-2002, 08:11 PM
does
self.status = message;
do the same as
message = self.status;
Agent 86
25-06-2002, 08:13 PM
Poor netscape. Never stood a chance against the beast.
matthew
25-06-2002, 08:26 PM
yep, nutscape is sh+t... :p
Sydog
25-06-2002, 08:36 PM
The BEAST is almighty Opera, and If ya'll don't like it get the **** back
varkk
25-06-2002, 09:24 PM
I know this isn't really a thread to pimp your favourite browser, but......
Mozilla just simply 0wnz.
TheChosen_1
25-06-2002, 09:33 PM
Man Netscape sucks big time, its so crappy,
Im with sydog Opera owns everyone!!!!!
DiSCLAiMER
25-06-2002, 11:46 PM
What you describe should not crash the browser or make it behave strangely, as well thats umm strange! Perhaps it could be a screwy install on your system, or some other script on the page that is contributing to the problems (what am I talking about, no normal script should be able to cause strange problems)
does
self.status = message;
do the same as
message = self.status;
Esentially yes. One is setting the value of an attribute, the other is getting the value of an attribute.
What about trying other keywords instead of self, like window, does that make a difference (i would assume not, but worth a try)... ie window.status = 'j00 sux'; and strCurStatusText = window.status; Or were you just making an example, and you get similar problems whenever you try and get the value of an attribute on similar objects?
It would help if you mentioned the version of netscape you were using and provided the source to the page you were working on. That way at least, someone could check to see if they have similar problems. Also, by "screws itself over", what do you actually mean? What happens?
Solid Snake
26-06-2002, 01:39 AM
Heh, these were quite literal terms but the problem IS this ...
I can assign comments to the self.status which will display a message in the wee little status bar ... customize links to say your stuff. Okay, that works fine hence me saying
self.status = message;
works fine. But when I want to get values OF self.status Netscape has a big question mark and doesn't know HOW to do it for some very odd reason. IE works fine in this case. Hence doing this produces a 'undefined' result ...
message = self.status;
alert (message);
Ideally with this little code you want the browser to read what is in its status bar and to tell you what the value is through the alert command. IE seems to work fine with this, but when you plug it into Netscape, it returns an undefined value, meaning it doesn't understand what 'message = self.status;' is doing. If you replace 'alert(message);' with 'alert(self.status);' ... it also fails while IE does this quite happily.
Changing 'self.status' to 'window.status' has no effect.
Oh, it doesn't crash the browser, it just doesn't work ... which makes me annoyed. I've typed in 'javascript:' into the command line ... no errors reported. I believe that it just skips the line and returns an undefined value.
You'd think that this example would work ... but surprisingly it doesn't. Now your asking yourself why on earth would I want to get data from the status bar since I am already writing to it? It's for communication across frames. Since frame have separate sources, the only thing in common with them is any document or window properties, and status bar was the easiest one that I can easily change and detect changes from other frame windows [such as menus] ... unfortunately floating frames weren't supported in Netscape 4.X, and I'd like to get away from using frames or static tables.
I know it sounds BAD on my part that I am ONLY using Netscape 4.5 but keep in mind that this is probably the lowest version that people are using. I have decided not to develop it for Netscape 6 since not everybody will have this version and potential people may complain that it may not work on their web browser.
It's the difficulty when designing very graphical and flashy websites, that you have to design for both IE and Netscape [with those two done, you can be pretty darn sure that other third party web browsers will cope fine]. I don't want to use Flash since that takes a long time to load due to the nature of Flash, and HTML is much better for the L3 website since it is easy to update and so on.
I'll get to the bottom of this anyways ... sometime.
mird-OC
26-06-2002, 10:23 AM
okay, it's weird. but why do you need to read that attribute anyway? AFAIK there's no good reason to need to read it... infact the attribute could be write only - i don't know but it's a possibility (just another thing that MS ignored).
i do remember reading over some code a friend of mine wrote... he's very strict on compatibility and there were quite a number of differences between IE code and NS code, especially when it comes to self references.
but anyway, there's a time in every programmer's life when they just have to CODE AROUND a problem. just have a global variable that you can assign the value to in additon to self.status, then whenever you need to read the attribute, read it from the variable.
DiSCLAiMER
26-06-2002, 01:41 PM
If you have any sort of server side scripts such as asp, php you could try and use session variables to keep track of this, if its possible, and if users opening up links in new windows or keepin in the same session, with multiple browsers won't cause any sort of strange problems.
Otherwise in a framed site you could use hidden form elements to store state information. As each frame can access the DOM of other frames this is more than possible (meaning all frames could esentially get to the state information stored in one frame). Or how about notifying each frame of the state, as you can call a function in frame x from frame y. I don't understand why you are trying to use the status attribute to hold your state information, if thats what you're trying to achieve.
Solid Snake
26-06-2002, 05:37 PM
At the time I was thinking it was by far the simplest method. Netscape has destroyed the idea of that website. It doesn't matter, I'm just going to work around it. Why bother when the code would be much larger... when changing the design could mean a better site and smaller too.
vBulletin® v3.6.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.