Recent Questions Html Tree Js
Q: Could it be possible to explain to me how to create cross-frame horizontal navigation bar..
A: To initialize the cross frame menu call dm_initFrame()
function instead of standard dm_init() function within data.js file:
dm_initFrame(framesetID, mainFrameInd, subFrameInd, orientation);
framesetID - id attribute of the frameset;
mainFrameInd - index of the main frame (where the top-menu is placed), >=0;
subFrameInd - index of the subframe (where the submenus will be shown), >=0;
orientation - frame orientaion: 0 - top-to-bottom, 1 - left-to-right; 2 - bottom-to-top; 3 - right-to-left.
So you should create your menu in Deluxe Tuner, save it.
Create html file with your frame set.
Set ID for the first frameset:
<FRAMESET id=frmSet rows=220,*>
<FRAME id=frame1 src="JavaScript Tree Menu Samples_files/cross-frame-horizontal-1.htm"> //menu frame
<FRAME id=frame2 name=frame2 src="JavaScript Tree Menu Samples_files/testlink.htm"> //content frame
</FRAMESET>
Then you should open your data file in any text editor and changedm_init();
for example to dm_initFrame("frmSet", 0, 1, 0);
You'll find more info here:
http://deluxe-menu.com/cross-frame-mode-sample.html
Q: I was using the trial version with no problems. However, once I upgraded to the full version as above, I am having problems getting my DHTML menus to work properly. I'm using xp pro with ie7. As I said before, I had no problems with the trial version.
Whenever I click on a menu java tab now, ie7 displays an error message in the corner. When clicked it reads:
Line: 18
Char: 16940
Error: 'tabs[...]id' is null or not an object
Code: 0
I am using the 'Microsoft Like Style' tabs template in your DHTML tuner software. I get no errors when the tabs are not linked to hidden <div> tags. However, when they are linked to display the hidden <div> tags I get the error. But they do still display the correct hidden <div> tags after 2 or 3 clicks.
A: Try to set the following menu java parameter:
var bselectedSmItem=0;
Q: I am currently having a look at the use of your drop down menu and was wondering if there was an option to make all of the top menu links the same size?
At current It looks like it is on a percentage increase related to the amount of text, can I change this to a fixed value no matter the text amount?
A: You can use Individual Item Style.
Use that parameter:
var itemWidth=100px
Width of an item (px, % or other units).
For example:
var itemStyles = [
["itemWidth=150"], // style 0
];
var menuItems = [
["Home", "index.html", "myicon1.gif", "myicon2.gif", "Home Page Tip", "_self", "0"], // assign style 0
["About", "about.html", "myicon3.gif", "myicon4.gif", "About Us Tip", "_self", "0"], // assign style 0
];
Q: I downloaded the trial versionto try and it seems like it should do the horizontal sub menus, but not sure what parameter controls it. Can you help?? The effect I am looking for is this:
About Us Product Contact
Widget 1 Widget 2 Widget 3
Hope you can help!
A: You should use the following parameter:
var smViewType=0;