Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

double windows?

Status
Not open for further replies.

jstar7

Programmer
Dec 17, 2002
61
GB
Hi there,

I have a pop up style window which I use for my site. I need to attach a new window to the side of it when the user
clicks the link. So instead of a new window just popping up I want it to "stick" to the side of the other one.
Ive seen it done somewhere but can't work it out.

Cheers for any help!

j

-------------------------------------
...what rhymes with month?
 
Try this...

<html>
<head>
<script>
function openHelpWin(){
moveTo(0,0);
resizeTo(screen.availWidth-200,screen.availHeight);
var helpWin=window.open(&quot;about:help&quot;,'helpWin');
helpWin.moveTo(screen.availWidth-200,0);
helpWin.resizeTo(200,screen.availHeight);
}
</script>
</head>
<body>
<a href=&quot;javascript:eek:penHelpWin()&quot;>Open Help</a>
 
cheers mate!

-------------------------------------
...what rhymes with month?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top