Could you please help me with an alignment issue with my javascript dynamic menu?
Return to Recent Questions
Q:
Hello, could you please help me with an alignment issue with my javascript dynamic menu.
I set the x alignment to=266 but the y alignment is left blank because I would like to keep the javascript dynamic menu
centered on the site.
A:
To center the javascript dynamic menu paste it
within the <div> or <table> with a relative position and specify a center alignment for it, for example:
<DIV align=center>
<SCRIPT src="data/data.js" type=text/javascript>
</SCRIPT>
</DIV>
Please, set exact value in "px" for var menuWidth parameter, for example:
var menuWidth = "300px";
This can help to align your menu correctly in all browsers.
Set also:
var absolutePos = 0;
Try that.
Return to Recent Questions
Related:
- March 21, 2009 - How can we increase the width of the vista style buttons of javascript dynamic menu?
- Apr 07, 2009 - I want to get my text within a single javascript dynamic menu item to be on a two lines...
- Apr 25, 2009 - The javascript dynamic menu looks differently in IE 6 and Firefox...
- May 12, 2009 - Is there a way to set a parameter such that when a javascript dynamic menu Item is CLICKED...
- May 29, 2009 - Does javascript dynamic menu have support for Chinese or other Unicode characters?
- Jun 15, 2009 - I wonder how I can reduce the width of the tree javascript dynamic menu?
- Jul 20, 2009 - How to get javascript dynamic menu to swap images to act like a traditional image rollover.
- Aug 06, 2009 - With the licensed .js files of javascript dynamic menu the status bar on IE start shows "Error on page".
- Aug 23, 2009 - When I roll over the javascript dynamic menu the font color doesn't change
- Sep 10, 2009 - Do you have a working sample of the javascript dynamic menu with PHP/MySQL?
- Sep 28, 2009 - When I run website, I see the javascript dynamic menu but no header menu images
|