Adding a topbar. (So can we do this or not Pirate Kitty / Morrus)??

I don't know how to write a browser detection program. Even if I did, I don't have the time to write 10 versions of the same script. Netscape 4.x sucks. It is the reason NS tanked and had to sell out to AoL after MSIE 4. NS has no one to blame but themselves.
 

log in or register to remove this ad






Ok, I changed the code for positioning from a div tag to a span tag which tends to work better on Crapscape. I have tested the change on IE 6.0 and Crapscape 6.2 and it works fine.
 

I have a preliminary script in PHP that prevents all non MSIE browsers and all Netscape browsers prior to Mozilla/5.0 from seeing the page. I need help testing this script (It seems to work, but I don't have a non-standard browser).

The script first checks for MSIE. If that doesn't go OK it checks for Mozilla/5.0 - The newer NS browsers and some of the newer browsers return this as part of their $HTTP_USER_AGENT Query string. I **Think** that all browsers that return this value properly process the JAVAscript this file needs - those that don't (such as my least favorite browser in the world NS 4.x) will be told that their browser isn't supported.

In a final version of the page the topbar simply wouldn't be loaded.

Upon further examination of the code - it would be possible to add turn the topbar on and off using a code variable contained in the cookie that holds the rest of the user's options (like whether or not to see 'signatures, view avatars, etc). How simple this would be I don't know.
 
Last edited:

Michael_Morris said:
The file uses JAVA script...
You've said this a couple of times, but for clarification you mean it uses Javascript (also known as Jscript or ECMAscript), right, not a Java script (also know as a Java Applet). They are two dramatically different things, and if it's the latter, PLEASE allow it to be turned off in the control panel. When I surf from my old PII 300 laptop (sometimes), if an applet is loaded at any point, my machine crawls to a snail's pace (even if the applet is no longer in any browser window) -- very evil.
 

Re: Re: Adding a topbar. (So can we do this or not Pirate Kitty / Morrus)??

Fast Learner said:

You've said this a couple of times, but for clarification you mean it uses Javascript (also known as Jscript or ECMAscript), right, not a Java script (also know as a Java Applet). They are two dramatically different things, and if it's the latter, PLEASE allow it to be turned off in the control panel. When I surf from my old PII 300 laptop (sometimes), if an applet is loaded at any point, my machine crawls to a snail's pace (even if the applet is no longer in any browser window) -- very evil.

It's antiquated pieces of junk like that I am trying to block from loading this script, just in case :D

And I do know the difference between the two. If you refrain from lecturing me like a child about the differnce I'll refrain from saying you seriously need a real computer.
 

Remove ads

Top