Recent Questions Js Simple Collapse Tree
Q: Just wondering if it's possible to have the sub menu of my collapsible dhtml menu that appear when the "+" is clicked stay open when another page loads. I tried downloading the trial version & can't get that to happen.
Click on "web development" and then "web design portfolio" - when the new page loads the menu closes. Is it possible to have it remember which sub menus were showing when the new page loads?
A: Javascript/DHTML Tree has save state feature. You should set the followingparameter:
var tsaveState=1;
Q: I have another question regarding the popup window. I need to use an iframe within the popup window. Is there any way I can close the onmouseover popup from the page loaded within the iframe? Something like "parent.document.getElementById('windowid').hide();". Any help would be appreciated.
A: You can close the onmouseover 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 accessdocument.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 situatedon 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: Hi There. I wanted to use your product, but couldn’t figure out how multiple users could get varying menus using the file driven approach.
I currently use a java menu that I build on the fly without any files.
The only thing I could come up with was having each user refer to his/her own data.js file, that I can build on demand.
Does that make sense to you?
A: JavaScript Tree Menu is Javascript code only. It requires several .js files andit's generated on a client side.
Theoretically it is possible to have varying menus for multiple users.You should create your own server-side script (for example, php) thatwill change the menu for your users. The menu doesn't support such afeature.
Q: I can not figure out how to get drop-down menus to show up in the Add-Ins on my Microsoft Front Page.
A: JavaScript Tree Menu wasn't developed as Dreamweaver/Microsoft Front Page extension,
BUT you can use it as standard Javascript files. To install the menu
into your html page:
1. open the page in Dreamweaver/Frontpage
2. open html source code of the page
3. add several rows of code (<script> tags).
For info see:
http://deluxe-menu.com/installation-info.html
Notice also that some web editors won't display correctly javascript menus,
you should preview your website in the browser.