Page 62 - DCAP202_Fundamentals of Web Programming
P. 62

Unit 5: Creating Tables




          Or combine all the options and allow your visitor to send email with the address, subject and  Notes
          text already entered.
                 <a  href=”mailto:email@echoecho.com?subject=SweetWords&body=Please  send
          me  a  copy  of  your  new  program!”>Email  Me</a>
          Frames divide a browser window into two or more  document windows, each displaying  a
          different document, or a different part of the same document.

               !
             Caution  Frames in an HTML document can cause a web page to appear to be divided into
             multiple, scrollable regions.
          For each frame, you can assign a name, a source document locator, dimensions, border alignment
          and decorations, scroll and resize behaviors, loading and unloading behavior, file and topic
          maps, and style sheets.
              Names: You can place an anchor in any frame, link to any addressable object, and place the
               object into any named frame.
              Source document locator: You can use whatever addressing schemes  your user agent
               supports, including URLs and filenames.
              Dimensions:  You can rigidly or flexibly layout  a two-dimensional grid of  rectangular
               blocks.

              Border alignment and decoration: You can adjust the position of the left and right margins,
               the  top and bottom margins, and the alignment of the frame. You can  also make  the
               borders of a frame invisible.

              Scrolling: Frames can have scrollbars, no scrollbars, or you can let the browser turn them
               on if the document is larger than the current horizontal or vertical size of the frame.

              Resizable: Frames are normally resizable in the browser, but that can be disabled so the
               frame may not be resized at the user agent.
              Loading and unloading: You can provide a script to be run when the user agent finishes
               loading all frames or when the user exit the document.
              File and topic maps: You can place a file or topic navigator into a frame. The navigator
               might be a collapsible listing of file system, a listing of document headings, thumbnails of
               images in a document, or an index of any element type.
          These properties make possible:

              Static frames: Elements that a user should always see, such as button bars, logos, copyright
               notices, and title graphics, can be placed in individual frames that are locked into place on
               the user agent window.

              Live frames: Documents, icons, interactive forms, videos, multimedia, topic maps,  and
               anything else that can react to user input or programmed activity.

              As a user navigates a site in “live” frames, the contents of static frames remain fixed, even
               though adjoining frames redraw.
              Functional tables of contents: A frame can contain interactive tables of contents (TOCs)
               with links that, when clicked, display results in an adjoining frame. These TOCs can be
               static or interactive with collapsible lists, graphical maps of document structure, or displays
               of file and link architectures.





                                           LOVELY PROFESSIONAL UNIVERSITY                                   55
   57   58   59   60   61   62   63   64   65   66   67