From e7116bdd06007fe8be704904947838b0a54ec0e4 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Sat, 14 Feb 2009 22:17:25 +0000 Subject: [PATCH] fixed window resize + cosmetic fixes --- planetlab/includes/plc_minitabs.php | 12 ++++++++---- planetlab/minitabs/minitabs.js | 4 ++++ 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/planetlab/includes/plc_minitabs.php b/planetlab/includes/plc_minitabs.php index 5bce03b..e681477 100644 --- a/planetlab/includes/plc_minitabs.php +++ b/planetlab/includes/plc_minitabs.php @@ -22,9 +22,13 @@ drupal_set_html_head(' // (*) 'bubble': a longer message displayed when the mouse stays quite for a while on the label // (*) 'image' : the url of an image used instead of the label // (*) 'height' : used for the image +// (*) 'id' : assign given id to the
  • element + +// NOTE +// values can also be set in the URL, e.g. ?var=value&foo=bar, even for POST'ing // examples -// function my_tab () { return array('label'=>'The Text','url'=>'http://google.com'); } +// function my_tab () { return array('label'=>'Go to google','url'=>'http://google.com'); } // $tabs=array(); // $tabs[] = my_tab(); // $tabs['Simple Tab']="http://planet-lab.org"; @@ -42,14 +46,14 @@ function plc_tabs ($array) { print '