Recent Questions
Q: How do I align sub-menus on the left for the javascript menu sample?
A: Set the following menu parameters:
var subMenuAlign="left";
var subMenuVAlign="top";
Q: Only in XP Styles for dhtml vertical menus I can set the "movable menu" on ?!
When I save to teste this feature doesn't work !!!
A: You can use movable feature in the var tXPStyle=0;too.
But to use floatable or movable feature you should use absolute position forthe menu:
var tabsolute=1;
var tleft="20px";
var ttop="40px";
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 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";
Q: When I open my site in Internet Explorer 6.0 the main drop menu code shows up nicely but the drop-down sub-menus are separated. The drop menu code work very nicely in a Firefox browser but not in IE.
A: There are some problems also with your css.The problem is that the drop menu code can't get css properties of the object if they are described in separate .css block (or file).
In other words, you can't get the value of "position" attribute of the object if the object doesn't have this property within inline style(style="position:relative"). To get the value you should move .css style into style="" attribute.
Please, try to add your
css file -> inline css, for example:
You should add style="position:relative;"
to the
<DIV id="right">
So, you'll have:
<DIV id=right style="POSITION: relative;">
Check that.