View Full Version : Pop Up window help

10-12-2006, 05:09 PM
Hi all, im having a problem. I have two diffrent links that i want to open in two popup windows one a normal window size popup and the secound 100 by 200. Is this at all possible? Here is what i have so far

<code><script type="text/javascript">

function twoWindows (one,two) {

<a href="http://nucrisp.com/home.html" onclick="twoWindows('http://www.apparelcatalog.net/asi/','http://nucrisp.com/Untitled.html'); return false">hi</a>

Mr J
10-12-2006, 05:47 PM
You could do it this way

<script type="text/javascript">
function twoWindows(url){
var newWin=open(url,'win1','left=200,top=200,width=100,height=200')
// -->

<a href="http://nucrisp.com/home.html" target="_blank" onclick="twoWindows('http://www.apparelcatalog.net/asi/')">hi</a>