Recent Questions
Q: I purchas the tab menu javascript but i when i add the javascript to my page i cannot go to the page where the link is pointing to.
The javascript containsthe link but when i calick the tab nothing happens.
A: Add 'link:' prefix before your links.
Try to write your links in the following way:
["Clinical","link:http://localhost:49303/Clinical_Policy.aspx", "", "", "", "Clinical Policy documents", "", "", "", ],
["Accounting","link:http://www.yahoo.com", "", "", "", "", "", "", "", ],
["Service Coordination","link:SC_Policy.aspx", "", "", "", "", "", "", "", ],
["Recruiting","link:Recruiting_Policy.aspx", "", "", "", "", "", "", "", ],
["Customer service","link:CS_Policy.aspx", "", "", "", "", "", "", "", ],
["Marketing","link:Marketing_Policy.aspx", "", "", "", "", "", "", "", ],
Q: Is it possible to open the dhtml tree to a particular state when a link is chosen from elsewhere in the site (not from a menu link)?
A: function dtreet_ext_expandItem (itemID, expand)
Expands/collapses a specified item or a submenu.
itemID - ID property of an item. expand - 0 - expand the item, 1 - show the item.
For example place to your HTML code
<script>
dtreet_ext_expandItem('dtree_0i2',0);
</script>
For details please see
http://deluxe-tree.com/functions-info.html
Q: We have a problem with the submenus going cross-frame.
Whenever there is a webpage from another website in the content/target-frame the frameset twists and all the pages are shown in the topframe. A lot of the information on our web is in office word-files and when they are opened in the content/target-frame the same cross-frame-problem happens. Is it only possible for the sub-menus to go cross-frame when one of our own webpages is shown in the target-frame?
A: See more info about cross-frame mode here:
http://deluxe-menu.com/cross-frame-mode-sample.html
Notice, the menu will work correctly in the cross-frame mode if you load pages into the sub frame from the same domain.
If you load pages from another domain submenus won't be shown in the subframe - they will be shown in the frame with the top-menu.
It's caused by a security policy of browsers - a script can't modify a content of pages from another domain.
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" />
    </frameset>
</frameset>
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:
 --|------------
   | menu
 --|------------
   |
   | submenus
   |
Now a top row has 2 columns and all browsers can determine awidth of the 1st column in the second row.