Recent Questions Ext Tree Html TemplateQ:
I'm trying to position my menus inside absolutely positioned <DIV> tags. If the <DIV> tag has style="position:absolute; top:100px; left:50px;" in the actual tag, deluxe-menu seems to work correctly. If I have the "position:absolute; top:100px; left:50px;" in a <STYLE> tag or a linked stylesheet and applied using id or class selectors, then deluxe-menu does not work correctly: sub menus have a 100pixel offset in the y direction and a 50 pixel offset in the x direction. This is with no change to the .js data file (I have absolutePos=0;) Is this a known issue, and is it planned to be fixed? 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:absolute"). 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:absolute;"
So, you'll have:
<DIV id=head style="position:absolute;">
Now we have only such solution for this problem.
We'll try to fix this problem in the future versions.
I appreciated your prompt response. However, if I set the exact height for easy tabs content, certain tab's content will not show up fully. We need to have every tab has different height in this site. Do you know why IE 7 doesn't behavior properly but IE 6 does? Can you provide a work around for me ASAP? A: In that case you should delete height parameter at all from yourstyles.
<div id="content1" style="visibility: hidden;" class="tabPage">Q:
I've begun experimenting with the dhtml rollover menu program and like what I see.
Question, when I have a tree menu on the left and the user clicks a node, I want the resulting HTML page to appear next to the dhtml rollover menu, on the right hand side. How do I reposition the HTML page so it doesn't take up the whole page and cover the menu?A: You can use frames and open link pages into the content frame, or use Iframe.
Please, set the name for your iframe, for example:
<iframe name ='myFrame' ...
<frame name ='myFrame' ...
And then you must set the following dhtml rollover menu parameter in the data file withyour menu:
I already found out the use of the pressedItem setting. However Iwas looking to be able to have a submenu in the html dropdown menu already expanded on pageload. Can you tell me if this is possible yet in any way ? A: You can find the example here
Click on the following link:
Highlight "Product Info/Installation/Description of Files" item.
Use the following function to highlight items
function dm_ext_setPressedItem (menuInd, submenuInd, itemInd, recursion, parentOpen)
where parentOpen = true/false - open all submenus to show the selected item