Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Archived Topics for the old Version 3.0 JavaScript Menu
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:35

can any one help immeiately


Poster: tahir
Dated: Friday March 26 2004 - 6:28:53 GMT

sorrry i don't know the version thats why i m repeating it here also



hiiiiiiiii
i m using menu bar in my site
but the problem is that whenever the resolution isa changed ,its size decreases or increases.i just want to get help that how can i make it of same size of page at all resolutions.
waiting..........
regards.

to understand it ere r its some properties:





////////////////////////////////////
// Editable properties START here //
////////////////////////////////////

timegap=500 // The time delay for menus to remain visible
followspeed=125 // Follow Scrolling speed
followrate=40 // Follow Scrolling Rate
suboffset_top=10 // Sub menu offset Top position
suboffset_left=10 // Sub menu offset Left position



PlainStyle=[ // PlainStyle is an array of properties. You can have as many property arrays as you need
"white", // Mouse Off Font Color
"999999", // Mouse Off Background Color (use zero for transparent in Netscape 6)
"black", // Mouse On Font Color
"999999", // Mouse On Background Color5a
"000099", // Menu Border Color
"11", // 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,helvetica", // Font Name
4, // Menu Item Padding or spacing
"arrow.gif", // Sub Menu Image (Leave this blank if not needed)
0, // 3D Border & Separator bar
"ffff00", // 3D High Color
"ccffff", // 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)
"ffffff", // Menu Header Font Color (Leave blank if headers are not needed)
"000099", // Menu Header Background Color (Leave blank if headers are not needed)
, // Menu Item Separator Color
]


addmenu(menu=[
"Mainmenu", // Menu Name - This is needed in order for this menu to be called
110, // Menu Top - The Top position of this menu in pixels
0, // Menu Left - The Left position of this menu in pixels
165, // Menu Width - Menus width in pixels
1, // Menu Border Width
, // Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
PlainStyle, // Properties Array - this array is declared higher up as you can see above
1, // Always Visible - allows this menu item to be visible at all time (1=on or 0=off)
, // Alignment - sets this menu elements text alignment, values valid here are: left, right or center
, // Filter - Text variable for setting transitional effects on menu activation - see above for more info
0, // Follow Scrolling Top Position - Tells this menu to follow the user down the screen on scroll placing the menu at the value specified.
1, // Horizontal Menu - Tells this menu to display horizontaly instead of top to bottom style (1=on or 0=off)
0, // Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on or 0=off)
, // Position of TOP sub image left:center:right
, // Set the Overall Width of Horizontal Menu to specified width or 100% and height to a specified amount
0, // Right To Left - Used in Hebrew for example. (1=on or 0=off)
0, // Open the Menus OnClick - leave blank for OnMouseover (1=on or 0=off)
, // ID of the div you want to hide on MouseOver (useful for hiding form elements)
, // Background image for menu Color must be set to transparent for this to work
0, // Scrollable Menu
, // Miscellaneous Menu Properties


Poster: Ruth
Dated: Friday March 26 2004 - 6:43:26 GMT

Hi Tahir,
That is version 3. I help with it when I can, but remember it's not supported anymore, meaning there is no support from Milonic, only from any helpers on this forum who might know the answers. Give me some time and I'll see if I can figure this out.

Ruth

thanks ruth


Poster: tahir
Dated: Friday March 26 2004 - 7:13:11 GMT

thanks ruth
plz if u can do it immeditely
it will be nice for me
regards


Poster: Ruth
Dated: Friday March 26 2004 - 7:46:31 GMT

Ok, as far as I know there is going to be no way to do what you want. I had to do a bit of research but what it comes down to is this. The lower the resolution some one sets the 'bigger' the image/text, in effect it's like they are zooming in on something, the higher, it means they are zooming out so they can see more. When they set the resolution at 800x600 they have told the computer to display whatever it is [page] in such a manner that it gives them however much of the page can be displayed using that resolution. For example, take an image and put it up, then look at it in different resolutions, the actual image size [say it's 100x100] won't change BUT it will look smaller in 800x600 as opposed to 640x480, and even smaller in 1024x768. How the computer user sees it is based on how they set their resolution. You can't control that. The only possible option I see would be in using styles to code text to be more than 100%, but that would affect all text on the page. If you put the menu in a table cell, you could do a style code with a class which you put only in that table cell telling the text to be say 110% or something. I believe that will apply to the text in the menu, but I am not positive.
Code:
<style type="text/css"> .td { font-family: arial, san-serif, and whatever others you want to put; font-size: 110%; font-weight: bold; [or you can put normal] } </style>


You would then put the menu in a table cell and you would put that class in the cell ie
Code:
<table><tr><td class="td"><script>PlaceMenu("name of your main menu")</script</td></tr></table> for example
That's all I can suggest, if it is something that will work, it will not make the menu look the 'same' size on all resolutions. But, it will make it bigger than normal on them all if the style code does apply to the menu.

Ruth