Old 22-02-2008, 14:20   #1 (permalink)
88mph
Great Scott!!
 
88mph's Avatar
 
Join Date: Feb 2008
Posts: 272
ie8.js

has anyone used this? any experiences? useful tool or cumbersome beast?

http://code.google.com/p/ie7-js/
  Reply With Quote
Old 22-02-2008, 14:45   #2 (permalink)
pgo
Senior Member
 
Join Date: Jan 2005
Posts: 12,337
I've never bothered - always looked cumbersome.
  Reply With Quote
Old 23-02-2008, 05:20   #3 (permalink)
niksy
Registered User
 
niksy's Avatar
 
Join Date: Jul 2007
Location: Strizivojna / Zagreb // Croatia
Posts: 79
Send a message via MSN to niksy
Haven't tried it yet, but I think it's a nice solution to various problems.
  Reply With Quote
Old 23-02-2008, 06:19   #4 (permalink)
freelancr
Web Developer
 
freelancr's Avatar
 
Join Date: Oct 2006
Location: United Kingdom Status: Procrastinating
Posts: 2,475
Send a message via MSN to freelancr
Quote:
Originally Posted by niksy
Haven't tried it yet, but I think it's a nice solution to various problems.

How about all the users IE6/7 users on locked work/public terminals with JavaScript turned off for security reasons? Id rather save my users having to download 13kb and do my job properly.

It's not impossible to replicate an xhtml/css website to look pretty much identical on IE6, IE7, FF, Opera, Konqueror and Safari. I usually just have to end up using conditional comments for various tweaks for IE6, and rarely have to use them for IE7 as it is pretty good at rendering.

The main problems people have is accidently chucking IE6 into quirks mode, the first line in your source code (and check the generated xhtml) should be the Doctype. Then so long as your xhtml and css validates, you usually don't get many bugs to work out in the conditional comments.
  Reply With Quote
Old 23-02-2008, 10:53   #5 (permalink)
88mph
Great Scott!!
 
88mph's Avatar
 
Join Date: Feb 2008
Posts: 272
just validated my code AND using this javascript and ie6 still has no idea!!

MyDinnerParty.co.uk -- you throw the party, we'll do the cooking!!
  Reply With Quote
Old 23-02-2008, 11:49   #6 (permalink)
freelancr
Web Developer
 
freelancr's Avatar
 
Join Date: Oct 2006
Location: United Kingdom Status: Procrastinating
Posts: 2,475
Send a message via MSN to freelancr
Quote:
Originally Posted by 88mph
just validated my code AND using this javascript and ie6 still has no idea!!

MyDinnerParty.co.uk -- you throw the party, we'll do the cooking!!

What's this then?
Code:
<a href="contact/index.html"><img src="images/contact-us.png" alt= "Contact Us" /><img /></a>

In FF2 when I hover the menu on the right it seems to make the horizontal scrollbar appear.
  Reply With Quote
Old 23-02-2008, 12:51   #7 (permalink)
88mph
Great Scott!!
 
88mph's Avatar
 
Join Date: Feb 2008
Posts: 272
Quote:
Originally Posted by freelancr
What's this then?
Code:
<a href="contact/index.html"><img src="images/contact-us.png" alt= "Contact Us" /><img /></a>

In FF2 when I hover the menu on the right it seems to make the horizontal scrollbar appear.

Both silly mistakes, but it still passed validation with w3c.
  Reply With Quote
Old 23-02-2008, 12:56   #8 (permalink)
niksy
Registered User
 
niksy's Avatar
 
Join Date: Jul 2007
Location: Strizivojna / Zagreb // Croatia
Posts: 79
Send a message via MSN to niksy
Quote:
Originally Posted by freelancr
How about all the users IE6/7 users on locked work/public terminals with JavaScript turned off for security reasons? Id rather save my users having to download 13kb and do my job properly.
I didn't said that I use it, just stated that it's a nice solution.

I also prefer not to use JS for any kind of browser compatibility issues and always try to write my code so it can be rendered equally in each browser.
  Reply With Quote
Old 23-02-2008, 15:11   #9 (permalink)
freelancr
Web Developer
 
freelancr's Avatar
 
Join Date: Oct 2006
Location: United Kingdom Status: Procrastinating
Posts: 2,475
Send a message via MSN to freelancr
Quote:
Originally Posted by 88mph
Both silly mistakes, but it still passed validation with w3c.

Strange how it passed, as surely src and alt are required? Install these addons on Firefox, I find them very useful:

https://addons.mozilla.org/en-US/firefox/addon/60
https://addons.mozilla.org/en-US/firefox/addon/249
  Reply With Quote
Old 23-02-2008, 15:27   #10 (permalink)
pgo
Senior Member
 
Join Date: Jan 2005
Posts: 12,337
...but the HTML validator is built into Web Developer. Tools -> Validate Local HTML (if it's offline).

Quote:
Originally Posted by 88mph
Both silly mistakes, but it still passed validation with w3c.
Valid code is not the same thing as good code. Valid just means it doesn't break any of the rules of the language. Good code comes from knowing the language and its uses.
  Reply With Quote
Old 23-02-2008, 17:08   #11 (permalink)
freelancr
Web Developer
 
freelancr's Avatar
 
Join Date: Oct 2006
Location: United Kingdom Status: Procrastinating
Posts: 2,475
Send a message via MSN to freelancr
Quote:
Originally Posted by pgo
...but the HTML validator is built into Web Developer. Tools -> Validate Local HTML (if it's offline).

Yes, but to check if a page is valid using the HTML Validator addon, all you have to do is look at the status bar for the result, and then view source to be told where the errors are and suggests what you have done wrong. Fix the errors and refresh until there is a green tick. It works offline too, and is stricter than the W3C Validator as it uses 2 algorithms to check. The W3C Validator didn't find that empty IMG tag, but the HTML Validator did.

Whereas using the W3C Validator means you have to be online, and check every single page on your site against their site. Just seems like too much effort which is why many websites only have a valid homepage and the rest fail on silly errors.
  Reply With Quote
Old 23-02-2008, 20:45   #12 (permalink)
niksy
Registered User
 
niksy's Avatar
 
Join Date: Jul 2007
Location: Strizivojna / Zagreb // Croatia
Posts: 79
Send a message via MSN to niksy
HTML Validator is one of the most useful addons for Firefox in web designers/developers arsenal...
  Reply With Quote
Old 24-02-2008, 09:26   #13 (permalink)
88mph
Great Scott!!
 
88mph's Avatar
 
Join Date: Feb 2008
Posts: 272
how do people feel about using html tidy?
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8