On Apr 11, 7:38 pm, "asv" <[EMAIL PROTECTED]> wrote:
> The following code does NOT work in Internet Explorer 6.0 but works
> fine both in Opera 9 and Firefox2:
> =====================
> <script type="text/javascript" defer="defer" src="js/prototype.js">

Why suggest to the browser that it defer executing a 90Kb library when
immediately after this element you are about to use that library?

<UR: http://www.w3.org/TR/html4/interact/scripts.html#adef-defer >


[...]
>
> what can be done to make it work in Internet Explorer properly?

Remove the defer attribute, it serves no useful purpose here and is
generally ignored by (all?) browsers other than IE.

--
Rob


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to