Recent Questions Free Tree Menu ScriptsQ:
When set up link by using Tuner app, it point to different dir.
For example I set to: c:\test(HTMLfolder)\Test Link\IntrAC-DC.swf,
then Tuner sets: ["|||||Item b SWF","Test Link/IntrAC-DC.swf", , , , "_parent", , , , ],
It does not work until I move linked files to “c:\test(HTMLfolder)\data-samples\Test Link” A: Try to set the following parameters
I want create a vertical dropdown menu with vertical - Submenu's. Is this possible?A: You should set the following parameters to create vertical menu:
So in other words, if I have a horizontal navigation and I select the 3rd index along the menu
and select something from this, how can I make the 3rd index highlighted?A: You can find more info here:
Try to do the following things:
- delete var pressedItem=1; parameter from your data file
- set correct parameter on each page before you call data file, forexample:
function dm_ext_setPressedItem (menuInd, submenuInd, itemInd, recursion)
Sets a current pressed item.
menuInd - index of a menu on a page, >= 0.
submenuInd - index of a submenu, >= 0.
itemInd - index of an item, >=0.
recursion = true/false - highlight parent items.
But notice, to use dm_ext_setPressedItem() you should know ID of selected item and subitem.
You can't get this ID after you reload your page. That is why you should write your own code on PHP.
I have another question regarding the popup window. I need to use an iframe within the popup window. Is there any way I can close the dhtml popup from the page loaded within the iframe? A: You can close the popup using the following function:
Unfortunately it won't work if you use iframe as window content.
You open another page in the popup (in Iframe) so you cannot accessdocument.getElementById('win').hide();
element which is situated on the first page.
When you use text or object_id as window content the content of the popup will be situatedon the same page so you can access document.getElementById('win') element and hide it.
There is a workaround.
Use text as content type and add the following code inside popup:
<a onclick="document.getElementById('win').hide();">...</a> <iframe></iframe>
Your link will work in that case.