• Hi, I’m adding WordPress to a site which has a Javascript dropdown – an old one, created by John Ahlquist, October 2000, Macromedia. Yes it’s awful and old and I intend to replace it, but right now I need it to work with WordPress.

    The files are being referenced and I got it to work in IE, but the dropdown items “box” is a little askew. In Firefox, the dropdown items are all squished in the upper left corner of the page. I think this may have something to do with the WordPress styles as the site I’m putting it into is laid out with tables. I’ve tried several things but nothing is working 🙁

    My blog is on my internal development server, so unfortunately I can’t give a URL. But this has to be a common problem. Can someone point me in the right direction?

    Many thanks, Nanc
    PS. I’ve searched the forums and read the docs…

Viewing 1 replies (of 1 total)
  • Thread Starter nanc

    (@nanc)

    For those interested, the dropdown doesn’t work because of the doctype that’s declared:

    <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”&gt;
    <html xmlns=”http://www.w3.org/1999/xhtml”&gt;

    When I change it to this, it works fine (the dropdown, that is):

    <!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.0 Transitional//EN”>
    <html lang=”en”>
    <head>

    My new question is – will using this HTML 4.0 transitional doctype render my wordpress blog correctly? I’m creating my own theme and appreciate any feedback I can get before I spend hours changing things … Thanks.

Viewing 1 replies (of 1 total)

The topic ‘Javascript dropdown problem’ is closed to new replies.