• HomeHome  
  • Latest imagesLatest images  
  • SearchSearch  
  • RegisterRegister  
  • Log inLog in  

  • You are not connected. Please login or register

    View previous topic View next topic Go down  Message [Page 1 of 1]

    1(phpBB3) Table statistic Empty (phpBB3) Table statistic Fri Dec 28, 2012 6:32 pm

    Bogdan.

    Bogdan.
    Hi all ,

    I thought it would be fine as on phpbb3 for many statistics we can make a table for each one.

    CSS :

    Code:
    #table-online {
    width: 650px;
    float: left;
    }

    #stats {
    width: 650px;
    float: right;
    }

    #stats .h3, #table-online .h3 {
    background-color: #0076B1;
    background-image: url(http://2img.net/i/fa/prosilver/bg_list.gif);
    background-position: 0 0;
    background-repeat: repeat-x;
    border: 0px;
    padding: 5px 6px;
    border-radius: 3px 3px 0px 0px;
    }

    #stats .h3 + p, #table-online .h3 + p {
    background: #FCFCFC;
    padding: 5px 6px;
    border: 1px solid #0076B1;
    position: relative;
    top: -3px;
    border-top: 0px;
    }

    #table-online p, #stats p {
    font-size: 1em;
    }

    #table-online .h3 a, #stats .h3 a {
    color: whiteSmoke!important;
    }

    JavaScript:

    Code:
    $(function(e) {
    ('Statistics in standard box. Copyright © by Bogdan. All Rights Reserved. Using and modify this script is not allowed without this copyright notice.');
    $('.h3:contains(Cine este conectat?), #i_whosonline + p').wrapAll('<div id="table-online"/>');
    $('.h3:contains(Statistici), p.page-bottom').wrapAll('<div id="stats" />');
    $('p.page-bottom').wrapAll('<p />');
    $('#i_whosonline + .clear, #i_whosonline').remove();
    $('#table-online > p > em:last').wrapInner('<p />');
    $('#table-online > p > em p').appendTo('#table-online > p');
    $('#table-online > p > br:last, em').remove();
    });

    View previous topic View next topic Back to top  Message [Page 1 of 1]

    Permissions in this forum:
    You cannot reply to topics in this forum

     

    icefrog 2012-2013 , all rights reserved.