HI!! I have an application in php that runs on facebook. Surprisingly it works ok in IE and chrome BUT in mozilla does not open a new window with information .. The code that I´m using is :

<script language="JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>

..
..
<a href="javascript:MM_openBrWindow('detalle5.php?id=<?php echo $array_id[$j];?> ','','scrollbars=yes,resizable=yes,width=645,height=450')">
<img src="images_sai/icono_lupa.gif" width="20" height="15" border="0" ><span class="guevo">&nbsp;&nbsp;&nbsp;Click aqu&iacute; para m&aacute;s detalles<br><br></span></a>

..

You can test in https://www.facebook.com/lunan.shirley?sk=app_190322544333196 . You have to click in LIKE and then in the application just click in the magnifier "CLICK AQUI PARA MAS DETALLES" (sorry is in spanish). If you run in mozilla will NOT open the new window. In chrome and IE works FINE!!!

Anyone can help me. This error is driving me crazy !!!!

Recommended Answers

All 2 Replies

May be pops are blocked in your mozilla check your settings plus this is JS question!

Thanks for replying... But of course the settings are ok for popup windows.I checked the application outside facebook and works fine . But inside facebook does not work...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.