E N D
Frames: Pros and Cons • What are Frames? • A frame is a window inside the browser's client area (the area in which a web page appears). Normally, a browser just displays one web page in the client area. Frames allow multiple documents to be displayed in separate, autonomous sub-windows inside the client area. (http://www.cti.hull.ac.uk/malang/authoring/design/frames.html)
Frames: Pros and Cons • What are frames used for? • Web authors primarily use frames to present consistent unmoving navigation bars. By placing navigation bars in frames, a web author can ensure that the bars are always visible when the main text is scrolled.
Frames: Pros and Cons • How do we create frames? • All frames pages are created with a frameset document. • This is an individual document, with <frameset> tags that allows you to piece together several web pages all into one. • Within the <frameset> tags, a series of other tags are used in which the attributes for the frameset page are defined.
Frames: Pros and Cons • How do we create frames? • Examples of some frameset documents: • www.oswego.edu/~rharvey/YankeesSuck/Yankees • www.freewebmasterhelp.com/tutorials/framestables/2 • http://sharkysoft.com/tutorials/frames/
Frames: Pros and Cons • The Downfalls of Frames • Unable to bookmark the page • (ex. www.oswego.edu/~rharvey/YankeesSuck/Yankees ) • Printing Difficulties • When trying to print certain frames, the printer will be forced to the defaults setting. Usually the “main” frame.
Frames: Pros and Cons • The Downfall Of Frames: • You must specify the targets for links. • When the link is clicked the page will be loaded into the same frame as the link, unless you specify a targetwww.oswego.edu/~rharvey/tutorials/Tutorial5Solution.htm • Search Engine Difficulties: • Many search engines find it very difficult to search <frameset> pages. • Older browsers may not support framesets.
Frames: Pros and Cons • Pros of using Frames: • Makes organization very easy. • Pages become static • You can use certain pages as menu’s or to show information all the time. • http://www.cti.hull.ac.uk/malang/index.html
Frames: Pros and Cons • Pros of using Frames: • Very easy to update • Less repetitive code in each of the files, making it very simple to update. • Frames reduce bandwidth and server load.
Frames: Pros and Cons • Alternatives To Frames: • Tables • Often used today. www.fajitagrill.com • No-Frames tags • These are used incase a browser doesn’t support the frameset tag
Frames: Pros and Cons • Alternatives To Frames: • Inline or Floating Frames • Instead of using the frameset tag, you can use <iframe>which puts a “floating frame” onto the page, giving you the static menu or logo that you’re looking for, without all the hassle and downfalls of using regular frames. www.chami.com/tips/internet/012497I.html
Frames : Pros and Cons • Overall: • Overall there are more cons that pros with implementing frames into site design. • Web Masters as well as Newbies should consider all the pros and cons while designing pages and sites.