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:37

its urgent plz i want to open a new link in new window


Poster: tahir
Dated: Thursday March 18 2004 - 6:03:29 GMT

hiiiiiii
i want to know how can i set my prporty for a link to open it in a new window from menu bar
plz its urgent
here it is


////////////////////////////////////
// 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
"purple", // 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
158, // 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
,"Home","show-menu=exapmle",#,,1
])

addmenu(menu=[
"example",
,
,
160,
1,
,
PlainStyle,
0,
,
"Fade(duration=0.5);Alpha(style=0,opacity=8;Shadow(color=777777, Direction=135, Strength=5)",
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"Rasa Rugs","http://data2/salproject/changed/rasa_rugs.php"," ",,0





])


Poster: Ruth
Dated: Thursday March 18 2004 - 10:15:33 GMT

It's been a long time since I used v3, but this is from mine when I had some links open a new window

Code:
addmenu(menu=["whatevermenu",
   ,,170,2,,Subs,,"center",,,,,,,,,,,,,
   ,whatever text","http://www.whateverurl.com/ target=_new",,,1
      ])

try target=_new and if that doesn't work, perhaps target=_blank.

Ruth