Table of contents
    No headers
    var perccomp = $0;
    var pc = (if (perccomp < 100 ){
            web.size(perccomp/100)
        } 
        else {
            web.size(.99)
        }
    );
    perccomp;<br />
    pc;
    <table id="bartable">
        <tbody>
            <tr>
                <td id="outtd">
                    if (perccomp != 100){
                        <span id="pgbar" style=('text-align:center;background-color:#800517;float:left;color:#FFFFFF;width:' .. pc .. ';')>
                            if ((perccomp >= 75) && (perccomp != 100)){
                                perccomp; "%";
                            } 
                            else {
                                string.nbsp;
                            };
                        </span>
                    };
                    if (perccomp == 100){                    
                        <span id="pgbar" style="text-align:center;background-color:#800517;float:left;color:#FFFFFF;width:100%;">
                            perccomp; "%";
                       </span>
                    };
                    if (perccomp < 75) {
                        string.nbsp; 
                        string.nbsp; 
                        perccomp; "%";
                    };
                </td>
            </tr>
        </tbody>
    </table>
    
    <style type="text/css">"
    #outtd {
        text-align:left !important;
        background-color:#666666 !important;
        color:
    #FFFFF0 !important;     width: 100% !important;  } #bartable {     width: 100% !important; } "</style>
    Tag page
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by