Recent Questions Movable Js Tree Jsp
Q: I tried to create this html version and it is still not working.
I have saved all of the files in the correct places and what it gives me is just all of the links in a straight line across the top of the page.
I really think it is sitebuilder that is creating the issue with the structure of the head and body tags, but I a am a little new so I may be wrong.
A: You should delete tag from your code.
Please delete the following string from your html page.
<base href="file:///C:/Program%20Files/Yahoo%20SiteBuilder/sites/rainforestanimals/rainforestanimal/test2.html">
Q: I used the drop menu creator to create a simple tab example, and I created a simple HTML file to display the tabs. It initially appears fine when the page first displays (e.g., the correct div is hidden), but when I *first* click on a tab I always get a javascript error deep in the .js code. Then I click around a bit between the tabs and get some display problems (no more javascript errors though), until finally the show/hide logic recovers and all looks ok.
The error I initially get is something like “tabs[…].id is not an object”. I have the IE7 debugger turned on, otherwise I might not ever see this error.
FYI, I tried your example menus on your web site and everything is fine! Maybe the .js files on your web site are not the same as those created by the generator?
A: You should set the following parameter in drop menu creator:
var bselectedSmItem=0;
Q: Click on the option "telefoonlijst" and a submenu has to pop-down… whay is this done not OVER the other object (e.e. the 'frameDESKTOP')
Click index2.htm to see the code is working when the top-frame is 120 pix large!
A: Please, see how you should install the menu in cross-frame mode:
http://deluxe-menu.com/cross-frame-mode-sample.html
Unfortunately, JavaScript Tree Menu can work within 1 frameset only. It can't work within nested framesets.
Notice that you should add dmenu_cf.js file in the folder where your menu is created in.
Q: Now I wonder what I have to do in my script to make dhtml sub menu be displayed horizontal instead of vertical. I want them to display vertical be left - aligned and be shown by a white Background. How can I achieve this?
A: You should set the following parameters:
var smColumns=0;
var smOrientation=1; //horizontal orientation of submenus
set white backcolor for submenus
["itemWidth=60px","itemBackColor=#FFFFFF,#FFFFFF","itemBorderWidth=0","itemBorderStyle=none,",
"itemBorderColor=#FFFFFF,", "fontColor=#404040,#404040","fontDecoration=none,underline"],