PDA

View Full Version : pop up works fine in PC browsers but not in Safari or Firefox in a Mac


ecuatoriano
11-29-2006, 05:07 PM
the code i use in the button in flash is:

on (release){
getURL ("javascript:Abrir_Ventana('venastat.html')");
}

and the code im using in the html between the head tags:

<script language="JavaScript">
<!--
function Abrir_Ventana(el_url) {
var especificaciones="top=100, left=350, toolbar=no,location=no, status=no,menubar=no,scrollbars=no, resizable=no, width=350,height=290"
var titulo="Titulo"
window.open(el_url,titulo,especificaciones);
}
//-->
</script>

the page seems to work very well on every PC browser i´ve tested it on but it is not working in Firefox nor Safari on Macs, is there a reason in the code itself for this? is it operating system specific or is it browser specific?

the link to the page is: www.adndigital.com

cmbarsotti
12-08-2006, 02:53 PM
I fixed a javaScript/Mac issue once by adding semicolons to the ends of each line.

...
var especificaciones="top=100, left=350, toolbar=no,location=no, status=no,menubar=no,scrollbars=no, resizable=no, width=350,height=290";
var titulo="Titulo";
...