Recent Questions Js Tree NavigateQ:
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 need to use an iframe within the popup window.
Is there any way I can close the dhtml window 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 access
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 situated
on 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:
Your link will work in that case.
Please advise.A: You can use dtreet_ext_userClick (itemID) function.
See more info:
var tmenuItems = [
var tmenuitems = [
["<div onClick='urlSubstitution(\'transco/sheet.asp?stype=1\')'>Table of Contents</div>", ""]
The only problem I see is that Firefox doesn't make the sub-menus the right height, and doesn't support the dropshadow, any window effect, although IE6 works fine.
Is there a way to get FF to display correctly?A: You can't see the shadow in Firefox because filters are supported byInternet Explorer 5+ only.
>>> The only problem I see is that Firefox doesn't make the sub-menus the
>>> right height,
Try to specify units in "px".
Please, write so: