Recent Questions
Q: This is the problem I need to solve.
When the page loads with dhtml menu with images in Firefox 3, ALL the copy in ALL the tabs is displayed in the browser and I can't figure out what I need to do to change that. What I want displayed is ONLY the copy assosiated with the default tab.
A: You should add style="visibility: hidden;" for a content DIVs.
<div id="stilotig" style="visibility: hidden;">
<div id="history" style="visibility: hidden;">
...
Q: I am using cross browser drop down menu and I would like to know how I can make a link which displays its target file in 2 frames at the same time.
The menu is placed on my main page and 2 other frames are placed at the same main page too. I would like to send parameters to the mentioed 2 frames from 1 menu item to 2 frames at the same time.
Is it possible?
A: You should call javascript function onClick
function openlinks()
{ window.open('testlink_1.htm','frame3');
window.open('testlink_2.htm','frame2');
}
["||How To Setup","javascript:openlinks()"],
Q: Is it possible to keep the main menu highlightedcorresponding to the page you are in? So, if you're on a specific page that button on the menu will automatically be highlighted.
I searched the FAQ on your site and it gave me something about "Special Parameters" that didn't make sense to me...
A: You should set a pressed item using Javascript API:
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.
Q: Thank you for the information. I have been successful in getting the drop down menu select to appear on my index.htm file.
I'm having some problems fine tuning it. I placed the code and files as indicated on the file. What I get is a menu appearing at the top of the page and a link titled: Trial Version where I want the menu to appear.
The other problem I am having is that the drop down menu select is left justified and I would like it to be centered on my page (table).
A: Check that you're using relative position for the drop down menu select. You shouldset:
var absolutePos=0;
var posX="0px";
var posY="0px";