Changeset 490899
- Timestamp:
- 01/17/2012 02:10:31 AM (14 years ago)
- Location:
- live-countdown-timer/trunk
- Files:
-
- 4 edited
-
live-countdown-timer.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
-
script.js (modified) (2 diffs)
-
style.css (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
live-countdown-timer/trunk/live-countdown-timer.php
r484066 r490899 7 7 Author: Turcu Ciprian 8 8 License: GPL 9 Version: 3.0.1. 19 Version: 3.0.1.2 10 10 Author URI: http://www.chipree.com/ 11 11 -
live-countdown-timer/trunk/readme.txt
r484066 r490899 34 34 35 35 == Changelog == 36 37 = 3.0.1.2 = 38 39 Boxes dissapear as they are 0 36 40 37 41 = 3.0.1.1 = -
live-countdown-timer/trunk/script.js
r484066 r490899 4 4 lct_seconds = 0 5 5 6 function setlct(datetime){6 function calc_data(dateandtime){ 7 7 dateandtime = datetime.split(" "); 8 8 tempdate = dateandtime[0].split("/"); … … 40 40 if(lct_minutes<0)lct_minutes=0; 41 41 if(lct_seconds<0)lct_seconds=0; 42 43 42 } 43 44 function 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 44 63 if(jQuery('.LCT').find('div.type').siblings().length==5){ 45 64 jQuery('.LCT').find('div:nth-child(1) .bg p').html(lct_years); -
live-countdown-timer/trunk/style.css
r479991 r490899 22 22 body .LCT .small .bg p.evensmaller{font-size:14px;} 23 23 body .LCT .small .bg .over{margin-left:2px;width:35px;height:21px;background:url(images/small_over.png);margin-top:-37px;} 24 body .LCT .hide{float:left;display: inline;overflow: hidden;position:relative;width:0px;height:0px;} 24 25 25 26
Note: See TracChangeset
for help on using the changeset viewer.