?
Solved

Milonic DHTML Website Navigation Menu target

Posted on 2006-04-14
6
Medium Priority
?
843 Views
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....

addmenu(menu=[
"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","http://www.1stdesign.com",,,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
,"Desktops","products/desktops.asp?search=desktops",,,1
,"Laptops","products/laptops.asp?search=laptops",,,1
,"Mobiles","products/mobiles.asp?search=mobiles",,,1
,"HDV-MPeg2","products/hdmpeg2.asp?search=hdmpeg2",,,1
,"Software/Cards","show-menu=SubMenu4","products/software_cards.asp?search=software_cards",,1
,"Graphics & Effects","products/graphics_effects.asp?search=software_cards",,,1
,"System Add-Ons","products/system_addons.asp?search=system_addons",,,1
,"Camera/Decks","show-menu=camdeckmenu","products/cameras_decks.asp?search=cameras",,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",,,

])
0
Comment
Question by:jpipitone
  • 2
  • 2
5 Comments
 
LVL 35

Expert Comment

by:mrichmon
ID: 16455732
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.
0
 
LVL 1

Author Comment

by:jpipitone
ID: 16462277
Actually it worked when I put the target=_blank immediately after the link href.

You can see it working here:

http://www.1beyond.com - hover over Products and click Storage.
0
 
LVL 35

Expert Comment

by:mrichmon
ID: 16469848
No objections, but it is strange that you first say you tried that and it did not work and then that was the solution...
0
 
LVL 1

Author Comment

by:jpipitone
ID: 16471113
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.
0
 

Accepted Solution

by:
GranMod earned 0 total points
ID: 16508973
Closed, 500 points refunded.
GranMod
The Experts Exchange
Community Support Moderator of all Ages
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Color can increase conversions, create feelings of warmth or even incite people to get behind a cause. If you want your website to really impact site visitors, then it is vital to consider the impact color has on them.
There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
This video teaches users how to migrate an existing Wordpress website to a new domain.
Suggested Courses
Course of the Month14 days, 7 hours left to enroll

839 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