Welcome to EZDefinition.com
Technological Concepts, Abbreviations & Definitions
Main Menu
Main categories
  • Operating Systems
  • Computer Hardware
  • Internet
  • Programming Languages
  • Multimedia
  • Software
  • Security and Encryption
  • Communications and Networking
  • Organizations
  • Books
  • Databases
  • Games
  • E-commerce

    [an error occurred while processing this directive]

  • EZDefinition Sponsor
    Please visit our sponsor Parosoft.com
    Related Links to Support for Frames
    [an error occurred while processing this directive]
    Support for Frames
    [an error occurred while processing this directive]
    Computer Technologies  Programming Languages  Perl Support for Frames

    Support for Frames

    Support for Frames

    CGI.pm contains support for HTML frames, a feature of Netscape 2.0 and higher, and Internet Explorer 3.0 and higher. Frames are supported in two ways:
    1. You can provide the name of a new or preexisting frame in the startform() and start_multipart_form() methods using the -target parameter. When the form is submitted, the output will be redirected to the indicated frame:
    2. print $query->start_form(-target=>'result_frame');

    1. You can direct the output of a script into a new window or into a preexisting named frame by providing the name of the frame as a -target argument in the header method. For example, the following code will pop up a new window and display the script's output:
    2. $query = new CGI;
    3. print $query->header(-target=>'_blank');

    This feature is a non-standard extension to HTTP which is supported by Netscape browsers, but not by Internet Explorer.
    Using frames effectively can be tricky. To create a proper frameset in which the query and response are displayed side-by-side requires you to divide the script into three functional sections. The first section should create the <frameset> declaration and exit. The second section is responsible for creating the query form and directing it into the one frame. The third section is responsible for creating the response and directing it into a different frame.
    The examples directory contains a script called popup.cgi that demonstrates a simple popup window. frameset.cgi provides a skeleton script for creating side-by-side query/result frame sets.


    [an error occurred while processing this directive]

    [an error occurred while processing this directive]
     

    All Rights Reserved

    Terms of usage   Please read our privacy stetment
    Copyright © 1999-2006 EZDefinition.com

     

    [an error occurred while processing this directive]