1 / 13

Frames: Pros and Cons

Frames: Pros and Cons. What are Frames?

river
Télécharger la présentation

Frames: Pros and Cons

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 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)

  2. Frames: Pros and Cons

  3. 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.

  4. 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.

  5. 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/

  6. 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.

  7. 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.

  8. 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

  9. 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.

  10. 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

  11. 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

  12. 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.

  13. The End

More Related