View Single Post
(#4 (permalink))
Old
lcp2000 lcp2000 is offline
Registered User
lcp2000 is on a distinguished road
 
Posts: 1
Join Date: Jul 2004
07-09-2004, 10:23 PM

Quote:
Originally Posted by MatrixxHosting
For some reason when I save the reply it adds the 2 underscores in javascript - the web address is in the header bit if it does not work!

Sorry bout that - I tried editing it a few times and each time the format changed on saving ???

Rob

Here's a better solution, IMHO:

<Head> Section:
Code:
<script>
<!-- // Begin
function launch(URL,PopUp,width,height){
popup=window.open(URL,PopUp,"width="+width+",height="+height+",top=100,left=200,resizable=no,scrollbars=no,menubar=no,toolbar=no,status=no,location=no")}
// EOF -->
</script>
<body> Section:
Link Examples
Code:
<p><a href="javascript:launch('http://www.yoursitegoeshere.com','PopUp',400,550)">
Link 1</a></p>

<p><a href="javascript:launch('http://www.yoursitegoeshere.com','PopUp',600,450)">
Link 2</a></p>

<p><a href="javascript:launch('http://www.yoursitegoeshere.com','PopUp',600,600)">
Link 3</a></p>

Note: You can also change the location of the popup by adjusting 
the top and left variables of the script.
Hope this helps...
Reply With Quote