Recent Questions
Q: I am afraid I am still having difficulties.
Key issue is fine, no problems there. However, I cannot seem to make this NOT showing me a window open example when the page opens. I just want to have popups upon click. What I want is to be able to create links, within the same page, that will popup windows of different content and size, all upon click (not upon page loading.
What am I doing wrong here?
In the site I have the following:
1. A www.domain.gr/deluxe-popup-window.files folder
2. A http://www.domain.gr/deluxe-popup-window.js script
3. and my test page creating the popups
So, in my sample page:
1. I do NOT want to have the 1st popup which loads automatically as the page opens
2. I want to have the 2 samples shown there, Sample 2 and Sample 3.
3. These 2 samples must show windows of different width and height.
Please help me here.
Looking forward to your answer.
A: Delete openAfter= text from the deluxePopupWindow.attachToEvent()function in the following file:
http://www.domain.gr/deluxe-popup-window.js
In that case popup window won't show till you click on the link.
deluxePopupWindow.attachToEvent(win,',,,,,')Q: Is it possible to expand vertical collapse menu in a predefined way?
A: You can expand some items by default.
Add '+' sign before items text in that case:
["+Deluxe Tree: XP Style","", "deluxe-tree.files/xpicon1_s.gif", "", "", "XP Title Tip", "", "0", "", "", ],
["|Home","testlink.htm", "deluxe-tree.files/icon1_s.gif", "deluxe-tree.files/icon1_so.gif", "", "Home Page Tip", "", "", "", "data-new.js", ],
"Deluxe Tree: XP Style" item will be expanded by default in that case.
Use var texpanded=1; parameter to expand all menu items by default.
Use function dtreet_ext_expandItem (itemID, expand) API function to expand the specificmenu items dynamically:
http://deluxe-tree.com/functions-info.htmlQ: Go to the "products", then to "Furnaces" or "Humidifiers". Seethe sub menu js items ending with "0"? See how they seem to be cut off on the very far right edge?
A: This is a feature of Firefox 3.0.3.
You'll have such effect if you'll use Trebuchet MS font andtransparency for submenus.
Try to use another font, or set
var transparency="100";Q: If there is a possibility to change the dhtml dropdown menus?
A: You should use API functions.
dtreet_ext_changeItem (menuInd, itemID, itemParams)
More info you can find here:
http://deluxe-tree.com/functions-info.html