Recent Questions Simple Tree Css
Q: When we use dhtml menus on our pages it appears behind Flash objects.
A: You should add "opaque" parameter for <object> and <embed> tags.
See, how you should install flash on your pages.
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" height="150" width="732" name="if-header">
<param name="movie" value="images/flash/if-header.swf">
<param name="quality" value="best">
<param name="play" value="true">
<param name="wmode" value="opaque">
<embed height="150" name="if-header" pluginspage="http://www.macromedia.com/go/getflashplayer" src="images/flash/if-header.swf"
type="application/x-shockwave-flash" width="732" quality="best" wmode="opaque" play="true">
</object>
Q: I would like first to thank you for your products.
I downloaded the trial script and it's ok except for Hebrew or Right To Left languages.
Do you have a solution for this issue ??
A: You can use right-to-left languages the same way as in standard htmlcode.
Set "dir=rtl" for <html> tag.
Try that.
Q: When viewed in the DeLuxe Tuner preview mode everything is OK and as desired, but in the IE8 view the dropdown menus are still centered instead of flush left.
A: Try to install the menu in the following way:
<td align="center">
<span style='text-align:left'>
<script type="text/javascript" src="data.js">
</script>
</span></td>Q: I am trying to have the selected top menu w dhtml item remain on the mouseover event after it is selected. It seemed to be working fine when i was just testing with # as a link but when i actually linked to different pages it returns to normal. How do i get this to work.
I tried removing the variable from the data file and calling it using
<script type="text/javascript" language="JavaScript1.2"> var pressedItem=set 1,2,3 depending on page </script>
but this does not seem to work as it does for tabs.
A: You can find more info here:
http://www.deluxe-menu.com/highlighted-items-sample.html
JavaScript Tree Menu has only two states normal and mouseover.
Try to do the following things:
- delete var pressedItem=1; parameter from your data file
- set correct parameter on each page before you call data file, forexample:
<noscript><a href="http://deluxe-menu.com">menu w dhtml by Deluxe-Menu.com</a></noscript>
<script type="text/javascript"> var dmWorkPath = "menudir/";</script>
<script type="text/javascript" src="menudir/dmenu.js"></script>
<script type="text/javascript"> var pressedItem=3;</script>
...
<script type="text/javascript" src="menudir/data.js"></script>
You can also 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 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.