View Full Version: Backwards Compatibility

Ocyras > Suggestions > Backwards Compatibility



Title: Backwards Compatibility


Realist. - July 24, 2007 12:23 AM (GMT)
With all these fancy CSS updates and JavaScript additions to the site, viewing Ocyras in an older browser, the site, in the words of Vic, "fails".

Style Switcher: A great update. You can see Ocyras in different colors! Unfortunately, it relies completely on JavaScript, and without it, visitors see an ugly selector that does nothing.

Random Link: Again, it relies on JavaScript. Useless in old browsers.

New Forum Link: The new forum link is great! Giving people a notice to join the forums before they get here. Unfortunately, it also brings people like "koolman911"

JavaScript Banner Links and Valid CSS/XHTML Links: Great! Unfortunately, they don't work in older browsers

Abbr Tags: Also doesn't work in older browsers.

I have a hacked version of Netscape and Internet Explorer that lets me run multiple versions. When I went to this site in Netscape 4, it crashed.

I was just wondering, are you, the staff of Ocyras, more old-browser ready? Are you going to be like the millions of other sites saying "Sorry, you need a modern browser"?

Alway - July 24, 2007 12:28 AM (GMT)
In short, yes.















But, in all seriousness, I guess I should work on that. The thing is, hardly anybody with those older browsers comes to Ocyras... maybe I could make a splash page or something, that explains that you might need a newer browser, and gives a link to download Firefox.

But, would you happen to know what caused Ocyras to crash? (what feature)

Also, I was planning on fixing the valid CSS and XHTML buttons.

~Alway

Realist. - July 24, 2007 12:36 AM (GMT)
The CSS caused Netscape 4 to "fail". It has a hard time using the <LINK> element to get the external stylesheet. There are workarounds to hide the non-working elements.

Vic - July 24, 2007 12:36 AM (GMT)
tell

Realist. - July 24, 2007 12:51 AM (GMT)
To stop Netscape 4 from crashing, you can use the @import method.
CODE
<style type="text/css">
@import "YOURSTYLESHEET.css";
</style>

If you want your style switcher to keep working, you'll need to keep the <LINK> for the alternate stylesheets, but since v4.* browsers don't understand that attribute, they ignore it.
Hiding the style switcher from browsers without JavaScript
CODE
<script type="text/javascript">
var styleswitch = "code here"
</script>
Then, where you want to put the styleswitcher, you put
CODE
<script type="text/javascript">
document.write(styleswitch)
</script>

For the forum link, you can put this:
CODE
<a href=http://anonymouse.org/cgi-bin/anon-www.cgi/http://127.0.0.1/"forumlink.html" onclick="alert("Sign up for the forums!!!">

Alway - July 24, 2007 03:53 PM (GMT)
Okay, I got all of that stuff fixed.

I'll fix the valid CSS and XHTML buttons later.

I'm not going to do anything about the <abbr> tags, though.

~Alway

Vic - July 24, 2007 04:47 PM (GMT)
Lol I already did it...

Alway - July 25, 2007 01:06 AM (GMT)
Umm, no, you didn't. I fixed the style switcher, and fixed a few bugs you made when you "already did it". Including the forum link, and your commented ASCII art.

~Alway




Hosted for free by InvisionFree