Recent Questions
Q: There seems to be a "glitch" when I use Firefox.
I have rebuilt the page twice but I always end up with themenu floating to the left, instead of under the main menu (the second or third mouseover will correct the issue). Also, sometimes I have to mouseover twice before the submenu comes up (in I.E.).
I have validated...however I wondered if there could be a conflict in the javascripting (yours and mine). Any suggestions?
A: The reason is in your <!DOCTYPE>.
Try to specify units in "px".
var menuWidth="780px";
var menuHeight="27px";
var smWidth="200px";
var smHeight="200px";
It's necessary to specify exact value for Mozilla browsers. It helpsto position menus correctly.
You can also try to set the following parameter:
var dm_writeAll=1;
Q: Drop Down Menu could be the best solution for my website ... but Ihave one important question: I've seen, that it's possible to open the javascript change menu linked contents in the same or in a new window or in a frame ... but is it possible, too, to generate a new tab? To open a new window often is not possible, because most users have popup-blockers installed. And to open the contents in the same window drives the user away from the main page! Open a new tab seems to be less risky ... is there any solution to be used with Drop Down Menu? I tried to use "_tab" instead of "_self" or "_parent", but it did not work!
A: You should use _blank. If your browser supports tabs your link will beopened in a new tab (except IE, in IE it will be opened in a newwindow).
Q: Thanks for swift reply, however:
Tried the dmenu.js (only one we use) at our trial site and get the error :
Line 13
Invalid argument
- as you know this js file is obfuscated to one line, so using a debugger does not apply.
A: See the attached example. I've upgraded your javascript layer menu to Deluxe Menu v3.0.
use data file and engine files from the attachment.
You had several errors in the structure of menuItems.
It is not correct to write
["| Contact us","http://www.imarex.com/home/contact_us","","","","","8","","",],
["||| Energy team","http://www.imarex.com/home/contact_us/energy_team","","","","","8","","",],
You should write:
["| Contact us","http://www.imarex.com/home/contact_us","","","","","8","","",],
["|| Energy team","http://www.imarex.com/home/contact_us/energy_team","","","","","8","","",],
Q: I am using the deluxe menu in a cross frame set-up. The sub menu's are to be in the 'MAIN' frame. All works great until I have a php file loaded into the MAIN frame.. the sub menus will load in the parent frame.. where the main drop down menu is..
Click skip intro or wait for the site to appear… you will see the menu down the left side… if you click the second button down you will load a php blog page into the MAIN frame… then hover over the third button down and you will see the problem with the sub menu.. it works fine when other pages are loaded (click Home and then hover over the screenplay button again.
Everything is local (the blog is loaded and running for our server account)
A: Your menu is situated in http://www.domain.com domain andthis content is situated in http://domain.com domain(without www).
Try to use the same domains for the menu and your content.