Recent Questions Collapsible Tree Apache Wicket ExampleQ: I have built a menu which will sit in a frame on the left hand side of the page.
When sub menus are selected they display in the same frame.
How do I make them appear over the adjoining frame?
A: Please, check you dm_init function. You should write it so:
dm_initFrame("frmSet", 1, 2, 1);
More info about cross-frame mode you can find here (see additional info):
See cross-frame vertical orientation Sample (left-to-right) here:
Q: I have just downloaded your trial version and am trying to use delux tuner using the windows xpstyle template.
I can only seem to get the top button showing as grey but can change colors of submenus in dhtml xml menu.
Am I missing something? ?ow do I get the top button showing the same as submenu buttons.
A: To change submenu colors you should change the following parameters:
and Individual Submenu Style:
var menuStyles = [
For the top items you should change Individual Item style:
var itemStyles = [
Q: I can see that you can have multi menus on the same page can you have multi tabs? I did create two different tab menus and when I put them on the same page they display correctly but you cannot navigate to the required web pages.
A: You can use as many tabs on the one page as you want.
But notice that you should call dtabs.js file on each page only once.
There is no need to call it several times on the one page.
You can see such examples in the trial package:
Q: When doing a multi-frame frameset (1 top frame, 2 bottom frames) like this:
<frameset ID="frames" ONLOAD="getBottom()" ROWS="50, *" BORDER="0" FRAMEBORDER="no" FRAMESPACING="0">
<frame NAME="frmTop" SRC="top.htm" MARGINHEIGHT=0 MARGINWIDTH=0 SCROLLING=NO NORESIZE FRAMEBORDER="0" />
<frameset ID="bottomFrames" cols="171,*">
<frame name="frmLeft" src="left.htm" MARGINHEIGHT=0 MARGINWIDTH=0 SCROLLING=NO NORESIZE FRAMEBORDER="0"/>
<frame name="frmMain" MARGINHEIGHT=0 MARGINWIDTH=0 SCROLLING=NO NORESIZEFRAMEBORDER="0" />
And using the dm_frameinit like this:
dm_initFrame("[object]", 0, 2, 0);
it works fine in IE -> the menus are displayed exactly under the text and in the bottom right frame.
However, in Firefox, the menu drop down is displayed to the right of the top menu text, and exactly the number of pixels as the width of the left frame.
Perhaps there needs to be some FireFox checking to fix this?
Can you help me with that?
A: The problem is in a structure of your frameset.
Mozilla browsers can't determine absolute coordinates for a frame, sosubmenus drop down with an offset.
You should create the following frameset structure:
Now a top row has 2 columns and all browsers can determine awidth of the 1st column in the second row.