I made this pop up code using dreamweaver but when i insert it in my index.php it doesnt work. What am i doing wrong- <script type="text/JavaScript"> <!-- function MM_openBrWindow(theURL,winName,features) { //v2.0 window.open(theURL,winName,features); } //--> </script> </head> <body onload="MM_openBrWindow('http://website.com/filename.html','Bonus','toolbar=yes,location=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=500,height=500')"> </body>
No it's not being blocked....i want to insert the code in a my index file written in php. Do i have to echo it or something. How does that work?