Recent Questions Treeview StylesQ: I already have your product. I need to know if I can call js functions using the .js file in java menu sample.
var menuItems = [
var menuItems = [
Q: I have made a test page.
When you click on 'Graceland' the html popup window opens and then you can click to play the video.
The problem I have is that even when you close the window (assuming the video is not finished) the sound keeps playing. Is there a way to stop this and also stop the download?
A: When you close the html popup window script only hide it. So you video willbe still playing.
You can try to change the content of the popup window before you closeit.
Q: I set a custom target at '_mainFrame' required by Dreamweaver to view in a particular frame. When I click my button it opens in its own window.
Your thoughts would be appreciated.
A: Please, check the following code, for example
["Galerie de photos","photos/index.php", "img/arrow_r.gif","img/arrow_o.gif", , "_self", , , , ],
["Galerie de photos","photos/index.php", "img/arrow_r.gif","img/arrow_o.gif", , "_mainFrame", , , , ],
I suppose that now you have such code
["Galerie de photos","photos/index.php", "img/arrow_r.gif","img/arrow_o.gif", , "_blank", , , , ],
Q: I would like the button in the sub navigation bar to stay white when you navigate to a particular page..
A: 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.