Foros del Web » Creando para Internet » CSS »

Duda con _blank en menu dhtml

Estas en el tema de Duda con _blank en menu dhtml en el foro de CSS en Foros del Web. Hola amigos de foros del web, primero felicitar a los administradores ya q esta muy bonita la nueva presentacion del foro Mi duda es que ...
  #1 (permalink)  
Antiguo 02/07/2007, 21:11
Avatar de sandrox23  
Fecha de Ingreso: abril-2005
Ubicación: Lima - Peru
Mensajes: 274
Antigüedad: 19 años
Puntos: 0
Exclamación Duda con _blank en menu dhtml

Hola amigos de foros del web, primero felicitar a los administradores ya q esta muy bonita la nueva presentacion del foro

Mi duda es que estoy modificando un menu en dhtml este esta en javascript pero se enlaza a estos css menu_array.css y mmenu.css, en el menu_array.css deseo q los hipervinculos sean en una nueva ventana osea "_blank" y no se donde modificar esto.

Aqui les dejo el menu_array.css

Código PHP:
/*
 Milonic DHTML Menu
 Written by Andy Woolley
 Copyright 2002 (c) Milonic Solutions. All Rights Reserved.
 Plase vist http://www.milonic.co.uk/menu or e-mail [email protected]
 You may use this menu on your web site free of charge as long as you place prominent links to http://www.milonic.co.uk/menu and
 your inform us of your intentions with your URL AND ALL copyright notices remain in place in all files including your home page
 Comercial support contracts are available on request if you cannot comply with the above rules.

 Please note that major changes to this file have been made and is not compatible with versions 3.0 or earlier.

 You no longer need to number your menus as in previous versions. 
 The new menu structure allows you to name the menu instead, this means that you can remove menus and not break the system.
 The structure should also be much easier to modify, add & remove menus and menu items.
 
 If you are having difficulty with the menu please read the FAQ at http://www.milonic.co.uk/menu/faq.php before contacting us.

 Please note that the above text CAN be erased if you wish as long as copyright notices remain in place.
*/

//The following line is critical for menu operation, and MUST APPEAR ONLY ONCE. If you have more than one menu_array.js file rem out this line in subsequent files
menunum=0;menus=new Array();_d=document;function addmenu(){menunum++;menus[menunum]=menu;}function dumpmenus(){mt="<script language=javascript>";for(a=1;a<menus.length;a++){mt+=" menu"+a+"=menus["+a+"];"}mt+="<\/script>";_d.write(mt)}
//Please leave the above line intact. The above also needs to be enabled if it not already enabled unless this file is part of a multi pack.



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

// Special effect string for IE5.5 or above please visit http://www.milonic.co.uk/menu/filters_sample.php for more filters
if(navigator.appVersion.indexOf("MSIE 6.0")>0)
{
    
effect "Fade(duration=0.2);Alpha(style=0,opacity=88);Shadow(color='#777777', Direction=135, Strength=5)"
}
else
{
    
effect "Shadow(color='#777777', Direction=135, Strength=5)" // Stop IE5.5 bug when using more than one filter
}


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

style1=[                // style1 is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
"ffffff",                    // Mouse Off Font Color
"1B120A",                // Mouse Off Color de fondo
"000000",                // Mouse On Font Color
"F0E7D3",                // Mouse On Background Color
"000000",                // Menu Border Color 
11,                        // Font Size in pixels
"normal",                // Font Style (italic or normal)
"normal",                    // Font Weight (bold or normal)
"Verdana, Arial",        // Font Name
4,                        // Menu Item Padding
"img/arrow.gif",            // Sub Menu Image (Leave this blank if not needed)
,                        // 3D Border & Separator bar
"666666",                // 3D High Color
"000099",                // 3D Low Color
"Purple",                // Current Page Item Font Color (leave this blank to disable)
"pink",                    // Current Page Item Background Color (leave this blank to disable)
"img/arrowdn.gif",            // 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)
]



addmenu(menu=[        // This is the array that contains your menu properties and details
"mainmenu",            // Menu Name - This is needed in order for the menu to be called
0,                    // Menu Top - Posicion vertical
11,                // Menu Left - Posicion Horizontal
104,                    // 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"
style1,                // Properties Array - this is set higher up, as above
1,                    // Always Visible - allows the menu item to be visible at all time (1=on/0=off)
"left",                // Alignment - sets the menu elements text alignment, values valid here are: left, right or center
effect,                // Filter - Text variable for setting transitional effects on menu activation - see above for more info
,                    // Follow Scrolling - Tells the menu item to follow the user down the screen (visible at all times) (1=on/0=off)
1,                     // Horizontal Menu - Tells the menu to become horizontal instead of top to bottom style (1=on/0=off)
0,                    // Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on/0=off)
,                    // Position of TOP sub image left:center:right
,                    // Set the Overall Width of Horizontal Menu to 100% and height to the specified amount (Leave blank to disable)
,                    // Right To Left - Used in Hebrew for example. (1=on/0=off)
,                    // Open the Menus OnClick - leave blank for OnMouseover (1=on/0=off)
,                    // ID of the div you want to hide on MouseOver (useful for hiding form elements)
,                    // Reserved for future use
,                    // Reserved for future use
,                    // Reserved for future use

,"Home","index.php",,"Pagina de iNICO",// "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"Usuario Nuevo&nbsp;&nbsp;","show-menu=directories",,"",1
,"User Panel&nbsp;&nbsp;","show-menu=downloads",,"",1
,"Soporte Mu&nbsp;&nbsp;","show-menu=network",,"",1
,"Ranking&nbsp;&nbsp;","show-menu=other",,"",1
,"Search&nbsp;&nbsp;","show-menu=search",,"",1
])

    
addmenu(menu=["directories",
    ,,
185,1,"",style1,,"left",effect,,,,,,,,,,,,
    ,
"<img src=img/newsimage.gif border=0>&nbsp;Registro","http://simplythebest.net/drivers",,,1
    
,"<img src=img/newsimage.gif border=0>&nbsp;Reglas","http://simplythebest.net/drivers",,,1
    
,"<img src=img/newsimage.gif border=0>&nbsp;Cliente","http://simplythebest.net/drivers",,,1
    
,"<img src=img/newsimage.gif border=0>&nbsp;Guias","http://simplythebest.net/drivers",,,1
    
,"<img src=img/newsimage.gif border=0>&nbsp;Metasearch","http://web.simplythebest.net/",,,1
    
])

    
addmenu(menu=["network",
    ,,
130,1,"",style1,,"left",effect,,,,,,,,,,,,
    ,
"Forum","http://simplythebest.net/sponsors.htm",,,1
    
,"Chat","mailto:[email protected]",,,1
    
,"Baneados","mailto:[email protected]",,,1
    
,"Cambio de Clave","http://simplythebest.net/link2us.html",,,1
    
])
    
    
addmenu(menu=["downloads",,,150,1,,style1,0,"left",effect,0,,,,,,,,,,,
    ,
"<img src=img/newsimage.gif border=0>&nbsp;Ver Cuentas","http://planmagic.com/business_planning.html",,,1
    
,"<img src=img/newsimage.gif border=0>&nbsp;Reseteo Free","http://planmagic.com/marketing_planning.html",,,1
    
,"<img src=img/newsimage.gif border=0>&nbsp;Reseteo Vip","http://planmagic.com/financial_planning.html",,,1
    
,"<img src=img/newsimage.gif border=0>&nbsp;Distribucion Pts","http://planmagic.com/business_plan/hotel_business_plan.html",,,1
    
,"<img src=img/newsimage.gif border=0>&nbsp;Move Vip","http://plan-a-restaurant.com",,,1
    
])
    
    
addmenu(menu=["search",
    ,,
120,1,"",style1,,"",effect,,,,,,,,,,,,
    ,
"<img src=img/google_icon.gif border=0>&nbsp;Google.com""http://www.google.com",,,1
    
,"<img src=img/yahoo_icon.gif border=0>&nbsp;Yahoo""http://www.yahoo.com",,,1
    
,"<img src=img/excite.gif border=0>&nbsp;RapinET""http://www.rapi.com",,,1
    
])
    

    
addmenu(menu=["Other",
    ,,
125,1,,style1,0,"left","randomdissolve(duration=0.5);Shadow(color='#999999', Direction=135, Strength=5)",0,,,,,,,,,,,
    ,
"Menu Authors Site","http://www.milonic.co.uk/menu",,"Milonic DHTML Menu Site",1
    
])
    

dumpmenus() 
Gracias
__________________
diseniando ........
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 13:34.