[thelist] Opening Maximized Window

Chris W. Parker cparker at swatgear.com
Tue Jun 25 18:23:01 CDT 2002


wtf?


> -----Original Message-----
> From: yangming007 at hotmail.com [mailto:yangming007 at hotmail.com]
> Sent: Tuesday, June 25, 2002 7:10 AM
> To: thelist at lists.evolt.org
> Subject: Re: [thelist] Opening Maximized Window
>
>
> [ Converted text/html to text/plain ]
>
> <script language="JavaScript">
> <!--
> function Page(url,title,keywords,description) {
> while ((url.length > 0) && (url.charAt(0) == " ")) {
> url = url.substring(1,url.length);
> }
> this.url = url;
> while ((title.length > 0) && (title.charAt(0) == " ")) {
> title = title.substring(1,title.length);
> }
> this.title = title;
> this.keywords = keywords;
> this.description = description;
> return this;
> }
> function Database() {
> var pos = 0;
> while ((pos1 = amorphous.indexOf("~",pos)) != -1) {
> pos2 = amorphous.indexOf("|",pos1+1);
> pos3 = amorphous.indexOf("^",pos2+1);
> pos4 = amorphous.indexOf("*",pos3+1);
> if ((pos2 != -1)
> && (pos2 < pos3) && (pos3 < pos4)
> && (pos4 <= amorphous.indexOf("*",pos))) {
> this[database_length++] = new Page(amorphous.substring(pos,pos1),
>
> .
> .
> .
>
>lect></form><br>');
> if (location.search.length > 1)
> document.write('查询结果:<br><br>\n');
>
> for (n=0; n<menu_length; n++)
> document.write('<a href="'+menu[n].url+'">'+menu[n].title
> +'</a><br>'+redWord(menu[n].description)+'<br>Keywords: '
> +redWord(menu[n].keywords)+'<br><br>\n');
> if ((menu_length == 0) && (location.search.length > 1))
> document.write('对不起:你查询的关键字"'+string+'"没有发现!\n');
> // -->
> </script>
>
> </textarea>
> <SCRIPT LANGUAGE="JavaScript">
>
> <!-- hide
>
> function goHist(a)
>
> {
>
>    history.go(a);
>
> }
>
> //-->
>
> </script>
> ■扬名■■扬名的扬,扬名的名■
> >From: Hershel Robinson
> >Reply-To: thelist at lists.evolt.org
> >To: thelist at lists.evolt.org
> >Subject: Re: [thelist] Opening Maximized Window
> >Date: Tue, 25 Jun 2002 17:07:18 +0200
> >
> > > You have to do it with JavaScript...and as far as I know,
> you can't
> >actually
> > > maximize the window. You _can_ find the maximum height
> and width for the
> > > available desktop space and set your browser size to
> that. So you'd have
> >to
> > > write yourself a little JavaScript function that was
> called OnLoad.
> >
> >Hmmm. If I recall correctly, this code worked for me once:
> >
> > >function openFull() { > ns4 = (document.layers)? true:
> false > if (ns4) { >
> h = screen.height > w = screen.width >
> >window.open("NewPage.html","","screenX=0,screenY=0,height="+(
> h-30)+",width="
> >+(w-10)+",directories=no,location=no,menubar=no,resizable=no,
> scrollbars=no,s
> >tatus=no,titlebar=no,toolbar=no") > } > else { >
> >window.open(NewPage.html','','fullscreen=yes,directories=no,l
> ocation=no,menu
> >bar=no,resizable=no,scrollbars=no,status=no,titlebar=no,toolb
> ar=no') > } >} >
> >
> >This code goes in the calling page, NOT NewPage, and it will
> open NewPage
> >fullscreen. Just use this:
> >
> >
> > Open Full Screen Window
> > [1]
> >
> >in the calling page.
> >
> >I found this code in a page I made once. No guarantees it works. :)
> >
> >Hershel
> >
> >--
> >For unsubscribe and other options, including
> >the Tip Harvester and archive of thelist go to:
> >http://lists.evolt.org Workers of the Web, evolt !
>
> --------------------------------------------------------------
> ----------------
> 享用世界上最大的 Web 电子邮件系统 ― MSN Hotmail。请您单击此处[2]
>
> ===References:===
>   1. javascript://
>   2. http://g.msn.com/1HM500401/36
>
> --
> For unsubscribe and other options, including
> the Tip Harvester and archive of thelist go to:
> http://lists.evolt.org Workers of the Web, evolt !
>



More information about the thelist mailing list