Customising the window size
by Fox Rodgers <b0rd0p(at)juno.com>
|
Date: |
Thu, 6 Jul 2000 15:03:27 -0500 |
To: |
hwg-techniques(at)hwg.org |
|
todo: View
Thread,
Original
|
|
Hey coders,
I think I'm gonna start a mailing list just for the writing and tweaking
of pop-up windows, since I spend SO MUCH time (along with other list
members) trying to customise my new and pop-up windows in HTML.
I searched the archives for the perfect fit answer, but was unable to
find anything. Here's my query:
I've been trying to code a link that opens a new window of 351w and 413h.
I need it to contain JUST the scrollbar and menubar, nothing else.
However, when I write it as follows (utilising Javascript):
<SCRIPT TYPE="text/javascript" LANGUAGE="javascript">
<!--
function goWin(url)
{
newWin = window.open(url,'newWin', 'scrollbars','menubar',
'width=351,height=413');
}
// -->
</SCRIPT>
</HEAD>
balderdash, etc etc.
<A HREF="javascript:goWin('newwindow.html');"
onmouseover="window.status='Happy Birthday '; return true"
onmouseout="window.status='And you smell like one too'; return true">
I get a totally maximised window. Can't have that! So, what am I doing
wrong and what do I need to correct my indiscreet window sizes??
Any *PLEASANT* pointers are appreciated. Keep in mind I'm the perpetual
beginner....
Thanks,
Jay
Ps, I'll be happy with a NON-Javascript code too.
________________________________________________________________
YOU'RE PAYING TOO MUCH FOR THE INTERNET!
Juno now offers FREE Internet Access!
Try it today - there's no risk! For your FREE software, visit:
http://dl.www.juno.com/get/tagj.
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA