WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Site Design > Graphics & Design Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

Graphics & Design Discussion Forum Post your graphics design questions/comments/ideas in here. Ask questions, post tutorials, discuss trends and best practices. Sub-forum for website accessibility and usability.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-01-2004, 10:39 PM
hal hal is offline
WebProWorld Member
 

Join Date: Nov 2003
Location: US -- New England
Posts: 97
hal RepRank 0
Default browser legacy -- xhtml vs JavaScript

Hello, all,

I have another take on the "browser legacy" type of question. Pray tell...

Which is the lesser sin? ...To validate against a standard, or to bend with the breeze? A simple routine opens with --

<script language="javascript" type="text/javascript">

The <type=> is in there to meet the requirements of XHTML. The <language=> is in there to meet the requirements of common browsers. And, several guides clearly say to use both, as above, so as to not leave older browsers behind.

However, an XHTML Strict validation hiccoughs when it sees <language=>, while the 400-lb gorilla Explorer 6 growls when it sees <type=> (if you have the option set to flag script errors).

...Or do you write a piece of JavaScript to tell the browser (or the validator) to ignore the JavaScript while continuing to use the JavaScript? Conundrum! :-)

I suppose the pressures of the marketplace would say to dump the standard, and do what people are doing. But then, of what value would be the standard?

I can't possibly be the first person to hit this one, and yet I can find no related commentary. Ideas, anyone?

Thanks,

Hal
Reply With Quote
  #2 (permalink)  
Old 02-01-2004, 10:52 PM
WebProWorld Veteran
 

Join Date: Jul 2003
Location: Bristol, UK
Posts: 965
carbonize RepRank 0
Default

Unfortunately if you want validated code then you have to make a choice, to support older browsers or not. With my latest site revision I have chosen to go for XHTML 1.1 and CSS all validated. The layout looks like something Salvidor Dali painted when viewed on NS4 but it's users are few and far between.

I suppose the big question is how long are web designers and coders going to be held back by IE6? Microsoft have stated that it will not be updated but still, thanks to the fact that it is forced on you with windows, it is the most used web browser out there. So while we can do amazing things in Firebird/Mozilla and Opera we have to remember to make sure it works in IE6 as well with it's poor CSS level 2 support.

I have just had a world changing idea, kind of, but I'll post it in Break room for now.
__________________
Carbonize
Reply With Quote
  #3 (permalink)  
Old 02-01-2004, 11:41 PM
hal hal is offline
WebProWorld Member
 

Join Date: Nov 2003
Location: US -- New England
Posts: 97
hal RepRank 0
Default

Hello Carbonize,

Yes, that is indeed the choice. I, too, find that I am now working toward that -- forsaking Explorer in a search for the moment's "ultimate truth"... XHTML and CSS validatation. Indeed, I have just spent four whole days (!) getting NS 7 to even lean my way on one particular function (something other than my JS question), and it just now finally tested out (thank the Powers). The cost/benefit ratio really sucked on that one!

So now I leave NS behind if it looks anything in the neighborhood of legible, and move on. And, for the XHTML/JavaScript question I am to hope and pray that my Web visitors have "grown up" enough to turn off Explorer's rabbifrating script error flag. So now I begin to leave Explorer, too.

I start to feel like the guy standing on the top of Mt. Everest, with the wind whistling through the holes in my head (as one climber put it), and wondering how the heck to get down safely. :-)

How long will it be before we no longer have to worry about Explorer? Since they are no longer updating it, they must be looking for a way to replace it. I have heard the word "Landmark" but I do not know if I should put any credence to it. And who's to say that whatever it is won't have the same problem with standards compatibility? Microsoft is almost as self-righteous as NASA.

Quote:
Unfortunately if you want validated code then
you have to make a choice, to support older browsers or not.
So I suppose we still have to do some browser sniffing, and maybe send them to a common "update your !#$%*) browser!" page. What a way to win friends!

Quote:
we have to remember to make sure it works in IE6 as well with it's poor CSS level 2 support.
OK. We'll start with the "update your !#$%*) browser!" page, and then redirect them to the good stuff. <sigh>

Hal
Reply With Quote
  #4 (permalink)  
Old 02-02-2004, 12:34 AM
minstrel's Avatar
WebProWorld 1,000+ Club
 

Join Date: Jul 2003
Location: Ottawa, Canada
Posts: 3,620
minstrel RepRank 0
Default

Quote:
Originally Posted by carbonize
I suppose the big question is how long are web designers and coders going to be held back by IE6? Microsoft have stated that it will not be updated but still, thanks to the fact that it is forced on you with windows, it is the most used web browser out there.
Actually, Windows XP SP-2 will include updates to IE6 SP-1, including, reportedly, some new features...
Reply With Quote
  #5 (permalink)  
Old 02-02-2004, 08:58 AM
WebProWorld Veteran
 

Join Date: Jul 2003
Location: Bristol, UK
Posts: 965
carbonize RepRank 0
Default

Quote:
Originally Posted by minstrel
Actually, Windows XP SP-2 will include updates to IE6 SP-1, including, reportedly, some new features...
And the removal of ActiveX support? bye bye flash?
__________________
Carbonize
Reply With Quote
  #6 (permalink)  
Old 02-02-2004, 09:36 AM
hal hal is offline
WebProWorld Member
 

Join Date: Nov 2003
Location: US -- New England
Posts: 97
hal RepRank 0
Default

Quote:
And the removal of ActiveX support? bye bye flash?
What? And force all those poorly implemented flash sites to rethink their very lives? Then they'd be forced into more search-engine-friendly approaches. That would make them more competitive for search engine placement! Would Microsoft actually do something that evil to the rest of us?

Hal
Reply With Quote
  #7 (permalink)  
Old 02-02-2004, 05:43 PM
WebProWorld Member
 

Join Date: Jan 2004
Location: Hollywood, CA
Posts: 88
spice RepRank 0
Default

He's referring to the Eolas lawsuit which was going to force Microsoft to alter the way IE handles plug-ins. Latest news, however, indicates that Microsoft has abandoned the changes pending a hearing by the patent office. To this I breathe a sigh of relief. Like Flash or hate it, the enormous number of websites that would have to be updated just to continue working properly is nothing to sneeze at, and damaging to the design industry.
__________________
I do stuff.
Reply With Quote
  #8 (permalink)  
Old 02-02-2004, 06:51 PM
hal hal is offline
WebProWorld Member
 

Join Date: Nov 2003
Location: US -- New England
Posts: 97
hal RepRank 0
Default

Hi Doug,

Thanks for the info. It reads almost as simple to comprehend as a W3C XHTML Recommendation, but I make out that nothing will change (for a while). Figures.

Quote:
Like Flash or hate it
Actually, I like Flash because I hate it. Well, it's not Flash itself, but the way a whole bunch of people are using it improperly. That gives me things to fix on a site. That makes my upgrades to visitor-friendliness (usually) that much easier to see and to understand. (Hopefully.) :-)

We are getting far afield of my original XMTML/JS question, but I love it... It's fascinating how one thing leads to another. Remember what Admiral Perry really said -- "Damn the torpedoes, full speed ahead! I'll be in the Officer's Club. Let me know how it turns out!" :-)

Hal
Reply With Quote
Reply

  WebProWorld > Site Design > Graphics & Design Discussion Forum
Tags: , , ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Search Engine Optimization by vBSEO 3.2.0