Recent Questions Mediawiki Tree Menu ExampleQ:
When I roll my mouse over my menu, it appears halfway down the page, not next to the menu. This only happens when I enclose the code in <div></div> layers. Is there a way to fix this? A: It is possible that you have some problems with your css.
The problem is that the script 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:absolute"). 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 <DIV id=SiteMenu>
So, you'll have:
<DIV id=SiteMenu style="position:absolute;">
How do I open a PDF document in a new window? Is this in the Item Parameters window?A: You can specify target parameter for each item
["|Open file","file.pdf", "", "", "", "_blank", "", "", "", ],
If you want to use context menu you can try to write your menuItems in the following way:
["|<a href='file.pdf' target='_blank'>Open file</a>","", "", "", "", "", "", "", "", ],
But you should create correct style for <a> tag.
Trying to install XP style floating dhtml slide down menu but have these problems:
- Menu does not stay within table cell
- Is not floating A: > - DHTML slide down menu does not stay within table cell
You're using the floating feature now. Your dhtml slide down menu will float withabsolute position only. So, now you have:
That is why your dhtml slide down menu does not stay within table cell and hasabsolute position.
> - Is not floating
Try to call on your page
For the dhtml tree that I purchased, can I choose what menus will be expanded or collapsed when the user first comes to the webpage forthe first time? A: You can expand some items by default.
Add '+' sign before items text in that case:
["|Home","testlink.htm", "deluxe-tree.files/icon1_s.gif", "deluxe-tree.files/icon1_so.gif", "", "Home Page Tip", "", "", "", "data-new.js", ],
Use var texpanded=1; parameter to expand all menu items by default.
Use function dtreet_ext_expandItem (itemID, expand) API function to expand the specificmenu items dynamically: