Recent Questions
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 can display time in 12 or 24 hour format in the dhtml date picker- however for the selection it only allows 24 hour format.
A: Try to specify date format in the following way:
%L %d, %Y, %l, %I:%M %p
So, you'll have: January 14, 2009, Jan, 03:50 pm
Q: Can you resize the height of a submenu button to 22px? (The main dhtml pulldown menu should remain the same height).
I am sending you html files. Please checked it out and is it possible in delux menu?
A: Set itemHeight=22px for the styles (dhtml pulldown menu and sub):
var itemStyles = [
["itemWidth=200px","itemHeight=22px","itemBackImage=left.files/button-gradient.jpg,left.files/button-gradient.jpg", "fontStyle='normal 14px Arial','normal 14px Arial'","fontColor=#ccd0d1,#a3a377","fontDecoration=none,none"],
["itemHeight=22px","itemBackImage=left.files/button-gradient.jpg,left.files/button-gradient.jpg","itemBorderWidth=1", "itemBorderStyle=solid,solid","itemBorderColor=#a3a377,#a3a377","fontStyle='normal 12px Arial','normal 12px Arial'","fontColor=#ccd0d1,#a3a377","fontDecoration=none,none"],
];
Q: It is possible to have context menu work with your tree?
More specifically, when you right click on a tree node, have a context menu appear.
A: Please, try to use this API function:
function apyt_ext_userRightClick(itemID)
More info you can find here:
http://dhtml-menu.com/tree-examples/dynamic-functions.html