Recent Questions Extjs Arabic Treepanel
Q: Need the pricing text in the second-level css menu to be individually styled - ie needs to have colour change and float/align left.
A: You can use any html code for your menu items, so you can try to writeyour menuItems in the following way:
["|Company Registration - <span style='color: #AAA'> $537,50</span>","#", "", "", "", "", "", "", "", "", ],
Q: I have looked through the FAQS on your site, but can’t find a clear answer to this questions:
Can a menu submenu dhtml be triggered to an open state upon onload?
I can get the top level menu over state to show, but the drop downs won’t open.
A: Unfortunately it is not possible to highlight the pressed menu submenu dhtml itemin JavaScript Tree Menu now. You can highlight the top items only.
Q: In IE7 I see the deluxe-menu.com link on the top and no horizontal menu items on my page.
In Firefox it will work fine.
Can you help me to get the Solution?
A: Your browser has JavaScript option disabled.
It means that no one JavaScript element can be run.
You should to enable JavaScript in IE:
Tools -> Internet Options -> Security -> Custom level... -> Scripting -> Active Scripting = Enable
There is no way to enable these preferences automatically, in othercase there are no reasons to create security preferences.
You can use search engine friendly code, so you'll see all yourlinks (for the main items and submenus) when your security settings in IE doesn't allow Javascript.
You can generate search engine friendly code.
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.
You can find this GUI in the trial package.
Run Tuner, load your horizontal menu and click Tools/Generate SE-friendly Code (F3).
Q: Is there a way to programmatically specify which tab is selected in the html tabs navigation?
A: You can set "bselectedItem" and " var bselectedSmItem" parameters based on your link before you call your data file.
For example, move " var bselectedItem" and " var bselectedSmItem" parameters from your data file to your code.
<TD vAlign=top align=left>
/* Select Tab */
<script type="text/javascript" language="JavaScript1.2">
var bselectedItem= var bselectedSmItem= </script>
<SCRIPT src="data.js" type=text/javascript></SCRIPT>
</TD>
You should define seltabs and selsmtabs using server side script.
You can also set it on every page before you call data.js file, for example:
<TD vAlign=top align=left>
/* Select Tab */
<script type="text/javascript" language="JavaScript1.2">
var bselectedItem=4;
var bselectedSmItem=3;
</script>
<SCRIPT src="data.js" type=text/javascript></SCRIPT>
</TD>