/[cvs]/nfo/php/libs/com.newsblob.phphtmllib/test/test6.php
ViewVC logotype

Diff of /nfo/php/libs/com.newsblob.phphtmllib/test/test6.php

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

revision 1.1 by jonen, Thu Jan 30 03:29:41 2003 UTC revision 1.2 by jonen, Fri Sep 19 22:49:58 2003 UTC
# Line 8  $page->set_body_attributes(array("bgcolo Line 8  $page->set_body_attributes(array("bgcolo
8  $nav_table = new NavTable("Test title", "test subtitle", "30%");  $nav_table = new NavTable("Test title", "test subtitle", "30%");
9    
10  //get the link to the widget's css file.  //get the link to the widget's css file.
11  $page->push_css_link( $nav_table->get_css_file() );  $page->add_css_link( "/phphtmllib/css/defaulttheme.php" );
12    
13  $nav_table->push("http://www.cnn.com", "Go to CNN");  $nav_table->add("http://www.cnn.com", "Go to CNN");
14  $nav_table->push_blank();  $nav_table->add_blank();
15  $nav_table->push("http://www.yahoo.com", "Go to Yahoo dude");  $nav_table->add("http://www.yahoo.com", "Go to Yahoo dude");
16  $nav_table->push_blank();  $nav_table->add_blank();
17  $nav_table->push_text("Some lame text here");  $nav_table->add_text("Some lame text here");
18    
19    
20  $page->push( $nav_table );  $page->add( $nav_table );
21    
22  print $page->render();  print $page->render();
23  ?>  ?>

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

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