9827579 Posted July 13, 2008 Posted July 13, 2008 I am trying to integrate the Professional series drop#2 in my oscommerce website (http://www.cssplay.co.uk/menus/pro_drop2) One thing doesn’t seem to work, the menu appears, but the submenu does not appear. I am supposed to add the doctype declaration to get it to work... When I add: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml2/DTD/xhtml1-strict.dtd"> To the file application_top.php (this files is included in all other files) on the first line, the menu works fine. But when I add a product to the shopping chart or want to write a review (some action is send to the header in the form of: &action=add_product ) the page goes blank. It is a clean install to test with, so no other things are interfering. When I remove the doctype line form app top, the website works again, but the menu stops working: no submenu that display. How can I fix this problem? (When I include the doctype in the header.php the menu also doesn't seem to work no matter where I put it.) Quote
9827579 Posted July 13, 2008 Author Posted July 13, 2008 Solved: Change in all catalog files files: <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"> Into: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> Have fun with the menu Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.