Recent Questions Flash Tree Menu In Javascript
Q: I noticed your excellent smart scroll menu and have a question about it; I notice that it renders the menu from a javascript array - is it possible to make the menu run on an HTML unordered list? The reason being that it's much better for SEO if the dhtml side menu links are actually in the HTML rather than in a huge javascript variable.
A: No, it is not possible. JavaScript Tree Menu is javascript menu.
You can generate search engine friendly code and install it on yourpage.
JavaScript Tree Menu is a search engine friendly menu since v1.12.
To create a search engine friendly menu you should add additional html code within your html page:
<div id="dmlinks">
<a href="http://deluxe-menu.com">menu_item_text1</a>
<a href="http://deluxe-tree.com">menu_item_text2</a>
...etc.
</div>
To generate such a code use Deluxe Tuner application.
Run Tuner, load your menu and click Tools/Generate SE-friendly Code (F3).
Q: No matter where I place the code, the html free menu always appears in the top left of the page,
I need it elsewhere obviously but it simply won't move.
A: You're using absolute position for the menu now.
You should use relative position in that case.
Change the following parameters:
var absolutePos=0;
var posX="0px";
var posY="0px";
Q: Hi, I was wondering if there is a way to leave a main java swing menu bar item highlighted when in that section. For example if I clicked on "Contact Us" and when I am on the contact us page, the "Contact us" navigation would still be highlighted. I appreciate any help you might have, thanks!
A: The java swing menu bar has only two states normal and mouseover. We'll try to add the pressed state in the future.
You can set a pressed item using Javascript API:
function dm_ext_setPressedItem (menuInd, submenuInd, itemInd, recursion)
Sets a current pressed item.
menuInd - index of a menu on a page, >= 0.
submenuInd - index of a submenu, >= 0.
itemInd - index of an java swing menu bar item, >=0.
recursion = true/false - highlight parent items.
But notice, to use dm_ext_setPressedItem() you should know ID of selected item and subitem. You can't get this ID after you reload your page. That is why you should write your own code on PHP.
Q: I have set up the dhtml menu javascript at this site. I have chosen to use the transitional filter from IE6. The main menus and sub menus work fine in IE but in Firefox the sub menus do not appear at all. Is their a fix for this. I realize that firefox does not support IE transitions but Ithought the sub menus would appear when the main item is clicked on. that hs not happened. Go to above URL and vie in both IE and Firefox and you will see what I mean.
A: You couldn't see submenus in FF because you had
var transparency="";
You should set your parameters in the following way:
var transparency="100";
var itemBackColor=["#072450",""];