My Blog Title Here

December 22, 2008

Is it possible to add checkboxes to cascading menu and retrieve the checked items?

Filed under: Uncategorized — Tags: , — admin @ 12:10 pm

Q:

Is it possible to add checkboxes to menu items and retrieve the
checked items? I need to create a multiple item select menu. So
the cascading menu would need to remain open and allow a user to select
multiple items and would either submit onmouseout or maybe a “submit
these selections” cascading menu item.

A:

You can try to use Deluxe Tree in that case:
http://deluxe-tree.com

You can paste any html code inside item text, see example here:
http://deluxe-tree.com/data-samples/tree-menu1.js

["+Support", "", "icon5_t.gif", "icon5_to.gif", "", "Support Tip"],
["|Index &nbsp;<select style='width:120px;height:17px;font:normal 10px Tahoma,Arial;'> <option>Section 1<option>Section 2<option>Section 3 </select>", "", "", "", "", "",
"", "0"],
["|Search <input type=text style='width:80px;height:17px;font:normal 10px Tahoma,Arial;'> &nbsp;&nbsp;<input type=button value='Go'
style='width:30px;height:17px;font:normal 10px Tahoma,Arial;'>", "", "", "", "", "", "", "0"],
["|Write Us", "mailto:dhtml@dhtml-menu.com", ""],
["|<INPUT TYPE=checkbox CHECKED ID=chk1
onclick='choosebox1()'>Uncheck this check box for some free
advice","","","",],

["<img src='img/sep.gif' width=113 height=1>"],

You should also add your own code, so your checkbox will work
correctly.

December 11, 2008

Is there a way for cascading menu javascript to load faster?

Filed under: Uncategorized — Tags: , — admin @ 3:25 am

Q:

Is there a different type of cascading menu javascript, other than the way I
have it set up, such as the tree type, that might load faster or
take up less space when the page loads?

A:

You should set
var dmAJAX=1;
create .js files with your submenus and call this files from your main
file, for example:

var menuItems = [

["Home","testlink.htm"],
["Product Info","", , , , , , , "data-samples/data-ajax2.js", ],
["Samples","", , , , , , , "data-samples/data-ajax3.js", ],
["Purchase","testlink.htm"],
["Contact Us","testlink.htm"],
];

/*** data-ajax2.js ****/
var menuItems = [
["Features","testlink.htm"],
["Installation",""],
["Parameters Info","testlink.htm"],
["Dynamic Functions","testlink.htm"],
["Supported Browsers",""],
];

Add dmenu_ajax.js file in the same folder with your dmenu.js file.

Try that.

November 19, 2008

Little vertical spacers between menu items in the cascading menu javascript.

Filed under: Uncategorized — Tags: , — admin @ 2:00 am

Q:

I’m just trying to get those little vertical spacers between menu items in the cascading menu javascript.
How can I do it with Deluxe Menu.

A:

Please, see the following parameters of the menu:

//——- Separators ——-
var separatorWidth = “10″;
var separatorHeight = “20″;
var separatorAlignment = “center”;
var separatorImage = “C”;
var separatorVWidth = “20″;
var separatorVHeight = “10%”;
var separatorVImage = “image.jpg”;

You can create separators between items in the cascading menu javascript using menuItems, for example:

var menuItems = [
["item 1"],
["-"], // this item is separator
["item 2"],
["|item 3"],
["|-"], // this subitem is separator
["|item 4"],
];

November 5, 2008

Why do I get the “Incorrect Copyright” message in IE 7 in my cascading menu?

Filed under: Uncategorized — Tags: , — admin @ 4:45 am

Q:

Why do I get the “Incorrect Copyright” message in Internet Explorer 7. I am
using Deluxe Menu version 1.14. Shouldn’t this support IE5+, including IE7?

This is what I found in you FAQ about this matter:
http://deluxe-menu.com/rq-css-pull-down-menu-copyright-support.html

Do I really need to buy an upgrade for each new browser release when I don’t
need any of the new features in cascading menu???

A:

Thanks for your interest in our products.

Deluxe Menu v1.14 works with “Incorrect Copyright” message in IE7. You
should upgrade to Deluxe Menu v2.0.
The upgrade is free for existing customers.
You can download licensed package from the same link in your license
message.

October 18, 2008

How can I disable items in cascading menu javascript?

Filed under: Uncategorized — Tags: , — admin @ 4:50 pm

Q:
Some menu entries may be disabled and clicking on them
should produce predefined javascript alert message?

A:

To create disabled items you should set “_” symbol in the target
parameter of the menuItems.
If the target is “_” the item is disabled.
You can assign a font color for all disabled items using the following cascading menu javascript parameter:
var fontColorDisabled = “#AAAAAA”;

You can write a javascript code instead of an item link:

["item text", "javascript:alert('Hello World')", , , ,"_",]

That’s all.

August 30, 2008

Are these cascading menu javascript compatible with .NET?

Filed under: Uncategorized — Tags: , — admin @ 12:35 pm

Q:

Are these cascading menu javascript compatible with .NET?

A:

Yes, Deluxe Menu works in .NET.
Deluxe Menu is a Javascript product. It means that it works on a
client side and it doesn’t work on a server side as ASP.NET script.
So, you can create the menu using standard html page and them move
menu code within .asp page.

August 28, 2008

Can I make cascading menu javascript so a user can open a link on a Deluxe-Menu in a new browser tab instead of a new window using IE?

Filed under: Uncategorized — Tags: , — admin @ 2:30 pm

Q:

Can I make cascading menu javascript so a user can open a link on a Deluxe-Menu in a new
browser tab instead of a new window using IE?

I really like your menu system.

A:

You can try to write the following code for your items:

["<a href='index.html' target='_blank' class='home'>Home</a>","", "", "", "", "", "", "", "", ],

And create styles
.home{
color: #FFFFFF;}
.home:hover{
color: #FFBEBE;}

Powered by WordPress