Recent Questions Richfaces Tree Load On Scroll
Q: Actually I think we've managed to figure most of the below out, so I'd be grateful if you could give us some pointers with the following instead...
How might we be able to include your javascript menu scripts within e.g. asp tags? We'd like some menu options to be hidden from some users, but I'm getting errors when I put asp tags in your data.js file.
A: It seems to me that you have syntactical error in your code.
Please, check that you don't have double quotes in your code. If you have several quotes you shoulduse back slashes before them, for example:
<%
response.Write( " ['|Test A','javascript:alert(\'Test\');', '', '', '', '', '0', '-1', '', ], " )
%>
["|Loan Profile","../pipeline/loan_profile.asp?id=<%=rsLoans('loan_id')%>", "", "","", "", "", "2"],
Q: I have a problem...
On some computers running IE the menu appears and works correctly, on others it doesn't appear.
There is only a line that says JavaScript Menu by Deluxe-Menu.com.
Both of these computers have the same version of IE running. I have reset the security levels back to default levels on both. Still the menu doesn't appear.
For all practical purposes both copies of IE are the same.
A: You should change your security settings in IE to allow Javascript onpages you load. In other case you can't see a dynamic page content.
There is no way to enable these preferences automatically, in othercase there are no reasons to create security preferences.
You can also use Deluxe Tuner application that allows you to generate additional html code for search engine that can't parse Javascript. So, you can use menu links on browsers that doesn't have Javascript support enabled.
Q: We're willing to use your tool. We saw in FAQ that is possible to read/insert data from a database through PHP.
After some trys it's seem simple, but we need some information on how is data formated e.g:
["||Sample 4","testlink.htm", "", "", "", "", "", "", "", ],
What is supposed to be between the following comas ?
A: Parameters of tmenuItems you can find here:
http://deluxe-tree.com/menu-items-info.html
var tmenuItems = [
[text, link, iconNormal, iconOver, iconExpanded, tip, target, itemStyleInd, itemXPStyleInd],
[text, link, iconNormal, iconOver, iconExpanded, tip, target, itemStyleInd, itemXPStyleInd],
...
];
Q: On my website I am a total of 2 menus being generated. How do I correctly generate "SE-Friendly Code" if I have 2 menu in javascripts? The "DM Links" code that is being generated will have a few of the same dm id because the menus are created seperate. How do I get it so each menu will have different dm id with no overlaps?
A: The identifiers in these links are additional parameters.
<div id="dmlinks" style="font:undefined;color:#000000;text-decoration:none">
<a id="dmI0" href="testlink.html">Home</a>
<a id="dmI2" href="testlink.html">Features</a>
<a id="dmI4" href="testlink.html">Description of Files</a>
You can delete these identifiers or leave them.
So, if you have several menu in javascripts on the same page you should generate twoblocks of search engine friendly code and add them on your page.