Afternoon everyone – Onclick of “contact “Pop-Up “Contact-Sms-Centre.php'
Can anyone help with this – iv got a php page that returns the following as part of a set of results
<a href='Contact-Sms-Centre.php'>Contact</a> $city $country<hr
The contact sms centre is width=450,height=350'
I also have the popup.php as shown below
<html>
<head>
</head>
<body>
<?php
print "<script type='text/javascript'>";
print "window.open('Contact-Sms-Centre.php','new_window1','status=1,scrollbars=0,resizable=0,menu=no,left=450,top=275,width=450,height=350');";
print "</script>";
?>
</body>
</html>
The Only way I can get the POPUP to work is if I open popup.php and press refresh ???
This action will POPUP the contact-sms-centre but it also leaves the blank popup.php in the back ground.
How I’d like it to work is –
Once I click on “Contact” in the following code <a href='Contact-Sms-Centre.php'>Contact</a> $city $country<hr
I would like the sms-centre window to popup on the page the above results are returned too ?? for this example the results page is named results.php
If anyone can reply with how to achieve my goal with the popup and explain where I am going wrong
Help, like always is very much appreciated – as is – Your input.