menu drop down by Deluxe-Menu.com

DHTML Faq » My javascript tree menu doesn’t work with !DOCTYPE

My javascript tree menu doesn’t work with !DOCTYPE

Q:

I have downloaded the trial version and so far I really like what I see
except for one issue. Any page that includes the following doctype:

<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN”
“http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>

seems to break the absolute positioning of the javascript tree menu and sends it to the
far upper left corner of the page. Any help on fixing this would be
greatly appreciated.

A:

The problem is in <!DOCTYPE> attribute.
Please, set ‘px’ units for posX and posY parameters,for example:

var posX=”100px”;
var posY=”100px”;

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment