/[cvs]/nfo/php/libs/com.newsblob.phphtmllib/examples/widget8.php
ViewVC logotype

Diff of /nfo/php/libs/com.newsblob.phphtmllib/examples/widget8.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by jonen, Sat Feb 22 21:07:23 2003 UTC revision 1.4 by jonen, Thu May 6 16:27:17 2004 UTC
# Line 27  $page = new HTMLPageClass("phpHtmlLib Wi Line 27  $page = new HTMLPageClass("phpHtmlLib Wi
27                                                    XHTML_TRANSITIONAL);                                                    XHTML_TRANSITIONAL);
28    
29  //enable output debugging.  //enable output debugging.
30  $page->set_text_debug( $_GET["debug"] );  if (isset($_GET['debug'])) {
31        $page->set_text_debug( TRUE );
32    }
33  //use the default theme  //use the default theme
34  $page->add_css_link( "/phphtmllib/css/defaulttheme.php" );  $page->add_css_link( "/phphtmllib/css/defaulttheme.php" );
35    
# Line 35  $page->add_css_link( "/phphtmllib/css/de Line 37  $page->add_css_link( "/phphtmllib/css/de
37  //build the active tab widget  //build the active tab widget
38  //with a width of 500 pixels wide  //with a width of 500 pixels wide
39  //and a height (MUST BE SET) of 200px tall.  //and a height (MUST BE SET) of 200px tall.
40  $tab = new ActiveTab(500, "220px");  $tab = new ActiveTab(500, "300px");
41    
42  //build a NavTable widget  //build a NavTable widget
43  $navtable = new NavTable("NavTable", "Widget", "200");  $navtable = new NavTable("NavTable", "Widget", "200");
# Line 61  $form->add( html_br(2) ); Line 63  $form->add( html_br(2) );
63    
64  $form->add( form_active_radio("assradio", array("foo"=>1, "bar"=>2), 2, FALSE ) );  $form->add( form_active_radio("assradio", array("foo"=>1, "bar"=>2), 2, FALSE ) );
65  $form->add( html_br(2),  $form->add( html_br(2),
66                          form_active_radio("assradio2", array("foo"=>1, "bar"=>2, "testing"=> 3), 2 ) );                          form_active_radio("assradio2", array("foo"=>1, "bar"=>2, "testing"=> 3), 2 ));
67    
68    
69  //now add the tabs and their content.  //now add the tabs and their content.

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.4

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed