Recent Questions Menu Tree That Closes
Q: I am currently using your free trial version to see if it will work with an application I am working on. I am having a problem with using it in cross-frames mode when the frame that the sub menu appears in has a vertical scrollbar. Basically I have a header frame and a large content frame below it. The menu itself is appearing in the header frame and the sub menus are dropping down and appearing in the lower frame. There is a vertical scrollbar in the lower (content) frame and when I scroll down, the sub menus get scrolled off the screen. This is because they are being rendered at the very top of the content frame and disappear when the top of the frame is no longer visible due to scrolling. Setting the floatable = 1 attribute does not work because the menu itself is not being scrolled off the screen, just the sub-menu drop down is being scrolled off. Is there anything I can do to make this work with my framed application? Thank you for your time.
A: Unfortunately submenus won't float in cross-frame mode. JavaScript Tree Menudoesn't have such feature now.
Q: Is it possible that when a main button on the home page is clicked and the viewer goes to the subpage, that the navbar will expand to the correct subpage submenu? For example, I click on Agent and when the subpage loads the submenu is expanded under Agent.
I've been trying to get the javascript hide menu bar to stay highlightedwhen clicked on and directed to that page. For example when clickedon Agent, then Agent Home, once that page loads the whole javascript hide menu bar for Agent Home stays highlighted in orange. I haven't been successful, any suggestions?
A: Tree Menu doesn't save a presseditem as it saves a tree state. It works within 1 page only and if youreload the page you should set a pressed item using Javascript API.
You can find more info on our website:
http://deluxe-tree.com/highlight-selected-menu-item-sample.html
Q: At present the javascript drop down menus expand intelligently into the area with more real estate (i.e. up or down). How can I force the menus to only expand down?
A: Set the following parameter:
var subMenuVAlign="bottom";
Q: I purchased the full package for the application. Great job!
I have no questions about generating and/or customizing DHTML menues - it's pretty straight forwards.
I am trying to find out how to generate and customize POPUP WINDOWS.
A: To assign popup windows for links on your page do the following:
1) Open your page (for example index.html page) in any text editor.
Add link in the place where you want to have it and specify the ID (for example: win1) for it, for example:
<a href="javascript:;" id="win1">Click Here to see a window</a>
Change parameters of windows in data files, for example popup-window-XP.js.
Open it in any text editor.
2) Add your content.
You can use HTML content, Iframe (url) or any object on your page as popup windows content - Object ID.
For example select HTML content (winContent parameter in the 'Common' section), for example:
<div style="text-align:center;"><b>Sample content</b></div>
This is a simple HTML code for content. Here you may also set link to content page or ID of some element.
3) In the 'Actions' section specify the id of your link (win1) for the onClick event.
4) For example: open the popup-window-XP.html file in any text editor.
Copy all code for Popup window and paste it in the beginning of the <body> tag:
...
<body>
<!-- Deluxe Popup Window -->
<noscript><a href="http://deluxepopupwindow.com">menu drop down by DeluxePopupWindow.com <script type="text/javascript" src="popup-window-XP.files/dpopupwindow.js"></script>
<script type="text/javascript" src="popup-window-XP.js"></script>
<!-- (c) 2009, DeluxePopupWindow.com -->
5) Copy 'popup-window-XP.files/' folder and popup-window-XP.js file into the samefolder with your index.html (root folder of your website).