Recent Questions Javascript Tree Menu Beginner
Q: I'm trying to find a decent, simple, working example of a dynamically-generated DHTML Pop-up Window. Using the "Deluxe Tuner" to generate static files is unacceptable for our use. We must create pop-up menus on the fly.
I tried piecing together a working pop-up window application, but kept getting "Error! Skin Load!" and couldn't figure out what files or where to get them (or put them) for the Windows Vista Graphite skin.
A: Create a new project, choose the Windows Vista Graphite Style for it.
Save your project. Use in your html file this function to open a window for your link :
onclick="deluxePopupWindow.open('window1', 'Content1', 'Window1','width=220,height=100,resizable,scrollbars=no,middle,right,fade-effect','windowsvista_graphite')";
See additional information about these functions here:
http://deluxepopupwindow.com/window-installation-info.html
Q: I'm having a problem with the new v3.9.2 javascript menu source. The drop-down submenus are now going "up" instead of "down".
I've tried the conversion steps in your email and I have even rebuilt the menu from scratch in v3.9.2. In the JavaScript Tree Menu Preview window, the drop-down sub-menus behave properly - transitioning down below the horizontal menu. But it FireFox3, IE7 and Chrome the submenus appear above the horizontal menu.
Also... the transition effect (24 - Alpha Blend) only appears in IE7 - it is not evident in FireFox3 or in Chrome.
A: Set the following parameter:
var subMenuVAlign="top";
> Also... the transition effect (24 - Alpha Blend) only appears in IE7 - it is
> not evident in FireFox3 or in Chrome.
Transitional effects are features of Internet Explorer 5.5+ only.
See more info:
http://deluxe-menu.com/filters-and-effects-sample.htmlQ: I wanted to know how to hide/ disable a menu item for a particular user/roleid in dreamweaver dhtml menu..
A: You can find more info here:
http://deluxe-menu.com/dynamic-functions-sample.html
You can try to use API functions in that case:
function dm_ext_changeItemVisibility (menuInd, submenuInd, itemInd, visibility)
To disable items you should set the target parameter to "_".
You can try to use the following function
function disable()
{
dm_ext_changeItem(0, 1, 1, ["", "", "", "", "", "_"]);
}
to disable your items.
Q: I installed licensed files, entered the key and now the menu appears broken.
You will see under the "Contact Us" image there is a gray line that makes it look broken. I am using IE 6.0.
The line doesn't appear in Firefox. What solution is there to this?
A: The line which you can see on your website is a shadow. You can see it only in IE.
Please see menu parameters, they contains:
var shadowLen=3;
Try to write so:
var shadowLen=0;
var shadowColor="#777777";
var shadowTop=1;