Is there a way to fix it so that in the dhtml tree menu when you have link set it doesn't expand the menu and then load the page. It should only load the expand the menu if I click the + image if I have a link...
If your item has link and subitems at the same time you should clickon the item to open item's link and click on the "+" sign to expandthe item.
Make sure that you've set the following parameter:
function dtreet_ext_setPressedItem (menuInd, itemID)
Please, see here:
You can also set
var tsaveState = 1;
More info you can find
To expand specific items you should use API function
function dtreet_ext_expandItem (itemID, expand)
We currentlly have a menu that uses standard html hyperlinks to open a new window with _blank as the target. Unfortunately, the size of the window is controlled by the browser and we want to be able to control it. The only way that we know how to do that is to use the window.open client-side function and pass the window's dimensions. Here is a sample of the code that would do that:
I am in the final stages of testing and need some advice and help.
I have two problems I am trying to address.
1) Arrows on dropdown menu select.
2) Load time.
Please notice, I have to use absolute paths for the dropdown menu select to work.
1) I can't get the arrows to show, so I tried to add the code for images in the first bold sentence below.
2) I tried to add the second line for absolute paths for links to increase load time in the second bold sentence. It appears that the load time is increased by about 3 seconds and that the menu is the last to load, even though I have tried to have this as the first html to load.
Neither one of my commands appear to work.
This site has over 10,000,000 items on it, and I can't wait to get this up and running. Your program is the perfect solution for anybody with a website.A: 1) Now you have:
You should set your arrows in the following way:
2) Your menu is very large. I advise you to us AJAX like technology.
You can also try the following things:
move all <script> calls into <head>, but delete dm_init() function from mainmenu.js file -- move them instead offiles calls, i.e.:
It this case data will be loaded when <head> will load, but after thatdropdown menu select must be shown quickly.
Let me know about results.