p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Professional JavaScript for Web Developers ISBN: 978-0-7645-7908-0 (http://p2p.wrox.com/forumdisplay.php?f=174)
-   -   XHTML with Doctype disables Drag and Drop (http://p2p.wrox.com/showthread.php?t=45885)

bradrice July 30th, 2006 07:36 AM

XHTML with Doctype disables Drag and Drop
 
I don't have any trouble getting you code to work in any browser that I have, and that includes Firefox. What I do have a problem with is if I have a doctype declaration of an XHTML document, the scripts stop working. Even if I put //<![CDATA[ and //]]> around the script and get the file to validate, it doesn't work. If I take the doctype out of the document and save it as html, then the script works. I would like to use validating xhtml. Any thoughts on why the script isn't working in an XHTML document with a doctype would be appreciated.

pepejeria December 16th, 2006 08:55 AM

Check out this thread:
http://p2p.wrox.com/topic.asp?TOPIC_ID=43315

Try downloading that new version + the following CSS

html, body { height:100%; }

/José Jeria


All times are GMT -4. The time now is 12:10 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.