Plugin Directory

Changeset 490899


Ignore:
Timestamp:
01/17/2012 02:10:31 AM (14 years ago)
Author:
ciprian_vb
Message:

update 3.0.1.2

Location:
live-countdown-timer/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • live-countdown-timer/trunk/live-countdown-timer.php

    r484066 r490899  
    77  Author: Turcu Ciprian
    88  License: GPL
    9   Version: 3.0.1.1
     9  Version: 3.0.1.2
    1010  Author URI: http://www.chipree.com/
    1111
  • live-countdown-timer/trunk/readme.txt

    r484066 r490899  
    3434
    3535== Changelog ==
     36
     37= 3.0.1.2 =
     38
     39Boxes dissapear as they are 0
    3640
    3741= 3.0.1.1 =
  • live-countdown-timer/trunk/script.js

    r484066 r490899  
    44lct_seconds = 0
    55
    6 function setlct(datetime){
     6function calc_data(dateandtime){
    77    dateandtime = datetime.split(" ");
    88    tempdate = dateandtime[0].split("/");
     
    4040    if(lct_minutes<0)lct_minutes=0;
    4141    if(lct_seconds<0)lct_seconds=0;
    42        
    43        
     42}
     43
     44function setlct(datetime){
     45    calc_data(datetime);
     46    if(lct_years==0){
     47        jQuery('.LCT').find('div:nth-child(1)').removeClass('hide').addClass('hide');
     48        if(lct_days==0){
     49            jQuery('.LCT').find('div:nth-child(2)').removeClass('hide').addClass('hide');
     50            if(lct_hours==0){
     51                jQuery('.LCT').find('div:nth-child(3)').removeClass('hide').addClass('hide');
     52                if(lct_minutes==0){
     53                    jQuery('.LCT').find('div:nth-child(4)').removeClass('hide').addClass('hide');
     54                //if(lct_seconds==0)
     55                //jQuery('.LCT').find('div:nth-child(5)').removeClass('hide').addClass('hide');
     56                }
     57            }
     58        }
     59    }
     60   
     61   
     62   
    4463    if(jQuery('.LCT').find('div.type').siblings().length==5){
    4564        jQuery('.LCT').find('div:nth-child(1) .bg p').html(lct_years);
  • live-countdown-timer/trunk/style.css

    r479991 r490899  
    2222body .LCT .small .bg p.evensmaller{font-size:14px;}
    2323body .LCT .small .bg .over{margin-left:2px;width:35px;height:21px;background:url(images/small_over.png);margin-top:-37px;}
     24body .LCT .hide{float:left;display: inline;overflow: hidden;position:relative;width:0px;height:0px;}
    2425
    2526
Note: See TracChangeset for help on using the changeset viewer.