Recent Questions
Q: I’ve tried every configuration available—absolute and relativepositioning and so on. I can’t get the menus to display correctly.
I have to offset the topDX by -150 and so on just to fudge it into a CLOSE position…it certainly doesn’t mirror the preview window
A: See, the problem is that the script can't get css properties of the object if they are described in separate .css block (or file).
In other words, you can't get the value of "position" attribute of the object if the object doesn't have this property within inline style(style="position:absolute"). To get the value you should move .css style into style="" attribute.
Please, try to add your
css file -> inline css, for example:
You should add style="position:absolute;"
to the
<DIV id=navholder>
So, you'll have:
<DIV id=navholder style="position:absolute;">
Q: I want you to start modifying on your menu items in menu.js to get the caption from prestext. If you look at the bottom of commonfooter.html, you will see code like
<a target="_top" class="sidenav" href="<%=strprefex%>WillPlanning.asp?SessionID=<%
=sessionid%>&UserName=<%=Username%>" onclick="RedirectToParentPage=''; return CheckForChanges(1024,'')">
<%=GetPresText("WillCreatorBug",rsmenu)%></a>
A: You can use any html tags within item text, for example:
var menuItems = [
["<a target='_top' class='sidenav' href='<%=strprefex%>WillPlanning.asp?SessionID=<% =sessionid%>&UserName=<%=Username%>'
onclick='RedirectToParentPage=''; return CheckForChanges(1024,'')'>Home<%=GetPresText('WillCreatorBug',rsmenu)%></a>","", "", "", "", "", "", "", "", ],
Q: We are using Deluxe-menu to create dhtml menubar for our website. This website it will be in three languages, English, French and Spanish. In French version, when we insert "Hébergement" in text box and view it in preview is fine, but in actual webpage the accents not right. The following is screen shot of the menu on preview and webpage, please let me know how we can fix this problem.
A: You should set "Tools/Use UTF8 encode" and create your dhtml menubar.Q: Is there any possibility to change the dynamic drop down menu?
A: You should use API functions.
dtreet_ext_changeItem (menuInd, itemID, itemParams)
More info you can find here:
http://deluxe-tree.com/functions-info.html