Recent Questions Tree Menu And Submenu In Jquery
Q: Is this transparent feature there for individual submenu styles or for individual menu items in scrolling menu? I want that.
A: See, you can use "transparent" value instead of any color in the mainmenu parameters and in Individual styles.
var menuBackColor="transparent";
var menuBorderColor="transparent";
var itemBackColor=["transparent","transparent"];
var itemBorderColor=["transparent","transparent"];
var moveColor="transparent";
var shadowColor="transparent";
var itemStyles = [
["itemBackColor=transparent,transparent","itemBorderColor=transparent,transparent"],
];
var menuStyles = [
["menuBackColor=transparent","menuBorderColor=transparent"],
];
Q: I am testing out your menu system as I try to redesign my site. It is a vertical menu with submenus.
I have hundreds of pages in my site and I'd like to be able to attach your menu system to all of them.
However, I will be making changes to the menu system on a regular basis.
I do not want to go change every program in the site each time I need to make a menu change.
I was hoping you could give me some kind of programming code that I could enter into the <body> section of my html files which would automatically read a file into my prograrm, which contained the menu code.
This way when a menu change is needed, I edit one file, all the programs read that file and display the menu.
As an example of the code I would want read into a webpage at start up:
<script type="text/javascript"> var dmWorkPath="files/";</script>
<script type="text/javascript" src="files/dmenu.js"></script>
<div id="dmlinks" style="font:bold 9px Verdana;color:#FFFFFF;text-decoration:none">
<a id="dmI0" HREF="500main.htm">Home</a>
<a id="dmI2" HREF="tixbbs.htm" TARGET="text">For Sale</a>
<a id="dmI4" href="testlink.html">Place Ad</a>
<a id="dmI5" href="testlink.html">Sources</a>
</div>
<script type="text/javascript" src="data-deluxe-menu.js"></script>
A: If you change the menu parameters only there is no need to change code on each page. You should only replace your old data file (data-deluxe-menu.js) with the new one.
If you don't want to install your menu on each page, you can try to use frames, the menu has a cross-frame mode.
Please, see more info about cross-frame mode here:
http://deluxe-menu.com/cross-frame-mode-sample.html
Also you can use a server-side script (php, asp, vb, etc.) to generate html pages from templates on your server.
Q: I need to use an iframe within the popup window.
Is there any way I can close the dhtml window from the page loaded within the iframe?
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.
Use text as content type and add the following code inside popup:
<a onclick="document.getElementById('win').hide();">...</a><iframe></iframe>
Your link will work in that case.
Q: I tested your code and it works fine now. I don't need the Deluxe Tuner and only used the Java Script code. So please inform me about the expenses of using Java Script code and also related support needs.
A: Deluxe Tuner is a free software.
We support all our clients no matter if they had bought a license or not and what type of the license they have.
More info about license types you can find here.
http://deluxe-menu.com/order-deluxe-menu-purchase.html