Recent Questions
Q: What I would like is a link inside the popup window that closes the mouseover popup window. I tried moving the "close" link from the main page into the popup window html but I get a Javascript error when I click on that link.
A: See, if you load a different page in your popup window (iframe) suchlink won't work in it.
If you add the content of the mouseover popup window in DIV (so, it will be thesame page) such link will work.Q: When I use API like <script>dm_ext_deleteItem(0, 0, 0);</script> it works fine in my first dhtml drop down menu code (menu.js) but I'm unable to reach second one (menu_gauche.js). I’ve tried this : <script>dm_ext_deleteItem(1, 0, 0);</script> and the page came’s out with a JavaScript error on that line. I’ve read on your side about dm_ext_deleteItem api and the first parameter is for menu Id … If there anything that I have forgot ??
A: You cannot use the following function for the tree menu:
dm_ext_deleteItem(1, 0, 0);
There is no such function there:
You should use
dtreet_ext_deleteItem (0, 0)
for the tree menu, see more info:
http://deluxe-tree.com/functions-info.html
You should set menuInd=0 if you have only one dhtml drop down menu code on your page.
Q: Everything will go fine during setup, until I get further into it, I will get an error. It says error on a line of text that isnt even there. The line of text does not exists. Please let me know how I can correct this issue and get the program running right.
A: See, it is not correct to write " symbols within menuItems:
["||A23 (3" DIAM)","http://www.interlight.biz/products.int?Category=INCANDESCENT&Subcat=A+SHAPE&Dept=A23+%283%22+DIAM%29",
Try to write your last items in the following way:
["||A15 (2" DIAM)","http://www.interlight.biz/products.int?Category=INCANDESCENT&Subcat=A+SHAPE&Dept=A15+%282%22+DIAM%29", "", "", "", "", "", "", "", "", "", ],
["||A19 (2.5" DIAM)","http://www.interlight.biz/products.int?Category=INCANDESCENT&Subcat=A+SHAPE&Dept=A19+%282%2E5%22+DIAMETER%29", "", "", "", "", "", "", "", "", "", ],
["||A21 (2.6" DIAM)","http://www.interlight.biz/products.int?Category=INCANDESCENT&Subcat=A+SHAPE&Dept=A21+%282%2E6%22+DIAM%29", "", "", "", "", "", "", "", "", "", ],
["||A23 (3" DIAM)","http://www.interlight.biz/products.int?Category=INCANDESCENT&Subcat=A+SHAPE&Dept=A23+%283%22+DIAM%29", "", "", "", "", "", "", "", "", "", ],
Q: I have a question
How can i insert html code into Tree Menu?
Example: I need to put a form, inside of a menu
A: You are able to paste any html code within items.
So you can paste a form too.
For example:
var tmenuItems = [
...
["||<FORM method=GET action='http://www.google.com/custom'><input name='as_q' value='search
the web' size=15 style='font-size:10'> <INPUT type=hidden name=cof
value='LW:144;L:http://domain.edu/images/sulogo.gif;LH:45;AH:center;GL:0;S:http://domain.edu;
AWFID:e01cb67b8afe383e;'></form>","",
"images/icons/search.gif", "", "", "", "", "2", "", "", "",],