Recent Questions Programming Web Tree Html
Q: Do you have a product that serves as a cascading drop down menu where you can override the width of the display?
A: You can use "smart scrolling" feature in this case for the JavaScript Tree Menu.
To disable/enable the "smart scrolling" for the main items and submenus use the following javascript scrolling menu parameters:
var smSmartScroll = 1;
var topSmartScroll = 1; (works if var menuWidth isn't empty)
You can also specify height and width for each separate submenu using the following menu parameters:
var smWidth = "100px";
var smHeight = "300px";
Q: We want to create a hyperlink (lets say google.com) to the item (eg. Industry,International Airlines etc) and display it in the dataframe.
For eg On clicking the 'International Airlines', the hyperlinked content should be displayed on the DataFrame along with expanding the navigation items. Right now it just expands the navigation , but the link doesn't work.
The hyperlink works fine for the subitems. We want to do the same for the main items as well.
A: You can write your top items in the following way:
["<a href='http://google.com' target='DataFrame' style='color: #000; text-decoration: none;'>International Airlines</a>","", "", "", "", "","DataFrame", "", "", ],
Q: Hello. I had a question about the vista templates. Is it possible to extend the width on the java menu buttons to get more text in them? I put to much text and the button is repeating itself. Is there a way to extend the width of the button without the repeat?
A: See images in Vista Templates have the fixed width and height (92 x 21).
You can try to use the following parameter to use combinedbackground for your items, for example:
var beforeItemImage = [,]; //left-side image for normal and mouse over state
var itemBackImage = [,]; //background or image for normal and mouse over state
var afterItemImage = [,]; //right-side image for normal and mouse over state
var beforeItemImageW = '';
var afterItemImageW = '';
var beforeItemImageH = '';
var afterItemImageH ='';
But you should create a small images in any Graph Editor, for example:
button_n_back.gif
button_n_left.gif
button_n_right.gif
button_o_back.gif
button_o_left.gif
button_o_right.gif
Q: I have included your menu in my latest site.
My problem is that the menu javascripts, as opposed to being in a fixed position as stated in the .js file floats up and down with the page... How do I fix this..
A: You should set the following parameter to disable the floating feature:
var floatable=0;