Recent Questions Java Bind Tree View Mysql
Q: I have a question regarding deluxe tab implementation.Can you guide me on how to change tab selection dynamically for the tabbed navigation.
A: Deluxe Tabs doesn't support API functions which can return the selected tab.
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>
Q: However when recreating the menus after deleting all trace of the trial version and loading on the licensed version I have developed problems.
When I create menus and test using expression web on explorer it works well but when published to web the dropdown menu appear but cannot be clicked on to be diverted to the relevant links. Also since loading the licensed version when using the test browser in expression web firefox a message appears as follows “firefox dosen’t know how to open this address, because the protocol (c) isn’t associated with any program”.
Please advise I have loaded the licence in the correct way I’m sure.
A: You cannot use local paths on your website. They won't work.
["Home","", "", "", "", "", "0", "0", "", ],
["|Localmag Homepage","C:/Documents and Settings/ME/My Documents/localmagwebsite/index.htm", "", "", "", "", "", "", "", ],
["|Medway Homepage","C:/Documents and Settings/ME/My Documents/localmagwebsite/medwaytowns/medwayhomepage.html", "", "", "", "", "", "", "", ],
["Charity","", "", "", "", "", "0", "", "", ],
["|childrens","C:/Documents and Settings/ME/My Documents/localmagwebsite/medwaytowns/charities/childrenscharities/childrens_charity_home_page.htm", "", "", "", "", "","", "", ],
["|medical","C:/Documents and Settings/ME/My Documents/localmagwebsite/medwaytowns/charities/medicalcharities/medical_charity_home_page.htm", "", "", "", "", "", "","", ],
["|religious","C:/Documents and Settings/ME/My Documents/localmagwebsite/medwaytowns/charities/religiouscharities/religious_charity_home_page.htm", "", "", "", "", "","", "", ],
You should write
["Home","", "", "", "", "", "0", "0", "", ],
["|Localmag Homepage","localmagwebsite/index.htm", "", "", "", "", "", "", "", ],
["|Medway Homepage","localmagwebsite/medwaytowns/medwayhomepage.html", "", "", "", "", "", "", "", ],
["Charity","", "", "", "", "", "0", "", "", ],
["|childrens","localmagwebsite/medwaytowns/charities/childrenscharities/childrens_charity_home_page.htm", "", "", "", "", "", "", "", ],
["|medical","localmagwebsite/medwaytowns/charities/medicalcharities/medical_charity_home_page.htm", "", "", "", "", "", "", "", ],
["|religious","localmagwebsite/medwaytowns/charities/religiouscharities/religious_charity_home_page.htm", "", "", "", "", "", "", "", ],
Q: I have Deluxe-Menu v2.0.
1. When I make an Item a Seperator using '-' on main menu Items (on a menu verticale javascript) it does NOT work (leaves a blank row) but when I make an Item a Separator using '-' on a Subitem it DOES work (uses the Separatorimage). Why ?
Can I make an Item a Separator on the main menu and get it to use the Separatorimage ?
2. If I set the text value to empty on a main menu Item and then add image paths in the Normal and Mouse Over Icon fields in Item Parameters, all I get on my preview is an image placeholder with a Red X but when I set the text value to empty on a SubItem and then add image paths in the Normal and Mouse Over Icon fields in Item Parameters, the preview DOES show the image. Why ?
How can I get the image to show on the main menu verticale javascript Item ?
A: 1. You should set a separator in the menuItems, for example:
var menuItems = [
["Home","index.cfm", , , , , , , , ],
["-"],
["About Us","about.cfm", , , , , , , , ],];Please, see the following parameters:
//--- Separators var separatorImage=""; //for subitems
var separatorWidth="100%";
var separatorHeight="3px";
var separatorAlignment="right";
var separatorVImage="images/public/separator.gif"; //for the top items
var separatorVWidth="100%";
var separatorVHeight="2px";
var separatorPadding="";
You can send us a copy of your html page (including .js files) ora direct link to your website, so we can check it.
2.You can send us a copy of your html page (including .js files andimages), so we can check it.
Q: How do you specify different number of sub menu columns for each menu heading in the dhtml menu bar?
When I put var smColumns = 5; it changed it for both my multicolumn headings.
A: You should use Individual Submenu Styles, for example:
var menuStyles = [
["smColumns=3"],// 0 style
["smColumns=2"],// 1 style
];
var menuItems = [
["Home","testlink.html", "", "", "", "", "0", "0", "", "", "", ],
["Product Info","", "", "", "", "", "0", "", "", "", "", ],
["|Features","testlink.html", "", "", "", "", "", "0", "", "", "", ], // 0 style
["|Installation","", "", "", "", "", "", "", "", "", "", ],
["||Description of Files","testlink.html", "", "", "", "", "", "", "", "", "", ],
["||How To Setup","testlink.html", "", "", "", "", "", "", "", "", "", ],
["|Parameters Info","testlink.html", "", "", "", "", "", "", "", "", "", ],
["|Dynamic Functions","testlink.html", "", "", "", "", "", "", "", "", "", ],
["|Supported Browsers","", "", "", "", "", "", "", "", "", "", ],
["||Windows OS","", "", "", "", "", "", "", "", "", "", ],
["||Internet Explorer","", "", "", "", "", "", "", "", "", "", ],
["||Firefox","", "", "", "", "", "", "", "", "", "", ],
["||Mozilla","", "", "", "", "", "", "", "", "", "", ],
["||Netscape","", "", "", "", "", "", "", "", "", "", ],
["||Opera","", "", "", "", "", "", "", "", "", "", ],
["Samples","", "", "", "", "", "0", "", "", "", "", ],
["|Sample 1","testlink.html", "", "", "", "", "", "1", "", "", "", ], // 1 style
["|Sample 2 is Disabled","testlink.html", "", "", "", "_", "", "", "", "", "", ],
["|Sample 3","testlink.html", "", "", "", "", "", "", "", "", "", ],
["|Sample 4","testlink.html", "", "", "", "", "", "", "", "", "", ],
["|Sample 5","testlink.html", "", "", "", "", "", "", "", "", "", ],
["|Sample 6","testlink.html", "", "", "", "", "", "", "", "", "", ],
["|Sample 7","testlink.html", "", "", "", "", "", "", "", "", "", ],
["|Sample 8","testlink.html", "", "", "", "", "", "", "", "", "", ],
["|Sample 9","testlink.html", "", "", "", "", "", "", "", "", "", ],
["Purchase","http://deluxe-menu.com/order-purchase.html", "", "", "", "_blank", "0", "", "", "", "", ],
["Contact Us","testlink.htm", "", "", "", "", "0", "", "", "", "", ],
];