Frames or no frames

by "Jonathan Go" <j.go(at)spinweb.ph>

 Date:  Tue, 9 Jul 2002 10:21:00 +0800
 To:  <hwg-techniques(at)mail.hwg.org>
 In-Reply-To:  112
  todo: View Thread, Original
Hi... I'm currently doing a site and thinking of using flash for the
navigation menu.  If I do that I need to do the page using frames.
Would appreciate your comments on using frames.  Can you give me the
pros and cons based on your experiences?

Thanks,
Jonathan






-----Original Message-----
From: owner-hwg-techniques(at)hwg.org [mailto:owner-hwg-techniques(at)hwg.org]
On Behalf Of Kid Stevens
Sent: Tuesday, July 09, 2002 7:59 AM
To: hwg-techniques(at)mail.hwg.org
Subject: RE: New Browser Window Link problem

That is very clean code.  It passes the Java engine tests I run for
compatibility reasons.

As the words of John Woram fell from above I was tickled at 7:19 PM
-0400
on 7/8/02:
>I sent a few suggestions earlier about how to open a maxed window, but
>by accident it went to Jeremy only. But having seen the other
>responses, I'm going to toss in my 2-cents worth.
>
>First, I don't think opening a new window "breaks" the Back (history)
>button -- it's a new window -- it doesn't *have* any history. If the
>new window contains a link to another page, then the Back button will
>work on that page, and all subsequent pages. IOW, it's not broken.
>
>Next, the question was about how to open a new window at maximum size,
>not "Is it a good idea to open a new window?" The answer to the last
>question is "It depends." If there's a good reason to open a new
>window, you can provide the means to close it again. Or whatever. So,
>here's a few ways to open a maximized window:
>
>1.
>function maxSize()
>{
>maxWindow=window.open('FILENAME.HTM');
>maxWindow.moveTo(0,0);
>maxWindow.resizeTo(screen.width, screen.height);
>}
>
>2.
>function maxSize()
>{
>maxWindow=window.open('FILENAME.HTM'), "", "fullscreen=yes");
>}
>
>The first one opens a maxed window with the menu bars, etc. at the
>top. The second one fills the entire screen. Replace 'FILENAME.HTM'
>with the name of the file you want to open.
>
> Or,
>
>3. Put these lines into the JavaScript section in the head of the file
>you want to open:
>
>window.moveTo(0,0);
>window.resizeTo(screen.width, screen.height);
>
>In this case, the back button works fine.
>
>John Woram

-- 
Sincerely,
Kid Stevens

"A democracy is a sheep and two wolves deciding on what to have for
lunch.
Freedom is a well armed sheep contesting the results of the decision."
 - Benjamin Franklin

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.