PDA

View Full Version : Jim's DHTML Menu problem with horizontal coordinate in IE6



sonatine
03-11-2008, 01:10 PM
1) Script Title:
Jim's DHTML Menu V5.7
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex1/jimmenu/index.htm
3) Describe problem:
This menu works fine in firefox and IE7, but in IE6 it appears more to the right because the position coordinate is not the same.

ex: to work good in IE7 i need to set the horizontal coordinate to 240 px, but in the IE6 this value must be 120px to work properly. If i left the 120 px in IE7 the menu appears out of the top banner, if i change to 240 px in the IE6 it appears over the other menu buttons in the top banner.

the line code is "//Main Menu items:
menus[0] = new menu(22, "horizontal", 120, 27, 20, -2, "#D1F004", "#D1F004", "Arial, Helvetica, sans-serif", 8,
"bolder", "bold", "white", "white", 0, "white", 0, "0", false, true, true, true, 5, false, 4, 4, "black");
menus[0].addItem("#", "", 160, "left", "SIMULADORES ON-LINE", 1);"

the red value is the coordinate.. i tried to change this value to a percentage but it not works..

it says there "Menu can be set to float, so it remains in the same position relative to an item when the window is resized. New in v5.7"

can this solve my problem? but what should i do?

thanks for any tip :)