Hello,
I was wondering if someone could help me with a problem I am having with a js popup.
I was reading this article on quicksmode and when I added the code in the begining, it worked flawlessly.
Meaning the result was a popup saying that popupex.html could not be found, which was expected as this script is not running off of the quicksmode server.
I simply tried to change the url and for some reason I can not get the pop up to work.
I am obviously doing something wrong, i just hope its not that stupid
Here is the code:
in the head:
<script language="javascript" type="text/javascript">
<!--
function popitup(url) {
newwindow=window.open(url,'name','height=200,width=150');
if (window.focus) {newwindow.focus()}
return false;
}
// -->
</script>
and the link in the body:
<a href="popupex.html" onclick="return popitup('http://www.facebook.com/sharer.php?u=http://www.the-irf.com&t=The Irf's Website')">Link to popup</a>
btw, the link is the facebook share php sharing a site i made.
I hope someone can help me with this and I would appreciate any and all help.
Thanks in Advance and Best Regards,
Team 1504.
P.S. I just want the above url,
http://www.facebook.com/sharer.php?u=http://www.the-irf.com&t=The Irf's Website
, to popup.
So if anyone has any other ideas on how to get it to do that and that work please let me know. Thank you again.