SparkFun Forums 

Where electronics enthusiasts find answers.

General suggestions or questions about the SparkFun Electronics website
By ajcrm125
#120396
I had to open up IE (something I rarely do) and spotted this:
Image

If every website did this sort of thing it would force them to stop side-stepping standards which causes all sorts of headaches in the industry.
Well done...

(P.S. Where can I get the code do implement this on my site?)
By stilldavid
#120416
Glad you like it :) It was a long conversation whether or not to support IE6 and after weighing the metrics and the options, we decided this was the best route.
ajcrm125 wrote:(P.S. Where can I get the code do implement this on my site?)
We're firing some javascript in IE conditional tags at the bottom of the page; something like this:
Code: Select all
<!--[if lte IE 6]>
<script type="text/javascript">stop_ie();</script>
<![endif]--> 
but there are many different ways of achieving the same result. There are plugins for most JS libraries that perform similar functions as well.

cheers :)