XP Style Menu

Please note that official support for this menu version has now ceased. There are still plenty of users, though, and the forum is still running. Some of our long-time users may be able to help you out.
Post Reply
NormalGod
Advanced
Advanced
Posts: 18
Joined: Tue Jun 17, 2003 1:35 am
Contact:

XP Style Menu

Post by NormalGod »

I can not seem to get the menu strip to fit the monitor, or line up with the actual menu (that is, they are of different heights).

The site-url is:
http://www.nisk.k12.ny.us/nhs/clubs/for ... index.html

The .js file is located at:
http://www.nisk.k12.ny.us/nhs/clubs/for ... u_array.js

Thanks for any help you can give.
Gonna buy a tank and an aeroplane
NormalGod
Advanced
Advanced
Posts: 18
Joined: Tue Jun 17, 2003 1:35 am
Contact:

Post by NormalGod »

Anyone?
Gonna buy a tank and an aeroplane
User avatar
Pico
Beginner
Beginner
Posts: 5
Joined: Tue Jun 17, 2003 5:21 pm
Location: Michigan, USA

Post by Pico »

Have you tried setting the width to 100%?

Code: Select all

100%,     // Set the Overall Width of Horizontal Menu to specified width or 100% and height to a specified amount
There are 10 kinds of people in this world, those who understand binary and those who don't.
NormalGod
Advanced
Advanced
Posts: 18
Joined: Tue Jun 17, 2003 1:35 am
Contact:

Post by NormalGod »

Yep, setting the width doesn't fix it. The example on Milonic's Page works fine, and I copied that code. Thanks anyway.
Gonna buy a tank and an aeroplane
NormalGod
Advanced
Advanced
Posts: 18
Joined: Tue Jun 17, 2003 1:35 am
Contact:

Post by NormalGod »

Not that this is a large problem, but when I don't set XPMainStyle to very specific fonts and sizes, a little white bar appears just outside the last header.

This problem is apparent in the downloadable version of the menu also, and those its fixed on the one I have online, any change in the XPMainStyle characteristics will make it reapper.

Although I would like to fix the problem mentioned in my original post first, any advice on this one would be greatly appreciated too.

BTW Pico, when I do set the Overall width to 100% it declares that there has been an "argument" on line 48. Not sure what that means, but when I set a width for this one:

, // Menu Width - Menus width in pixels

then the error disappers, but it doesn't fix the problem. : )

Maybe fixing the originall error would fix the alignment problem, but I don't know how to do that.

Thanks.
Gonna buy a tank and an aeroplane
NormalGod
Advanced
Advanced
Posts: 18
Joined: Tue Jun 17, 2003 1:35 am
Contact:

Post by NormalGod »

P.S.

Those specific menu settings are:

Code: Select all

XPMainStyle=[                 // XPMainStyle is an array of properties. You can have as many property arrays as you need
"000000",                     // Mouse Off Font Color
"EFEDDE",                     // Mouse Off Background Color (use zero for transparent in Netscape 6)
"000000",                     // Mouse On Font Color
"C1D2EE",                     // Mouse On Background Color
"8A867A",                     // Menu Border Color
"15",                         // Font Size (default is px but you can specify mm, pt or a percentage)
"normal",                     // Font Style (italic or normal)
"bold",                       // Font Weight (bold or normal)
"Verdana, Arial, sans-serif, Geneva",   // Font Name
3,                            // Menu Item Padding or spacing
,                             // Sub Menu Image (Leave this blank if not needed)
0,                            // 3D Border & Separator bar
,                             // 3D High Color
,                             // 3D Low Color
,                             // Current Page Item Font Color (leave this blank to disable)
,                             // Current Page Item Background Color (leave this blank to disable)
,                             // Top Bar image (Leave this blank to disable)
,                             // Menu Header Font Color (Leave blank if headers are not needed)
,                             // Menu Header Background Color (Leave blank if headers are not needed)
,                             // Menu Item Separator Color
]
Gonna buy a tank and an aeroplane
Post Reply