|
We run a number of e-commer sites created using Actinic, some thing actinic lact was a way for a person to tell a frend about our products I crated a tell a frend using PHP and Javascript works on 95% of browsers exept for Safari, can some one please tell me where I am going wrong with this code, works with IE, Netscape, Mozila, Opra, Koncora ect but not the Mac Native browser, and it need two as 15% of our client base is Mac users we need for this to work with the mac, if any one can help!
function domywindows() {
//alert('test');
mywondows = window.open('writeme.html','TellAFriend','width=45 0,height=600');
mywondows.document.write("<html>");
mywondows.document.write("<body>");
mywondows.document.write("Working Please Wait........")
mywondows.document.write("<form method='post' name='myform' action='sendm.php' target='_self'>");
mywondows.document.write("<input type='hidden' name='urlis' value='" + window.location + "?osadcampaign=tf'>");
mywondows.document.write("<input type='hidden' name='productname' value ='" + productname +"'>");
mywondows.document.write("</form>");
mywondows.document.write("</body>");
mywondows.document.write("</html>");
mywondows.document.myform.submit();
}
It loads the blank HTML page with the message please wait written on it but will not rewrite the page!
|