On Nov 13, 6:21 am, AS <[EMAIL PROTECTED]> wrote:
> Hello! I searched the group but did not find something not working on
> this stage! :| All I do is simply loading the prototype.js and
> scriptaculous.js files.. and nothing is displayed on IE6 or IE7
> (working with Konqueror, Opera, Firefox).
> I'm using an XHTML Doctype and specifying that the document has a
> "text/html" content, as suggested on many pages found on Google. I
> also tried to manually include every .js file i needed (as suggested
> on #prototype)... but nothing is working. A test page looks like this:
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
> <html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
>   <head>
>     <title>Test</title>
>     <meta http-equiv="content-type" content="text/html;
> charset=utf-8" />
>     <script src="javascripts/prototype.js" type="text/javascript"/>

That is invalid HTML, a closing script tag is required.  If you are
serving the content as application/XML, then IE will show a completely
blank page (IE does not understand XML).

Forget XHTML on the web, it is a complete waste of time and will
remain so for the foreseeable future.  :-x


>     <script src="javascripts/scriptaculous.js" type="text/javascript"/
>
>   </head>
>
>   <body>
>     Test

That is invalid in both HTML and XHTML.

[...]
> and it produces an empty page! I really don't know what else i can do
> in order to make it work, so i'm asking for suggestions here!

Use valid HTML 4.  :-)


--
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