My Blog Title Here

December 27, 2008

Is there a way to make the down css menu not reset after a link is clicked.

Filed under: Uncategorized — Tags: , — admin @ 8:45 pm

Q:

Is there a way to make the vertical down css menu not reset after a link is clicked. Now
every time I click a link in the tree menu it takes me to the linked page
but all the menus re-expand.

A:

When user clicks the link, the browser loads a new page and the script re-create the vertical down css menu.
If you want to open the needed section automatically on load you can use the following:

1. Save the state to cookies
var tsaveState=0;
2. Use frames
3. Put the special script on each page of site that will open appropriate section.
(dtreet_ext_expandItem)
See more info here:
http://www.deluxe-tree.com/functions-info.html

September 18, 2008

Still having trouble with placing the menu on a fixed position on firefox. So far its only at my testpage. The down dhtml menu itself moves down if you scroll down.

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

Q:

Still having trouble with placing the down dhtml menu on a fixed position on
firefox. So far its only at my testpage. The
“Trial Version”-Button however stays at the correct place while
the down dhtml menu itself moves down if you scroll down… I hope that is
fixed in the full version??

A:

Now you’re using floating feature for the down dhtml menu:

//— Floatable Menu
var floatable=1;
var floatIterations=3;
var floatableX=1;
var floatableY=1;
var floatableDX=15;
var floatableDY=15;

If you don’t want to use it you should set:
var floatable=0;

September 3, 2008

Can I control how fast the submenus scroll in my down css menu?

Filed under: Uncategorized — Tags: , — admin @ 5:15 am

Q:

I have implemented a deluxe-menu on my client’s website and I had a couple of questions.

1. Can I control how fast the submenus scroll in my down css menu? If you look at the site and hover over Need An Expert?
on the menu and then point to Practice Areas, this submenu seems to scroll slower than if you mouse over “Technology” and scroll that submenu.
The Technology submenu scrolls a lot faster. Is it because there are many more items in the Technology submenu?
I tried to find a setting for “scroll speed” or the like, but I couldn’t find it.

2. In internet explorer, when you mouse over Need An Expert?, Technology the first time you go to the page, there is a 3-4 second
delay before the submenu opens. There are a lot of submenu items under Technology, but in Firefox, there doesn’t seem to be this delay.
Do you know why this would happen in IE? Is there a way to fix it? Could the problem be that each submenu item has a background graphic
and this is causing the delay?

3. When you get to a page on the site and you rollover the top level menu, there is also a delay before the background image of the menu
items shows up. You get a solid blue background color for a second or two (the bgcolor assigned) and then the graphic loads and shows up.
Is there any way around this? I have a javascript to preload the image (back.jpg) but that doesn’t seem to help.

Any help would be greatly appreciated!!!

A:

1. The scroll speed depends on number of items to be scrolled, more items -> faster scroll.
You can decrease the number of items or enlarge the size of submenu.

2,3. Please try to add the following param:
var dm_writeAll = 1;
It will load all backgrounds on page load, no on mouseover.

August 22, 2008

Is there any way to keep the cursor as default on disabled links of down dhtml menu?

Filed under: Uncategorized — Tags: , — admin @ 1:45 pm

Q:

Is there any way to keep
the cursor as default on disabled links? I see that there’s a
general cursor choice, is there any chance to make it individually?

A:

Unfortunately you cannot set cursor type individually for all items.
You can set it only for whole items.

You can try to set a cursor for your <img> tag. for example:
["<img src='deluxe-menu.files/sep_mac.gif' style='cursor: default;'>","", "", "", "", "_", "-1", "0", "", ],

You can also try to set the following down dhtml menu parameter:
var itemCursor=”default”;
for all items and use <a> tags for all links:

["<a href='index.html' target='_blank' class='link'>Home</a>","", "", "", "", "Return to Index page", "", "0", "", ],

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

August 18, 2008

I try to fix the height of the single submenu in my down dhtml menu

Filed under: Uncategorized — Tags: , — admin @ 7:50 am

Q:

I try to fix the height of the submenu “Zone
Climatiques” to 400px but I didn’t find the way to do this.
It worked by setting var smHeight=400px but that setting set all
submenus. I would like set only the height of “Zone climatiques”
submenu.
  Thanks for your help with the down dhtml menu.

A:

You should create Individual Style
var menuStyles = [
["menuBackColor=transparent","menuBorderWidth=0","itemSpacing=1","itemPadding=0px 5px 0px 5px"],
["smHeight=400px"],
];
and assign it to the first item in submenu
["3101 - Ste-Anne-Des-Monts","ProcessClimaticZone/edit.do?id=3101,2003-11-13", , , , , ,"1","stationSubMenu.htm?climaticZoneId=3101,2003-11-13",],

Powered by WordPress