Ver Mensaje Individual
  #2 (permalink)  
Antiguo 01/11/2005, 04:21
Avatar de flaviovich
flaviovich
 
Fecha de Ingreso: agosto-2005
Ubicación: Lima, Peru
Mensajes: 2.951
Antigüedad: 18 años, 9 meses
Puntos: 39
Hola zuche!
He aqui parte del script. Y, si no me equivoco, simplemente tienes que darle unos parametros que se encuentran en el archivo config.js:
Código:
var onclickaction="alert" //set to "alert" or "goto". Former is for debugging purposes, to tell you the value of the final selected list that will be used as the destination URL. Set to "goto" when below configuration is all set up as desired. 

var newwindow=0 //Open links in new window or not? 1=yes, 0=no.
.
Código:
var onclickaction="alert"

function goListGroup(){
for (i=arguments.length-1;i>=0; i--){
if (arguments[i].selectedIndex!=-1){
var selectedOptionvalue=arguments[i].options[arguments[i].selectedIndex].value
if (selectedOptionvalue!=""){
if (onclickaction=="alert")
alert(selectedOptionvalue)
else if (newwindow==1)
window.open(selectedOptionvalue)
else
window.location=selectedOptionvalue
break
}
}
}
}
Has lo siguiente:

  1. Borra esto var onclickaction="alert", que esta cerca de la funcion goListGroup
  2. En config.js, cambia los valores a:
    Código:
    var onclickaction="goto"
    var newwindow=1
    
suerte
__________________
No repitamos temas, usemos el Motor de busquedas
Plantea bien tu problema: Ayúdanos a ayudarte.