Recent Questions Menu Dtree Justification
Q: Is it possible to make the javascript menu buttons and the text bigger? Or at least the text larger?
Right now the text is so small that they actually look a little blurry.
The only font I can increase is the font on the dropdown menus. but I cant change the font that appear on the actual tabs. If I could increase the font on them that would be great.
A: You should change font in Individual styles.
var itemStyles = [
["itemWidth=92px","itemHeight=21px","itemBackImage=http://www.pursepage.com/wp-content/themes/pinkdoubleheader/data.files/btn_magentablack.gif,http://www.pursepage.com/wp-content/themes/pinkdoubleheader/data.files/btn_magenta.gif","itemBorderWidth=0", "fontStyle='normal 14px Arial','normal 14px Arial'","fontColor=#FFFFFF,#FFFFFF"],
];
Q: I have a table with uneven Rows, Cols.
I would like to make popup menu in java script that displays menu next to "2006","2007" or "2008" when I move mouse to these items.
I tried but it not work the way I would like to see.
But I think it is Possible.
A: See how you should create Popup menus here:
http://deluxe-menu.com/popup-mode-sample.htmlQ: I found the problem with de JavaScript Tree Menus:
When the menu is inside the <DIV> </DIV> tags, the menu is shown, but does not scroll.
A: See, you use absolute position for this <div>
<div STYLE="position:absolute;top:151px; left:0px">
But you can use absolute position for the menu. Your menu will scrollin this case.
For example, you should set:
var absolutePos=1;
var posX="0";
var posY="151px";
And install your menu
<div>
<script type="text/javascript" src="data.js"></script>
</div>
Or, write:
<noscript><a href="http://deluxe-menu.com">Javascript Menu by Deluxe-Menu.com</a></noscript>
<script type="text/javascript"> var dmWorkPath = "/";</script>
<script type="text/javascript" src="dmenu.js"></script>
<script type="text/javascript" src="data.js"></script>
Q: I activated option "state saving" but I think there's a problem;
when I open the website and click on an item of the menu, the pressed item becomes red
(up to now it's ok), but if I have topress F5 on the keyboard or press on the refresh button
to refresh the web page, the pressed item loses its color red.
I'd like the pressed item in the dhtml expand menu to maintain its color after the refresh command.
How can I solve this problem?
A: Tree Menu doesn't save a presseditem as it saves a tree state.
It works within 1 page only and if youreload the page you should set a pressed item using Javascript API:
function apyt_ext_setPressedItem(menuInd, itemID)
<script type="text/javascript">
var i = 4 //index of the selected item
onload=setPressed;
function setPressed()
{
dtreet_ext_setPressedItem(0,dtreet_ext_getItemIDByIndex(0, i));
}
</script>