Recent Questions Folder Tree Expand Collapse Javascript
Q: I have started with the deluxe - looks a little more confusing, but I will persist.
Just to confirm that this is right for me.
1) Will deluxe load quickly?.
2) Will it work with most browsers? Or will user need to download some sort of java file?
3) Can I use it with dreamweaver?
A: 1) JavaScript Tree Menu generally loads faster than other page elements.
It is possible that the speed of showing the menu can be lower if the menu is very large. But it doesn't take so much time.
2) JavaScript Tree Menu works fine in most of browsers on Windows OS, MAC OS, Linux/Unix OS.
More info you can find here:
http://deluxe-menu.com/browsers-info.html
You don't have to install additional software.
Your customer should change security settings in IE to allow Javascript on pages he loads.
When your security settings in IE doesn't allow Javascript onpages you load you can't see a dynamic page content.
There is no way to enable these preferences automatically, in othercase there are no reasons to create security preferences.
3) JavaScript Tree Menu wasn't developed as Dreamweaver/Frontpage extension,BUT you can use it as standard Javascript files. To install the menuinto 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
That's all.
To create and configure your menus use Deluxe Tuner application(included into the trial package):
http://deluxe-menu.com/deluxe-tuner-info.html
Q: Is there a way to specify certian font styles escpecailly a hanging indent on the text of the javascript menu scroll?
A: You should use Individual styles, for example:
var itemStyles = [
["fontStyle=bold 12px Arial,Helvetica", "fontDecoration=none,underline"], // style 0
["fontStyle=normal 12px Arial,Helvetica", "fontDecoration=underline,underline"], // style 1
["fontStyle=normal 14px Arial,Helvetica", "fontDecoration=none,none"], // style 2
];
And assign styles to your items:
var menuItems = [
["1 Item","index.php","","","","_self","0",,,],
["2 Item","","","","","_self","1",,,],
["|Submenu Item","","","","","_self","2",,,],...
Q: Is there a problem with your menu software and IE 7?
My menu was working fine, now that I upgraded the browser to IE 7, the menu doesnot show any more.
A: Try to set exact value for menu width.
For example:
var menuWidth="800px";
Your menu should work fine.
Q: I think I am almost there.
I would like to know a couple of things.
Why the menu does not float?
Why I cannot centre the menu?
A: When you use floatable menu you can't use relative menu position.
So, if you use
var absolutePos = 0;
and to center the menu you use <p> or <div> with the center alignment your menu won't float.
To center your floatable menu you should set absolute coordinates.
var absolutePos = 1;