Recent Questions Simple Tree Menu In Aspx
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: There is a portion of my site that is set to produce frames and I was wondering if there is more information about setting links in a javascript collapsable menu to selected frame pages?
A: You can specify target parameter for each item in javascript collapsable menu individually.
For example you can specify the name of the frame in the menuItems where you would liketo open your link:
["|Home","testlink.htm", "default.files/icon1_s.gif", "default.files/icon1_so.gif", "", "Home Page Tip", "frame", "", "", "", ],
Q: I have used your Deluxe-menu on my websit. With the browser Opera I have problems with the dhtml scrolling menu item-color. If I select the menu at the first time, the item color is black. After select a menu item the menu item color is #f0e4cc, this is correct. After re-select the menu the item color is #f0e4cc also. After browser re-start the menu item color is black :-(
A: See it is not correctly to write colors in the following way (without # symbol):
var fontColor=["f0e4cc","f0e4cc"];
You should write:
var fontColor=["#f0e4cc","#f0e4cc"];
Your menu will work correctly in all browsers in that case.Q: I have seen menu like this when i scroll the page the manu will scroll follow.....can delux menu do that ?
If can how ?
A: You should use floatable feature.
You should set absolute coordinates for your menu
var absolutePos=1;
var posX="10px";
var posY="10px";
var floatable=1;
You should also check that you have dmenu_add.js file in the samefolder with dmenu.js.