S
Scott
On the same page, I have a pop-up window that's activated when you hit the Send Button:
<SCRIPT LANGUAGE="JavaScript">
<!--
function newscreen() {
window.open("don-com.html","main","width=470,height=240,history=yes,resizable=no,status=no,scrollbars=no,
menubar=no")
// window.open("index.html", "_self")
}
// -->
</SCRIPT>
On Send button: <INPUT TYPE=submit value="Send It" onClick="newscreen()">
----------------------------------------------------------------------------------------
Elsewhere on the page is a pop-up window activated when clicking on a link:
<SCRIPT LANGUAGE="JavaScript">
function openWindow(url, name) {
popupWin = window.open(url, name,
"width=550,height=675,history=yes,resizable=yes,status=no,scrollbars=yes, menubar=no");
}
</SCRIPT>
On the link: <A HREF="javascript
penWindow('sound.html','Win' )">
------------------------------------------------------------------------------------------
Both scripts works fine together.
Now I want to add a third pop-up window to be activated by clicking on a different link. If I
use the
second script above and point it to a different url (carol.htm), I am stuck using width=550
and height=675,
which is to large for this window.
Is there a script that will give this third pop-up windows it's own dimensions?
Thanks!
Scott
<SCRIPT LANGUAGE="JavaScript">
<!--
function newscreen() {
window.open("don-com.html","main","width=470,height=240,history=yes,resizable=no,status=no,scrollbars=no,
menubar=no")
// window.open("index.html", "_self")
}
// -->
</SCRIPT>
On Send button: <INPUT TYPE=submit value="Send It" onClick="newscreen()">
----------------------------------------------------------------------------------------
Elsewhere on the page is a pop-up window activated when clicking on a link:
<SCRIPT LANGUAGE="JavaScript">
function openWindow(url, name) {
popupWin = window.open(url, name,
"width=550,height=675,history=yes,resizable=yes,status=no,scrollbars=yes, menubar=no");
}
</SCRIPT>
On the link: <A HREF="javascript
------------------------------------------------------------------------------------------
Both scripts works fine together.
Now I want to add a third pop-up window to be activated by clicking on a different link. If I
use the
second script above and point it to a different url (carol.htm), I am stuck using width=550
and height=675,
which is to large for this window.
Is there a script that will give this third pop-up windows it's own dimensions?
Thanks!
Scott