Recent Questions Bind Tree View Menu In Javascript
Q: I've looked through the FAQ's till my eyes burned... I know how to collapse/expand all on page load, but can't find an answer to this specific question
I am using tsaveState=1 and tcloseExpanded=1 and that works great when navigating the javascript vertical tree menu. But I'd like to be able to tell the javascript vertical tree menu to collapse all the way on the initial page load, without resetting those first two variables.
for instance;
a user logs on, goes to the order page, uses the menu to navigate and place an order. After the order is processed through a php verification page, the user is directed back to the order page via the php header() function, with the menu still intact, and the values of the order updated.
But once the user navigates away from the order page, and then returns to complete another order, I'd like the menu items to all be collapsed.
If that's not an inherent design of your menu program, is there a variable that I can pass with the initial load that will cause a full collapse?
A: No, unfortunately there is no such parameter in Javascript/DHTML Tree.
But you can try to delete
var tsaveState=1;
parameter from your data file and add it on your html page directly.
So, on your initial page you can set:
var tsaveState=0;
and on other pages you should set:
var tsaveState=1;Q: I\'m testing out your menu system and I have a question regarding one of our current menu item\'s functionality.
Currently, I have a menu item that performs an onclick window.open function so that it opens a popup window at a certain size and with certain parameters.
Is it possible to have similar functionality with an item on your menu system?
A: You should use a Javascript code with a link field so:
["Text", "javascript:window.open('../Help/Text_Index.htm', 'Help', 'height=450,width=600,scrollbars');"]
Q: I've just put together a new drop down menu box for one of the sites I'm working on and whilst in IE it works fine, in FF the drop down menu box is not appearing over the Flash banner.
I don't understand why as this was put together with the latest version of JavaScript Tree Menu - my understanding was that this issue was resolved a while back?
Can you help me sort this.
A: See fix for flash in Firefox here:
http://deluxe-menu.com/objects-overlapping-sample.html
Q: It works almost ok BUT without the use of Deluxe Tuner. It seems NOT to be able to provide such results for the creation of popups when a link is clicked (not when a page is loaded). On top of that, what am I supposed to enter in the actions tab in the popup generator?
And what is more, when I click on the 1st link I get a fine sample but when I click on the 2nd one, background colour of the 1st link appears for a about second. How do I get rid of that?
A: > On top of that, what am I supposed to enter in the actions tab in the
> popup generator?
For example you want to open a popup onMouseover, onClick oronMouseout on a link.
So, you should create a link on your page and set id="" for it, forexample:
<a href="javascript:;" id="link">Open popup OnClick</a>
<a href="javascript:;" id="over">Open popup OnMouseover</a>
<a href="javascript:;" id="out">Open popup OnMouseOut</a>
In Deluxe Tuner you should set:
onMouseOver - over
onMouseOut - out
onClick - link
So you'll have
deluxePopupWindow.attachToEvent(win,',,onClick=link,onMouseOver=over,onMouseOut=out,')
See the attached example.
> And what is more, when I click on the 1st link here
> http://www.acting.gr/test.html I get a fine sample but when I click on the
> 2nd one, background colour of the 1st link appears for a about second. How
> do I get rid of that?
You have such effect because you use fade-effect for your popupwindows.