Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Dropdown menu integration in header


9827579

Recommended Posts

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...