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:
Borra esto var onclickaction="alert", que esta cerca de la funcion goListGroup - En config.js, cambia los valores a:
Código:
var onclickaction="goto"
var newwindow=1
suerte