Bug Tracker

Show
Ignore:
Timestamp:
04/11/08 19:56:15 (9 months ago)
Author:
braeker
Message:

Progressbar fluent text effect

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/ui-1.6/ui/tests/progressbar.html

    r5224 r5250  
    5151} 
    5252 
     53 
     54.ui-hidden { 
     55    left:-10000px; 
     56    position:absolute; 
     57    top:-10000px; 
     58    visibility:hidden; 
     59} 
     60 
     61.ui-progressbar-wrap { 
     62    position:relative; 
     63    height: 20px; 
     64} 
     65 
    5366.ui-progressbar-text { 
    54     color:#FFFFFF; 
     67    color:#fff; 
    5568    font-size:11px; 
    5669    font-weight:bold; 
     
    5871    overflow:hidden; 
    5972    padding:0px 5px; 
    60     position:absolute; 
    6173    text-align:left; 
     74    position: absolute; 
    6275} 
    6376 
     
    6780} 
    6881 
    69 .ui-progressbar-inner { 
     82.ui-progressbar-text-back { 
     83    /*background:#E0E8F3 url(images/bg.gif) repeat-x scroll 0%;*/ 
     84    color:#000; 
     85} 
     86 
     87.ui-progressbar-bar { 
    7088    background:#9CBFEE url(images/progress-bg.gif) repeat-x scroll left center; 
    7189    border-bottom:1px solid #7FA9E4; 
     
    7492    height:18px; 
    7593    width:0pt; 
    76     float: left; 
     94    position: absolute; 
    7795} 
    7896 
     
    154172        $('#p1').progressbar({ 
    155173             
    156             text: '<b>Waiting...</b>', 
     174            text: 'Waiting...', 
    157175             
    158176            //addClass: 'ui-progressbar-inner-custom teste', 
    159177             
    160             textClass: 'right-align', 
    161              
    162             align: 'right', 
     178            //textClass: 'right-align', 
     179             
     180            //align: 'right', 
    163181             
    164182            wait: 'loop', 
     
    166184      duration: 2000, 
    167185             
    168       increment: 5, 
     186      stepping: 5, 
    169187             
    170188            progress: function(range, ui) { 
     
    197215      duration:1000, 
    198216             
    199       increment: 5, 
     217      stepping: 5, 
    200218             
    201219            progress: function(range, ui) { 
     
    221239        duration: 2000, 
    222240         
    223         increment: 30, 
     241        stepping: 30, 
    224242         
    225243        stop: function(s, ui) {