Recent Questions Wpf Treeview Itemcontainerstyle Selecteditem StyleQ:
Can you help me out? A: See, 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:relative"). To get the value you should move .css style into style="" attribute.
Please, try to add your
css file -> inline css, for example:
For example, you should add style="position:relative;"
So, you'll have:
<DIV class=MainBody style="position:relative;">
<DIV class=Menu style="position:relative;">
Now we have only such solution for this problem.
We'll try to fix this problem in the future versions.
Things are mostly working great. I want my menu to appear centered at the top the page. Here's the code:
<table style="text-align: left; width: 100%;" border="0" cellpadding="2"cellspacing="2">
The table appears at the far left edge of the window. I tried with both absolute (x=20, y=10) and relative (both x and y unset) coordinates. Help! A: If you want to center the menu paste itwithin the <div > or <table> with a static position and specify a center alignment for it, for example:
<td align=center width=600> </tr>
Please, set exact value for var menuWidth parameter, for example:
var menuWidth = "600px";
This can help to align your menu correctly in all browsers.
Try also to specify units in "px".
var absolutePos = 0;
I have bought this from you. What is the name of the divlayer(s)? Here's a bit of the modified menu code:
["|<iframe height=400 width=435 frameborder=0 scrolling=no src=my_bookmarks.asp></iframe>","","","","0",,,],
Do you want to hide your items?
You can try to use API functions
function dm_ext_changeItemVisibility (menuInd, submenuInd, itemInd, visibility)
Find more info here:
I'm currently experimenting with your script which I far more performant than any of the other I have tried so far, so we will probably go with yours and get a distributer license.
I do have a problem though...
I have two menus on my site.
Unfortunately, as they are being used, if you go over the first item in the left menu, it will show its submenu at the top; if you go over the first item of the top menu, it will also show the contents of the second menu...
How can we change this? A: Installation of your menu is not correct.
See more info about installation here:
There is no
parameter on your page.
Notice also that you should call dmenu.js file only once and then callyour data files.
Now you have two calls of dmenu.js file.