View Single Post
  #2 (permalink)  
Old Nov 30th, 2007, 13:39
Rakuli's Avatar
Rakuli Rakuli is offline
SuperMember

SuperMember
Join Date: Sep 2007
Location: Australia
Age: 24
Posts: 956
Blog Entries: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Re: onmouseover not working in ff

If it works when you remove your doctype this poses the question of what doctype you are using?

If it is an XHTML variant it is probably because you have to use special comment tags around your code

Code: Select all
<script type="text/javascript">
<!-- // --><![CDATA[
// ]]>
</script>
otherwise XHTML characters within the javascript code isn't treated as javascript, it's taken as the XHTML literals.
Reply With Quote