My Blog Title Here

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 25, 2008

Is it possible to use more than one cascading menus in one Site?

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

Q:

Is it possible to use more than one Menu in one Site, for example with

<script type=”text/javascript”>var dmWorkPath1 =
“menue/produkt.files/”;</script>
<script type=”text/javascript”
src=”menue/produkt.files/dmenu.js”></script>
<script type=”text/javascript”>var dmWorkPath2 =
“menue/navigation.files/”;</script>
<script type=”text/javascript”
src=”menue/navigation.files/dmenu.js”></script>

unfortunately this syntax doesn´t work

A:

You can use as many menus as you want on the one page.

But you should call dmWorkPath parameter and dmenu.js file only once
on the one page.

You cannot write dmWorkPath1 and dmWorkPath2. Your cascading menus won’t work
correctly in that case.

You should write
<!– Deluxe Menu –>
<noscript><a href=”http://deluxe-menu.com”>cascading menus by Deluxe-Menu.com</a></noscript>
<script type=”text/javascript”>var dmWorkPath = “menudir/”;</script>
<script type=”text/javascript” src=”menudir/dmenu.js”></script>
<!– (c) 2007, http://deluxe-menu.com –>

and call several data files:
<script type=”text/javascript” src=”menudir/data1.js”></script>

<script type=”text/javascript” src=”menudir/data2.js”></script>

<script type=”text/javascript” src=”menudir/data3.js”></script>

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 6, 2008

Will I be able to create cascading menus on my iMac G5?

Filed under: Uncategorized — Tags: , — admin @ 11:20 pm

Q:

Will I be able to create cascading menus on my iMac G5? or is this just PC
compatible software?

A:

To create your menu on MAC you can use HTML version of Deluxe Tuner (for MAC OS). You can find it here:
http://deluxe-menu.com/deluxe-tuner-info.html

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.

September 28, 2008

I’m looking for a cascading menus system that can be placed in a cell.

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

Q:

I’m looking for a cascading menus that can be placed in a cell. I
think is easy and fast way to make pages. Is is possible with your product?

A:

Thanks for your interest in our products.
Yes you can paste the menu inside the <div> or <table> tag.

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;}

For some reason all of the cascading menus items are squished together

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

Q:

For some reason all of the cascading menus items are squished together
when I put the js code in my page. Is my site’s CSS overriding the
ones set in the menu css? If so how do I get around this?

A:

See, the problem is that the script can’t get css properties of the object if they are described in separate .css block (or file).
To get the value you should move .css style into style=”" attribute.

Please, try to add your
css file -> inline css

Powered by WordPress