Recent Questions
Q: Is this tag necessary?
<script type="text/javascript"> var dmWorkPath="scripts/";</script>
Because Dreamweaver will not automatically update the path when the directory changes, (won't change from scripts/ to ../scripts).
A: Yes, it is a necessary tag.
Your menu won't work correctly without this tag.
Q: My office-colleague gilles petremand just bought your "deluxe menu" and all-in-all it looks great!!!!
What we don't manage to do is to create a moving java menu sample based on.
Is this only possible with the "ms office toolbar-like mode" 'coz we'd like to use the image based menue template and change it to a moving one - POSSIBLE?!?
A: To create a movable or floatable menu you should set severalparameters in your data file only.
See more info here:
http://deluxe-menu.com/movable-menu-sample.html
To create movable menu you should set the following parameters:
//--- Movable Menu
var movable=1;
var moveWidth=12;
var moveHeight=20;
var moveColor="#AA0000";
var moveImage="movepic2x20.gif";
var moveCursor="move";
var smMovable=1;
var closeBtnW=13;
var closeBtnH=16;
var closeBtn="closebtn.gif";
http://deluxe-menu.com/floatable-menu-sample.html
To create floatable menu you should set the following parameters:
//--- Floatable Menu
var floatable=1;
var floatIterations=6;
var floatableX=1;
var floatableY=1;
Q: Can I use data from a SQL server using ASP for drop down menu code?
A: You may generate a menu from a database or XML using any server-side script, e.g., PHP, ASP, VB, etc.
However, these scripts don't work inside of Javascript .js files,
so, you should move parameters of a menu from a .js file into an html-page, e.g.:
<!-- Deluxe Menu -->
<noscript><a href="http://deluxe-menu.com">Javascript Menu by Deluxe-Menu.com</a></noscript>
<script type="text/javascript"> var dmWorkPath = "menudir/";</script>
<script type="text/javascript" src="menudir/dmenu.js"></script>
<!-- (c) 2006, http://deluxe-menu.com -->
<script type="text/javascript" language="JavaScript1.2">
// and describe parameters of a menu
var parameter1=value1;
var parameter2=value2;
etc.
var menuItems = [
// here you generate items using server-side scripts (php, asp, vb, etc.)
];
Unfortunately we don't have examples with ASP and SQL.
The example of the menu working with PHP/MYSQL you can find here:
http://deluxe-menu.com/rq-loading-bar-MySQL-support.html
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. Deluxe Menudoesn't have such feature now.