Recent Questions Plain Menu Tree Html
Q: I like your product and we would like to use it for our web-site.
Our site uses Frames with the following names in the FrameSet:
frame name = “top”
frame name = “middle”
frame name = “bottom”
I don’t understand how to set the target of the Deluxe Tuner navigational link to populate the frame “middle” or “bottom”
When I try to input my own name it will not allow me to do so.
We are using the “top” (horizontal) frame as a header which will contain the navigational component we developed using your product.
We are using the “middle” frame to contain most of the html pages the user will load
We are using the “bottom” frame to contain auxiliary text
Can you help me?
A: More info about the installation of the menu in cross-frame mode youcan find here
http://deluxe-menu.com/cross-frame-mode-sample.html
You should replace dm_init() function with dm_initFrame() function.
Please, open your data.js file with the menu parameters in any texteditor and change it.
You should write, for example so:
dm_initFrame("frmSet", 1, 2, 0);
Q: Is there a way to center floatable menus horizontally on a page?
I used to use absolutePos=0, and all of my menus were centered ok, but when I tried floatable=1 I found that I had to change toabsolutePos=1 to get the menu to float, and this messed up my centering. Since I have multiple menus of different widths, I'd rather not have to hard-code the menu width, but please let me know if there's a better way.
A: Notice, when you use floatable menu you can't use relative menu position.
So, if you use
var absolutePos = 0;
and to center the menu you use <p> or <div> with the center alignment your menu won't float.
To center your floatable menu you should set absolute coordinates.
Q: ["item text", "javascript:your_code_here", ...]
This won't work the java script executes when the link is clicked it is not the link itself.
Below is what I normally use and how would I incorporate that?
<a onclick="NewWindow(this.href,'name','490','400','yes');return false;" href="web/equipment/hydraulic_truck.htm">
A: I'm not sure I understand you.
You can use
NewWindow(this.href,'name','490','400','yes');
code in an item link:
["text", "javascript:NewWindow(url,'name','490','400','yes');"]
But if you don't want that, you can just insert <a> into an item text.
Q: Is there a way to programmatically close a hover popup via javascript?
A: You can close the popup using the following function:document.getElementById('win').hide();
Unfortunately it won't work if you use iframe as window content.
You open another page in the popup (in Iframe) so you cannot access
document.getElementById('win').hide();
element which is situated on the first page.
When you use text or object_id as window content the content of the popup will be situated
on the same page so you can access document.getElementById('win') element and hide it.
There is a workaround for Iframe.
Use text as content type and add the following code inside popup:
<a onclick="document.getElementById('win').hide();">...</a> <iframe></iframe>