Recent Questions Simple Javascript Tree Node Examples
Q: I purchased the right to use deluxe-menu because I liked how it worked versus my old menu which is your competitor (milonic menu) in the javascript driven menu market.
However, after using your menu for a few months, I have discovered a problem. When I bought the menu, the claim was made it worked with all doctypes. I use "strict" on my web site and want my pages to validate as strict with W3C or WDG validators.
I get a notice of incorrect copyright when I remove the link to yoursite in the heading of the document. Since this line does not validate,I feel that you should provide an adequate alternative to having a unsubstantiated line in your html code. I have looked over the FAQ on your site and have found no remedy. You have a wonderful product and I wish to continue to use your menu. But this one little bugaboo surely can be fixed on your end by altering the requirement to keep the incorrect copyright from appearing even though it shouldn't appear in my opinion.
For instance, I can alter the line and make the link invisible.
Example: <noscript><a href="http://deluxe-menu.com"></a></noscript>
By making the link invisible with no text, it will mean nobody would see the blatant ad for your site. The incorrect copyright notice does not appear under those circumstances, however it still does not validate.
I just want to create web pages that validate! Please help me as a struggling web author to achieve my goal and still use your menu which I paid for! Thanks for any help you can give me.
I love my deluxe-menu! Please help to keep using it.
A: Thanks for your interest in our products.
Try to move <noscript> tag into the <body> tag.
Q: Can I show / hide the javascript floating menu as needed.
A: You should paste javascript code into item's link field of the floating menu,for example:
var menuItems =
[ ["text", "javascript:document.getElementById('dm0m0').style.visibility='hidden'", ...]
];
Q: I have setup some tabs on a site that I am designing and for some reason when i click on a tab and it links to another page it automatically highlights the first tab in the row.
I have triedfiddling with it and have not been able to figure it out. Can someone point me in the right direction to have the correct tab selected in the css tab menu after i click it and goto the page.
A: Deluxe Tabs doesn't support API functions which can return theselected tab.
You can set "bselectedItem" and " var bselectedSmItem" parametersbased on your link before you call your data file.
For example, move " var bselectedItem" and " var bselectedSmItem" parametersfrom your data file to your code.
<TD vAlign=top align=left>
/* Select Tab */
<script type="text/javascript" language="JavaScript1.2">
var bselectedItem=<?php echo $seltabs; ?>;
var bselectedSmItem=<?php echo $selsmtabs; ?>
</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, forexample:
<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>
</span>
Q: I downloaded the trial versionto try and it seems like it should do the horizontal sub menus, but not sure what parameter controls it. Can you help?? The effect I am looking for is this:
About Us Product Contact
Widget 1 Widget 2 Widget 3
Hope you can help!
A: You should use the following parameter:
var smViewType=0;