Recent Questions Sharepoint Designer Dataview Webpart Jtree Jquery
Q: We have purchased 'JavaScript Tree Menu...'.
We are integrating the menu into the site. However, we are facing an issue i.e. drop down menu with css overlapping the 'Select' box in the IE 6.0.
I went through the help pages in the deluxe menu website and tried out the Suggestion of assigning 1 to dmObjectsCheck i.e. var dmObjectsCheck=1 and adding the function as below.
function dm_ext_ruleObjectHide()
{
return !document.all;
}
It is throwing some error when we do that. Could you please suggest, what should we to get rid of overlapping. Please see the attached screen for the error. The error captured using Firefox.
A: Check that you're using JavaScript Tree Menu v3.2.5.
Check also that you have dmenu_add.js file in the same folder withdmenu.js file.
Or you can try to set also the following parameter:
var useIFRAME=1;
Q: I’m setting an after item image as follows (this code was generated by Deluxe Tuner, not by hand/text editor):
var afterItemImage=["designimgs/btn-ico.gif","designimgs/btn-ico-active.gif"];
var afterItemImageW=8;
var afterItemImageH=7;
As you can see, the after item image is not appearing in my access drop down menu – do you have any idea why that would be/how to fix?
A: You should create Individual style and assign it for the top access drop down menu items:
var itemStyles = [
["itemBackImage=designimgs/blank.gif,designimgs/blank.gif", "beforeItemImage=designimgs/blank.gif,designimgs/blank.gif", "afterItemImage=designimgs/btn-ico.gif,designimgs/btn-ico-active.gif", "beforeItemImageW=1","afterItemImageW=8", "beforeItemImageH=1","afterItemImageH=7","itemBorderWidth=0"],
];
Q: I can't figure out how to get menu items to swap images to use like a traditional image rollover. In the Dhtml menu, I can change the style background without needing images, or I can use generic images as a background, but I have situations where I need to use unique images for each state of a button.
These unique image buttons contain text and graphics, and there are different images for different states: normal, mouse over, mouse down.
A: The menu has only two states normal and mouseover.
You should use Individual Item Styles.
Please, see the example of JavaScript Tree Menu here:
http://deluxe-menu.com/data-templates/vista-style-02-template-sample.html
You should use "itemBackImage" parameter.
var itemStyles = [
["itemWidth=92px","itemBorderWidth=0","fontStyle=normal 11px Tahoma","fontColor=#FFFFFF,#FFFFFF","itemBackImage=btn_greenblack.gif,btn_green.gif"],
];
Q: What window do I go to in the dhtml menu creater to add the hyperlinks target??? I created menus and submenu but I don't know how to add the hyperlinks to them?
A: You should add links and target in Deluxe Tuner in "ItemParameters" window. See the attached example.To set target for all items you should use the following parameter("Common" section): var itemTarget="_self";