Milonic DHTML Website Navigation Menu target

Posted on 2006-04-14
Last Modified: 2012-08-13
I'm using the Milonic menu - an older version.  I need these links to open in a new window (target=_blank)

How can I modify this code?  I've tried to add target="blank" however it's not working....

"productsmenu",                   // Menu Name - This is needed in order for this menu to be called
77,                          // Menu Top - The Top position of this menu in pixels
0,                          // Menu Left - The Left position of this menu in pixels
137,                          // 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"
EasySampleStyle,              // Properties Array - this array is declared higher up as you can see above
0,                            // 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
"Fade(duration=0.2)",         // 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.
0,                            // 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
//Products menu
,"Storage","",,,1 //this needs to open a new target
,"Pro HD Flex","products/prohdflex.asp?search=prohdflex",,,1
,"High Definition","show-menu=hdmenu","products/high_def.asp?search=solutionsoverview",,1
,"Graphics & Effects","products/graphics_effects.asp?search=software_cards",,,1
,"System Add-Ons","products/system_addons.asp?search=system_addons",,,1
,"CD/DVD Duplicators","products/cddvd_duplication.asp?search=cddvd_duplicators",,,1
,"Clearance Items","products/clearance_items.asp?search=clearance",,,1
,"Lease Information","company/leaseinfo.asp?search=leaseinfo",,,

Question by:jpipitone
    LVL 35

    Expert Comment

    I don't think you can.  This code contains the info to put in the href = you need to modify how the href is generated - so it would not be this code, but other code that would need to be modified.
    LVL 1

    Author Comment

    Actually it worked when I put the target=_blank immediately after the link href.

    You can see it working here: - hover over Products and click Storage.
    LVL 35

    Expert Comment

    No objections, but it is strange that you first say you tried that and it did not work and then that was the solution...
    LVL 1

    Author Comment

    When I first said that it didn't work, it was the double quotes that were throwing it off.  When I removed them, it worked.

    Accepted Solution

    Closed, 500 points refunded.
    The Experts Exchange
    Community Support Moderator of all Ages

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Training Course: Android App Development

    This course will involve creating widgets, customize list view, grid view, spinners, etc. Creating applications using audio, video, and SQLite database. Ending with publication on Google Play.

    Suggested Solutions

    Title # Comments Views Activity
    gzip in express of nodejs 12 38
    Help with stored procedure 30 44
    CSS3 siblings and first-child 3 34
    Bing Maps 1 23
    Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
    Building “do-it-yourself” web sites has become an epidemic. There are so many blogs, web sites and even books that "teach" you how to build your web site in a few extremely simple and easy steps. Building a web site has become easier than boiling an…
    The viewer will learn how to count occurrences of each item in an array.
    Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now