Recent Questions Make Dtree With Php Or Javascript
Q: I replaced the code you suggested and I downloaded the current version of Deluxe-Tuner. I also removed the Javascript roll-overs I had elsewhere on the page and created the text.
I still get 'Error on page' when I hover over the first java scrolling menu item.
Please help! I need to buid this site out by Monday.
A: Now you have several errors in your data file:
var menuBackColor="f9f9ec";
You should write:
var menuBackColor="#f9f9ec";
The following parameters cannot be empty:
var menuBorderWidth="0";
var itemBorderWidth="0";
It is not correct to write the java scrolling menu parameter in the following way:
var itemBorderStyle=["1px","1px"];
You should write:
var itemBorderStyle=["none","none"];
If you want to add borders in the subitems you should write:
var itemBorderWidth="1";
var itemBorderColor=["#c59d1f","#c59d1f"];
var itemBorderStyle=["solid","solid"];
And to remove border from the top items you should create Individualstyle and assign it to the top items:
var itemStyles = [
["itemBorderWidth=0","itemBorderStyle=none,none"],
];
["","", "/images/nav_OFF_01.gif", "/images/nav_ON_01.gif", "", "","0", "", "", "", "", ], //assign style 0
["","", "/images/nav_OFF_02.gif", "/images/nav_ON_02.gif", "", "", "0", "", "", "", "", ], //assign style 0
...
Q: I want to have the pop up window display as you mouse over an image/link - is this possible?
A: For example you want to open a popup onMouseover, onClick or
onMouseout on a link.
So, you should create a link on your page and set id="" for it, forexample:
<a href="javascript:;" id="link">Open popup OnClick</a>
<a href="javascript:;" id="over">Open popup OnMouseover</a>
<a href="javascript:;" id="out">Open popup OnMouseOut</a>
In Deluxe Tuner you should set:
onMouseOver - over
onMouseOut - out
onClick - link
So you'll have
deluxePopupWindow.attachToEvent(win,',,onClick=link,onMouseOver=over,onMouseOut=out,')
Q: I am a registered user, and I really like your menu system.
With my old menu system the user could right click on a menu item and the browser would display an option to open the page in a "New Tab".
Is there any way in the javascript menu html to allow the user to choose to open a link in a new tab?.
My users are restricted to using IE.
A: You can try to write the following code for your items:
["<a href='index.html' target='_blank' class='home'>Home</a>","", "", "", "", "Return to Index page", "", "0", "", ],
And create styles
.home{
color: #FFFFFF;}
.home:hover{
color: #FFBEBE;}
Try that.
Q: I want to be able to right-click somewhere on the page and have the menu javascript pop up where the mouse is and have at least one level of submenus available.
A: See how to create javascript pop up menu using JavaScript Tree Menu here:
http://deluxe-menu.com/popup-mode-sample.html