Recent Questions Tafeltree Mouse Over Scrolling
Q: My site requires me to regularly update the drop down menu by inserting a new item at the top of the list.
A: Add items using the following function:
function dm_ext_addItemPos (menuInd, submenuInd, iParams, Pos)
Adds the new item to a submenu.
menuInd - index of a menu on a page, >= 0.
submenuInd - index of a submenu, >= 0.
iParams = [array] - the array of item parameters.
This parameter has the same structure as an item in menuItems array.
You can assign parameters of another existent item of the menu
(for example, when you want to create a duplicate of the existent item) or create new ones.
Structure of iParams:
[item_text, link, icon_normal, icon_over, tip, target, individual_style_index, jsFilename]
Pos - the position in the menu where you want to add new item.
Find more info:
http://deluxe-menu.com/functions-info.htmlQ: "Tools/Use utf8 encode" from my Deluxe Tuner is turned on (with check in it). You mean I will have to uncheck it?
No problem with my pages... it is only with the java swing drop down menu because there are words that doesn't show the correct letters / characters I am encoding both in French and Spanish pages. My boss said, it looks like a virus..(lol..)
A: You should turn on "Tools/Use utf8 encode" property.In that case your data file will be saved in UTF-8 encode. So, youshould set UTF-8 encode on your page too
<meta http-equiv="Content-Type" content="text/html"charset="UTF-8">
If you don't want to use UTF-8 encode on your page you should turn off"Tools/Use utf8 encode" property, save your data file and manuallychange your letters in any text editor.
You can also replace your letters with special sets, for example
É - Capital E, acute accent
var menuItems = [
["É....","testlink.html", "", "", "", "", "", "", "", ],
You can find more info here
http://sunsite.berkeley.edu/amher/iso_8879.html
Q: I donґt understand how may I include content in dhtml tabbed menu.
May you send to meexamples or more information?
A: See in Deluxe Tabs there are two modes:
1. var tabMode=0;
You can create only one level of tabs and assign Object Id's of theDIV's to show when you click on the tab.
["XP Tab 1","content1", "", "", "", "", "", "", "", ],
["XP Tab 2","content2", "", "", "", "", "", "", "", ],
["XP Tab 3","content3", "", "", "", "", "", "", "", ],
["XP Tab 4","content4", "", "", "", "", "", "", "", ],
You should paste your content in the <div> .. </div> tags.
<div id="content1" style=" visibility: hidden;" class="tabPage">
<p align=center><img src="img/logo_DM.gif" width=262 height=56 alt="Deluxe-Menu.com"></p>
</div>
<div id="content2" style="visibility: hidden;" class="tabPage">
<p align=center><img src="img/logo_DT.gif" width=262 height=56 alt="Deluxe-Tree.com"></p>
</div>
<div id="content3" style=" visibility: hidden;" class="tabPage">
<p align=center><img src="img/logo_DTabs.gif" width=254 height=58 alt="Deluxe-Tabs.com"></p>
</div>
2. var tabMode=1;
You can assign only links in this mode.
You should create top level items with subitems.
["XP Tab 1","", "", "", "", "", "", "", "", ],
["|Link 1_1","http://deluxe-tabs.com", "", "", "", "", "0", "", "", ],
["|Link 1_2","testlink.htm", "", "", "", "", "0", "", "", ],
["|Link 1_3","testlink.htm", "", "", "", "", "0", "", "", ],
["|Link 1_4","testlink.htm", "", "", "", "", "0", "", "", ],
["|Link 1_5","testlink.htm", "", "", "", "", "0", "", "", ],
["XP Tab 2","", "", "", "", "", "", "", "", ],
["|Link 2_1","testlink.htm", "", "", "", "", "0", "", "", ],
["|Link 2_2","testlink.htm", "", "", "", "", "0", "", "", ],
["|Link 2_3","testlink.htm", "", "", "", "", "0", "", "", ],
["|Link 2_4","testlink.htm", "", "", "", "", "0", "", "", ],
["|Link 2_5","testlink.htm", "", "", "", "", "0", "", "", ],
["XP Tab 3","", "", "", "", "", "", "", "", ],
["|Link 3_1","testlink.htm", "", "", "", "", "0", "", "", ],
["|Link 3_2","testlink.htm", "", "", "", "", "0", "", "", ],
["|Link 3_3","testlink.htm", "", "", "", "", "0", "", "", ],
["|Link 3_4","testlink.htm", "", "", "", "", "0", "", "", ],
["|Link 3_5","testlink.htm", "", "", "", "", "0", "", "", ],
You can use Object ID as well as Link in both modes. Use the following prefixes within item's link field:
"object:" - means that there is object id after it;
"link:" - means that there is a link after it.
"javascript:" - means that there is a javascript code after it, for example:javascript:alert(\'Hello!\')
So, you should write for example:
["|Link 1_1","object:Content1_1", "", "", "", "", "0", "", "", ],
Q: Then it is a bit annoying now that the menu bars in java does not work for
- Firefoxs
- Safari
For either Windows nor Mac.
According to your browser support this should work.
A: Links in your menu bars in java don't work in Firefox.
Now you have:
["Butiken","http://www.wexthuset.com/default.asp?sp_pid=8&sp_text=8"],
["|Tillbehцr","http://www.wexthuset.com/default.asp?ct=859&sp_pid=2&sp_page=1&sp_psort=22&
sp_sortfield=product_name&sp_sortorder=1&sp_pname=&sp_type=0&select_method=1"],
["||Belysning","http://www.wexthuset.com/default.asp?ct=859&sp_pid=2&sp_page=1&sp_psort=22&
sp_sortfield=product_name&sp_sortorder=1&sp_pname=&sp_type=5&select_method=1"],
["||Bevattning","http://www.wexthuset.com/default.asp?ct=859&sp_pid=2&sp_page=1&sp_psort=22&
sp_sortfield=product_name&sp_sortorder=1&sp_pname=&sp_type=11&select_method=1"],
....
try to write & instead of &.
["Butiken","http://www.wexthuset.com/default.asp?sp_pid=8&sp_text=8"],
["|Tillbehцr","http://www.wexthuset.com/default.asp?ct=859&sp_pid=2&sp_page=1&sp_psort=22&sp_sortfield=product_name&
sp_sortorder=1&sp_pname=&sp_type=0&select_method=1"],
["||Belysning","http://www.wexthuset.com/default.asp?ct=859&sp_pid=2&sp_page=1&sp_psort=22&sp_sortfield=product_name&
sp_sortorder=1&sp_pname=&sp_type=5&select_method=1"],
["||Bevattning","http://www.wexthuset.com/default.asp?ct=859&sp_pid=2&sp_page=1&sp_psort=22&sp_sortfield=product_name&
sp_sortorder=1&sp_pname=&sp_type=11&select_method=1"],
....