Page 1 of 1

Javascript Popup

Posted: Wed Nov 17, 2010 4:25 am
by aravona
I've got a simple Javascript popup for a website, which is to contain links.

What I want (and cannot quite grasp) is to get the links to open in the original window. Is this possible? Or will they have to open in a new window?

the website in question On this site, down the bottom is a flashing blue button, which opens the popup window.

I would love some guidance on this if someone has the time to help me :)

Regards,

Aravona.

Re: Javascript Popup

Posted: Wed Nov 17, 2010 12:18 pm
by kaszu
Remove onlick attribute from:

Code: Select all

<a onclick="return popitup('http://www.samleisure.co.uk/wordpress/wp-content/themes/LSO_WPv0.1/popupex.php')" href="http://www.samleisure.co.uk/wordpress/wp-content/themes/LSO_WPv0.1/popupex.php">
Should be:

Code: Select all

<a href="http://www.samleisure.co.uk/wordpress/wp-content/themes/LSO_WPv0.1/popupex.php">