Recent Questions Jquery File Tree Sort
Q: Things are mostly working great. I want my menu to appear centered at the top the page. Here's the code:
<table style="text-align: left; width: 100%;" border="0" cellpadding="2"cellspacing="2">
<tbody>
<tr>
<td style="width: 100%; text-align: center;"><script type="text/javascript" src="navbar.js"></script>
</td>
</tr>
</tbody>
</table>
The table appears at the far left edge of the window. I tried with both absolute (x=20, y=10) and relative (both x and y unset) coordinates. Help!
A: If you want to center the menu paste itwithin the <div > or <table> with a static position and specify a center alignment for it, for example:
<DIV align=center>
<SCRIPT src="data/data.js" type=text/javascript>
</SCRIPT>
</DIV>
<table width=800>
<tr>
<td align=center width=600> </tr>
</table>
Please, set exact value for var menuWidth parameter, for example:
var menuWidth = "600px";
This can help to align your menu correctly in all browsers.
Try also to specify units in "px".
Set also:
var absolutePos = 0;
Q: I have looked and looked but I cannot figure out for the life of me how to make the Icon ontop and the words on the bottom of java menu items, The class A and Class C words need to be at the bottom of the pictures if possible.
A: You can paste any html code within java menu items.
For example:
["<img src='image.gif'> <br>Class A ","","","",""]
Q: We dont want to change the Target, Target will be always _self, but sometime the user would like to open links of easy drop down menu in a new window.
We just wnat to know if posible to do it.
A: I think that it is not possible to create such menu using Pop up menu.
But you can try to write your menuItems in the following way:
["|<a href='http://deluxe-menu.com/parameters-info.html'>Parameters Info</a>","", "", "", "", "", "", "", "", ],
Right click on the "Product Info/Parameters Info" item.
But you should create correct style for <a> tag.
Q: I have bought this from you. What is the name of the divlayer(s)? Here's a bit of the modified menu code:
["|<iframe height=400 width=435 frameborder=0 scrolling=no src=my_bookmarks.asp></iframe>","","","","0",,,],
I open an Iframe inside the javascript menu design item, and it works fine, but is there a way to close it? I know the commands for hide layers, but I can't find any div layer names to use.
A: I'm not sure I understand you.
Do you want to hide your items?
You can try to use API functions
function dm_ext_changeItemVisibility (menuInd, submenuInd, itemInd, visibility)
Find more info here:
http://deluxe-menu.com/functions-info.html