T(-) Countdown - Version 2.1

Version Description

  • Added two new image-free css styles: TIE-Fighter and C-3PO
  • Fixed an issue with strange spacing caused by WordPress' wonky wpautop function
  • Moved plugin page at Twinpictures' Plugin Oven
  • Consolidated support to WordPress Forums and added Premium Support option.
  • Fixed closed arrow issue on the widget options page.
Download this release

Release Info

Developer baden03
Plugin Icon 128x128 T(-) Countdown
Version 2.1
Comparing to
See all releases

Code changes from version 2.0.9 to 2.1

countdown-timer.php CHANGED
@@ -1,10 +1,10 @@
1
  <?php
2
  /*
3
  Plugin Name: jQuery T(-) Countdown
4
- Plugin URI: http://www.twinpictures.de/jquery-t-minus-2-0/
5
  Description: Display and configure multiple jQuery countdown timers using a shortcode or sidebar widget.
6
- Version: 2.0.9
7
- Author: Twinpictures
8
  Author URI: http://www.twinpictures.de/
9
  License: GPL2
10
  */
@@ -25,7 +25,7 @@ License: GPL2
25
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
26
  */
27
 
28
- //widgit scripts
29
  function countdown_scripts(){
30
  add_option('t-minus_styles', '');
31
  $plugin_url = trailingslashit( get_bloginfo('wpurl') ).PLUGINDIR.'/'. dirname( plugin_basename(__FILE__) );
@@ -88,7 +88,7 @@ class CountDownTimer extends WP_Widget {
88
  /** constructor */
89
  function CountDownTimer() {
90
  //parent::WP_Widget(false, $name = 'CountDownTimer');
91
- $widget_ops = array('classname' => 'CountDownTimer', 'description' => __('A smart and sexy jQuery countdown timer by Twinpictures') );
92
  $this->WP_Widget('CountDownTimer', 'jQuery T(-) CountDown', $widget_ops);
93
  }
94
 
@@ -106,12 +106,12 @@ class CountDownTimer extends WP_Widget {
106
  $launchhtml = empty($instance['launchhtml']) ? ' ' : apply_filters('widget_launchhtml', $instance['launchhtml']);
107
  $launchtarget = empty($instance['launchtarget']) ? 'After Countdown' : apply_filters('widget_launchtarget', $instance['launchtarget']);
108
 
109
- $day = empty($instance['day']) ? 11 : apply_filters('widget_day', $instance['day']);
110
- $month = empty($instance['month']) ? 11 : apply_filters('widget_month', $instance['month']);
111
- $year = empty($instance['year']) ? 2011 : apply_filters('widget_year', $instance['year']);
112
- $hour = empty($instance['hour']) ? 11 : apply_filters('widget_hour', $instance['hour']);
113
- $min = empty($instance['min']) ? 11 : apply_filters('widget_min', $instance['min']);
114
- $sec = empty($instance['sec']) ? 11 : apply_filters('widget_sec', $instance['sec']);
115
 
116
  $weektitle = empty($instance['weektitle']) ? 'weeks' : apply_filters('widget_weektitle', $instance['weektitle']);
117
  $daytitle = empty($instance['daytitle']) ? 'days' : apply_filters('widget_daytitle', $instance['daytitle']);
@@ -274,7 +274,7 @@ class CountDownTimer extends WP_Widget {
274
  }
275
 
276
  if($jsplacement == "footer"){
277
- $add_my_script[$id] = array(
278
  'id' => $args['widget_id'],
279
  'day' => $day,
280
  'month' => $month,
@@ -339,7 +339,7 @@ class CountDownTimer extends WP_Widget {
339
  $title = stripslashes($instance['title']);
340
  $day = esc_attr($instance['day']);
341
  if(!$day){
342
- $day = 11;
343
  }
344
  else if($day > 31){
345
  $day = 31;
@@ -348,7 +348,7 @@ class CountDownTimer extends WP_Widget {
348
 
349
  $month = esc_attr($instance['month']);
350
  if(!$month){
351
- $month = 11;
352
  }
353
  else if($month > 12){
354
  $month = 12;
@@ -356,12 +356,12 @@ class CountDownTimer extends WP_Widget {
356
 
357
  $year = esc_attr($instance['year']);
358
  if(!$year){
359
- $year = 2011;
360
  }
361
 
362
  $hour = esc_attr($instance['hour']);
363
  if(!$hour){
364
- $hour = 11;
365
  }
366
  else if($hour > 23){
367
  $hour = 23;
@@ -369,7 +369,7 @@ class CountDownTimer extends WP_Widget {
369
 
370
  $min = esc_attr($instance['min']);
371
  if(!$min){
372
- $min = 11;
373
  }
374
  else if($min > 59){
375
  $min = 59;
@@ -377,7 +377,7 @@ class CountDownTimer extends WP_Widget {
377
 
378
  $sec = esc_attr($instance['sec']);
379
  if(!$sec){
380
- $sec = 11;
381
  }
382
  else if($sec > 59){
383
  $sec = 59;
@@ -459,6 +459,8 @@ class CountDownTimer extends WP_Widget {
459
  <div id="target-<?php echo $this->get_field_id('unlock'); ?>" class="collapseomatic_content">
460
  <?php
461
  }
 
 
462
  ?>
463
  <a class="collapseomatic" id="tophtml<?php echo $this->get_field_id('tophtml'); ?>"><?php _e('Above Countdown'); ?></a>
464
  <div id="target-tophtml<?php echo $this->get_field_id('tophtml'); ?>" class="collapseomatic_content">
@@ -497,7 +499,8 @@ class CountDownTimer extends WP_Widget {
497
  </div>
498
 
499
  <?php
500
- if(!$isrockstar){
 
501
  echo '</div>';
502
  }
503
 
@@ -505,7 +508,7 @@ class CountDownTimer extends WP_Widget {
505
  <br/>
506
  <a class="collapseomatic" id="tccc<?php echo $this->get_field_id('isrockstar'); ?>"><?php _e('Schedule Recurring Countdown'); ?></a>
507
  <div id="target-tccc<?php echo $this->get_field_id('isrockstar'); ?>" class="collapseomatic_content">
508
- <p><a href="http://www.twinpictures.de/t-countdown-control/" target="_blank" title="T(-) Countdown Control">T(-) Countdown Control</a> is a premium countdown plugin that includes the ability to schedule and manage mulitple recurring T(-) Countdowns... the Jedi way.</p>
509
  </div>
510
  <?php
511
  }
@@ -566,7 +569,7 @@ function tminuscountdown($atts, $content=null) {
566
 
567
  extract(shortcode_atts(array(
568
  'id' => $ran,
569
- 't' => '11-11-2011 11:11:11',
570
  'weeks' => 'weeks',
571
  'days' => 'days',
572
  'hours' => 'hours',
@@ -680,25 +683,25 @@ function tminuscountdown($atts, $content=null) {
680
  if($omitweeks == 'true' && $date_arr['days'][3] > 99){
681
  $tminus .= '<div class="'.$style.'-digit">'.$date_arr['days'][0].'</div>';
682
  }
683
- $tminus .= '<div class="'.$style.'-digit">'.$date_arr['days'][1].'</div><div class="'.$style.'-digit">'.$date_arr['days'][2].'</div>
684
- </div>
685
- <div class="'.$style.'-dash '.$style.'-hours_dash">
686
- <span class="'.$style.'-dash_title">'.$hours.'</span>
687
- <div class="'.$style.'-digit">'.$date_arr['hours'][1].'</div>
688
- <div class="'.$style.'-digit">'.$date_arr['hours'][2].'</div>
689
- </div>
690
- <div class="'.$style.'-dash '.$style.'-minutes_dash">
691
- <span class="'.$style.'-dash_title">'.$minutes.'</span>
692
- <div class="'.$style.'-digit">'.$date_arr['mins'][1].'</div>
693
- <div class="'.$style.'-digit">'.$date_arr['mins'][2].'</div>
694
- </div>
695
- <div class="'.$style.'-dash '.$style.'-seconds_dash">
696
- <span class="'.$style.'-dash_title">'.$seconds.'</span>
697
- <div class="'.$style.'-digit">'.$date_arr['secs'][1].'</div>
698
- <div class="'.$style.'-digit">'.$date_arr['secs'][2].'</div>
699
- </div>
700
- <div class="t-throbTimer"></div>
701
- </div>'; //close the dashboard
702
 
703
  $tminus .= '<div id="'.$id.'-below" class="'.$style.'-bothtml">';
704
  if($after){
@@ -762,8 +765,6 @@ function tminuscountdown($atts, $content=null) {
762
  </script>
763
  <?php
764
  }
765
- //remove any crazy p tags
766
- //$tminus = str_replace('<p></p>', '', $tminus);
767
  return $tminus;
768
  }
769
  add_shortcode('tminus', 'tminuscountdown');
1
  <?php
2
  /*
3
  Plugin Name: jQuery T(-) Countdown
4
+ Plugin URI: http://plugins.twinpictures.de/plugins/t-minus-countdown/
5
  Description: Display and configure multiple jQuery countdown timers using a shortcode or sidebar widget.
6
+ Version: 2.1
7
+ Author: twinpictures, baden03
8
  Author URI: http://www.twinpictures.de/
9
  License: GPL2
10
  */
25
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
26
  */
27
 
28
+ //widget scripts
29
  function countdown_scripts(){
30
  add_option('t-minus_styles', '');
31
  $plugin_url = trailingslashit( get_bloginfo('wpurl') ).PLUGINDIR.'/'. dirname( plugin_basename(__FILE__) );
88
  /** constructor */
89
  function CountDownTimer() {
90
  //parent::WP_Widget(false, $name = 'CountDownTimer');
91
+ $widget_ops = array('classname' => 'CountDownTimer', 'description' => __('A highly customizable jQuery countdown timer by Twinpictures') );
92
  $this->WP_Widget('CountDownTimer', 'jQuery T(-) CountDown', $widget_ops);
93
  }
94
 
106
  $launchhtml = empty($instance['launchhtml']) ? ' ' : apply_filters('widget_launchhtml', $instance['launchhtml']);
107
  $launchtarget = empty($instance['launchtarget']) ? 'After Countdown' : apply_filters('widget_launchtarget', $instance['launchtarget']);
108
 
109
+ $day = empty($instance['day']) ? 20 : apply_filters('widget_day', $instance['day']);
110
+ $month = empty($instance['month']) ? 12 : apply_filters('widget_month', $instance['month']);
111
+ $year = empty($instance['year']) ? 2012 : apply_filters('widget_year', $instance['year']);
112
+ $hour = empty($instance['hour']) ? 20 : apply_filters('widget_hour', $instance['hour']);
113
+ $min = empty($instance['min']) ? 12 : apply_filters('widget_min', $instance['min']);
114
+ $sec = empty($instance['sec']) ? 20 : apply_filters('widget_sec', $instance['sec']);
115
 
116
  $weektitle = empty($instance['weektitle']) ? 'weeks' : apply_filters('widget_weektitle', $instance['weektitle']);
117
  $daytitle = empty($instance['daytitle']) ? 'days' : apply_filters('widget_daytitle', $instance['daytitle']);
274
  }
275
 
276
  if($jsplacement == "footer"){
277
+ $add_my_script[$args['widget_id']] = array(
278
  'id' => $args['widget_id'],
279
  'day' => $day,
280
  'month' => $month,
339
  $title = stripslashes($instance['title']);
340
  $day = esc_attr($instance['day']);
341
  if(!$day){
342
+ $day = 20;
343
  }
344
  else if($day > 31){
345
  $day = 31;
348
 
349
  $month = esc_attr($instance['month']);
350
  if(!$month){
351
+ $month = 12;
352
  }
353
  else if($month > 12){
354
  $month = 12;
356
 
357
  $year = esc_attr($instance['year']);
358
  if(!$year){
359
+ $year = 2012;
360
  }
361
 
362
  $hour = esc_attr($instance['hour']);
363
  if(!$hour){
364
+ $hour = 20;
365
  }
366
  else if($hour > 23){
367
  $hour = 23;
369
 
370
  $min = esc_attr($instance['min']);
371
  if(!$min){
372
+ $min = 12;
373
  }
374
  else if($min > 59){
375
  $min = 59;
377
 
378
  $sec = esc_attr($instance['sec']);
379
  if(!$sec){
380
+ $sec = 20;
381
  }
382
  else if($sec > 59){
383
  $sec = 59;
459
  <div id="target-<?php echo $this->get_field_id('unlock'); ?>" class="collapseomatic_content">
460
  <?php
461
  }
462
+
463
+ if($isrockstar){
464
  ?>
465
  <a class="collapseomatic" id="tophtml<?php echo $this->get_field_id('tophtml'); ?>"><?php _e('Above Countdown'); ?></a>
466
  <div id="target-tophtml<?php echo $this->get_field_id('tophtml'); ?>" class="collapseomatic_content">
499
  </div>
500
 
501
  <?php
502
+ }
503
+ else{
504
  echo '</div>';
505
  }
506
 
508
  <br/>
509
  <a class="collapseomatic" id="tccc<?php echo $this->get_field_id('isrockstar'); ?>"><?php _e('Schedule Recurring Countdown'); ?></a>
510
  <div id="target-tccc<?php echo $this->get_field_id('isrockstar'); ?>" class="collapseomatic_content">
511
+ <p><a href="http://plugins.twinpictures.de/premium-plugins/t-minus-countdown-control/" target="_blank" title="T(-) Countdown Control">T(-) Countdown Control</a> is a premium countdown plugin that includes the ability to schedule and manage mulitple recurring T(-) Countdowns... the Jedi way.</p>
512
  </div>
513
  <?php
514
  }
569
 
570
  extract(shortcode_atts(array(
571
  'id' => $ran,
572
+ 't' => '20-12-2012 20:12:20',
573
  'weeks' => 'weeks',
574
  'days' => 'days',
575
  'hours' => 'hours',
683
  if($omitweeks == 'true' && $date_arr['days'][3] > 99){
684
  $tminus .= '<div class="'.$style.'-digit">'.$date_arr['days'][0].'</div>';
685
  }
686
+ $tminus .= '<div class="'.$style.'-digit">'.$date_arr['days'][1].'</div><div class="'.$style.'-digit">'.$date_arr['days'][2].'</div>';
687
+ $tminus .= '</div>';
688
+ $tminus .= '<div class="'.$style.'-dash '.$style.'-hours_dash">';
689
+ $tminus .= '<span class="'.$style.'-dash_title">'.$hours.'</span>';
690
+ $tminus .= '<div class="'.$style.'-digit">'.$date_arr['hours'][1].'</div>';
691
+ $tminus .= '<div class="'.$style.'-digit">'.$date_arr['hours'][2].'</div>';
692
+ $tminus .= '</div>';
693
+ $tminus .= '<div class="'.$style.'-dash '.$style.'-minutes_dash">';
694
+ $tminus .= '<span class="'.$style.'-dash_title">'.$minutes.'</span>';
695
+ $tminus .= '<div class="'.$style.'-digit">'.$date_arr['mins'][1].'</div>';
696
+ $tminus .= '<div class="'.$style.'-digit">'.$date_arr['mins'][2].'</div>';
697
+ $tminus .= '</div>';
698
+ $tminus .= '<div class="'.$style.'-dash '.$style.'-seconds_dash">';
699
+ $tminus .= '<span class="'.$style.'-dash_title">'.$seconds.'</span>';
700
+ $tminus .= '<div class="'.$style.'-digit">'.$date_arr['secs'][1].'</div>';
701
+ $tminus .= '<div class="'.$style.'-digit">'.$date_arr['secs'][2].'</div>';
702
+ $tminus .= '</div>';
703
+ $tminus .= '<div class="t-throbTimer"></div>';
704
+ $tminus .= '</div>'; //close the dashboard
705
 
706
  $tminus .= '<div id="'.$id.'-below" class="'.$style.'-bothtml">';
707
  if($after){
765
  </script>
766
  <?php
767
  }
 
 
768
  return $tminus;
769
  }
770
  add_shortcode('tminus', 'tminuscountdown');
css/TIE-fighter/style.css ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*above the dashboard*/
2
+ .TIE-fighter-tophtml,.c3po-bothtml {
3
+ margin: 0 auto;
4
+ padding: 0;
5
+ text-align: center;
6
+ text-shadow: 3px 3px 4px #000;
7
+ font-size: 12px;
8
+ }
9
+
10
+ /*above the dashboard*/
11
+ .TIE-fighter-dashboard {
12
+ height: 27px;
13
+ width: 237px;
14
+ margin: auto;
15
+ background: transparent;
16
+ padding: 7px 4px 4px 0;
17
+ border: 2px solid #222;
18
+ background: #DDD; /* old browsers */
19
+ background: -moz-linear-gradient(top, #4c4c4c 0%, #595959 12%, #666666 25%, #474747 39%, #2c2c2c 50%, #000000 51%, #111111 60%, #2b2b2b 76%, #1c1c1c 91%, #131313 100%); /* firefox */
20
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4c4c4c), color-stop(12%,#595959), color-stop(25%,#666666), color-stop(39%,#474747), color-stop(50%,#2c2c2c), color-stop(51%,#000000), color-stop(60%,#111111), color-stop(76%,#2b2b2b), color-stop(91%,#1c1c1c), color-stop(100%,#131313)); /* webkit */
21
+ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4c4c4c', endColorstr='#131313',GradientType=0 ); /* ie */
22
+ -moz-border-radius: 7px;
23
+ -webkit-border-radius:7px;
24
+ border-radius: 7px;
25
+ -webkit-box-shadow: 3px 3px 4px #000;
26
+ -moz-box-shadow: 3px 3px 4px #000;
27
+ box-shadow: 3px 3px 4px #000;
28
+ }
29
+
30
+ .TIE-fighter-dash {
31
+ width: 29px;
32
+ height: 23px;
33
+ float: left;
34
+ margin-left: 13px;
35
+ padding-left: 3px;
36
+ position: relative;
37
+ color: #333;
38
+ border:1px solid #333;
39
+ -moz-border-radius: 4px; -webkit-border-radius:5px; border-radius: 4px;
40
+ background: #FFFFFF; /* old browsers */
41
+ background: -moz-linear-gradient(top, #FFFFFF 0%, #D6D6D6 52%, #C9C9C9 57%, #E5E5E5 100%); /* firefox */
42
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#FFFFFF), color-stop(52%,#D6D6D6), color-stop(57%,#C9C9C9), color-stop(100%,#E5E5E5)); /* webkit */
43
+ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#FFFFFF', endColorstr='#E5E5E5',GradientType=0 ); /* ie */
44
+ -webkit-box-shadow: 2px 2px 5px #000; -moz-box-shadow: 2px 2px 5px #000;box-shadow: 2px 2px 5px #000;
45
+ }
46
+
47
+ .TIE-fighter-tripdash {
48
+ width: 49px;
49
+ height: 23px;
50
+ float: left;
51
+ margin-left: 20px;
52
+ padding-left: 3px;
53
+ position: relative;
54
+ color: #333;
55
+ border:1px solid #333;
56
+ -moz-border-radius: 4px; -webkit-border-radius:5px; border-radius: 4px;
57
+ background: #FFFFFF; /* old browsers */
58
+ background: -moz-linear-gradient(top, #FFFFFF 0%, #D6D6D6 52%, #C9C9C9 57%, #E5E5E5 100%); /* firefox */
59
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#FFFFFF), color-stop(52%,#D6D6D6), color-stop(57%,#C9C9C9), color-stop(100%,#E5E5E5)); /* webkit */
60
+ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#FFFFFF', endColorstr='#E5E5E5',GradientType=0 ); /* ie */
61
+ -webkit-box-shadow: 2px 2px 5px #000; -moz-box-shadow: 2px 2px 5px #000;box-shadow: 2px 2px 5px #000;
62
+ }
63
+
64
+ .TIE-fighter-digit {
65
+ font: bold 14pt Verdana;
66
+ font-weight: bold;
67
+ float: left;
68
+ width: 14px;
69
+ text-align: center;
70
+ position: relative;
71
+ height: 30px;
72
+ text-shadow: 3px 3px 4px #aaa;
73
+ }
74
+
75
+ .TIE-fighter-dash_title {
76
+ -webkit-transform: rotate(-90deg);
77
+ -moz-transform: rotate(-90deg);
78
+ filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
79
+ display: block;
80
+ position: absolute;
81
+ left: -32px;
82
+ top: -8px;
83
+ width:50px;
84
+ color: #fff;
85
+ text-align: left;
86
+ font-size: 8px;
87
+ margin: 0;
88
+ }
css/c-3po/style.css ADDED
@@ -0,0 +1,91 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*above the dashboard*/
2
+ .c-3po-tophtml,.c3po-bothtml {
3
+ margin: 0 auto;
4
+ padding: 0;
5
+ text-align: center;
6
+ text-shadow: 3px 3px 4px #000;
7
+ font-size: 12px;
8
+ }
9
+
10
+ /*above the dashboard*/
11
+ .c-3po-dashboard {
12
+ height: 27px;
13
+ width: 237px;
14
+ margin: auto;
15
+ background: transparent;
16
+ padding: 6px 4px 4px 0;
17
+ border-top: 1px solid #fcff95;
18
+ border-left: 1px solid #fcff95;
19
+ border-bottom: 1px solid #a37e39;
20
+ border-right: 1px solid #a37e39;
21
+ background: #fcff95; /* old browsers */
22
+ background: -moz-linear-gradient(top, #e39f1f 0%, #fcff95 12%, #fcffc8 25%, #fcff95 39%, #e39f1f 50%, #d8ab57 51%, #a37e39 60%, #685029 76%, #685029 91%, #5c4726 100%); /* firefox */
23
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e39f1f), color-stop(12%,#fcff95), color-stop(25%,#fcffc8), color-stop(39%,#fcff95), color-stop(50%,#e39f1f), color-stop(51%,#d8ab57), color-stop(60%,#a37e39), color-stop(76%,#685029), color-stop(91%,#685029), color-stop(100%,#5c4726)); /* webkit */
24
+ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d8ab57', endColorstr='#5c4726',GradientType=0 ); /* ie */
25
+ -moz-border-radius: 7px;
26
+ -webkit-border-radius:7px;
27
+ border-radius: 7px;
28
+ -webkit-box-shadow: 3px 3px 4px #685029;
29
+ -moz-box-shadow: 3px 3px 4px #685029;
30
+ box-shadow: 3px 3px 4px #685029;
31
+ }
32
+
33
+ .c-3po-dash {
34
+ width: 29px;
35
+ height: 23px;
36
+ float: left;
37
+ margin-left: 13px;
38
+ padding-left: 3px;
39
+ margin-top: -2px;
40
+ position: relative;
41
+ color: #5c4726;
42
+ border-top:1px solid #a37e39;
43
+ border-left:1px solid #a37e39;
44
+ border-bottom:1px solid #fcff95;
45
+ border-right:1px solid #fcff95;
46
+ -moz-border-radius: 4px; -webkit-border-radius:5px; border-radius: 4px;
47
+ background: #FFFFFF;
48
+ /*-webkit-box-shadow: 2px 2px 5px a37e39; -moz-box-shadow: 2px 2px 5px #a37e39;box-shadow: 2px 2px 5px #a37e39;*/
49
+ }
50
+
51
+ .c-3po-tripdash {
52
+ width: 49px;
53
+ height: 23px;
54
+ float: left;
55
+ margin-left: 20px;
56
+ padding-left: 3px;
57
+ margin-top: -2px;
58
+ position: relative;
59
+ color: #5c4726;
60
+ border-top:1px solid #a37e39;
61
+ border-left:1px solid #a37e39;
62
+ border-bottom:1px solid #fcff95;
63
+ border-right:1px solid #fcff95;
64
+ -moz-border-radius: 4px; -webkit-border-radius:5px; border-radius: 4px;
65
+ background: #FFFFFF;
66
+ /*-webkit-box-shadow: 2px 2px 5px a37e39; -moz-box-shadow: 2px 2px 5px #a37e39;box-shadow: 2px 2px 5px #a37e39;*/
67
+ }
68
+
69
+ .c-3po-digit {
70
+ font: bold 14pt Verdana;
71
+ font-weight: bold;
72
+ float: left;
73
+ width: 14px;
74
+ text-align: center;
75
+ position: relative;
76
+ height: 30px;
77
+ text-shadow: 2px 2px 4px #EEE;
78
+ }
79
+
80
+ .c-3po-dash_title {
81
+ display: block;
82
+ position: absolute;
83
+ left: -4px;
84
+ top: 21px;
85
+ width: 32px;
86
+ padding: 0 3px;
87
+ color: #fcffc8;
88
+ text-align: center;
89
+ font-size: 9px;
90
+ margin: 0;
91
+ }
js/jquery.collapse.js CHANGED
@@ -27,7 +27,7 @@
27
  jQuery(document).ready(function() {
28
  jQuery('.collapseomatic').livequery('click', function(event) {
29
  //alert('phones ringin dude');
30
- jQuery(this).toggleClass('.colomat-close');
31
  var id = jQuery(this).attr('id');
32
  jQuery('#target-'+id).slideToggle('fast', function() {
33
  // Animation complete.
27
  jQuery(document).ready(function() {
28
  jQuery('.collapseomatic').livequery('click', function(event) {
29
  //alert('phones ringin dude');
30
+ jQuery(this).toggleClass('colomat-close');
31
  var id = jQuery(this).attr('id');
32
  jQuery('#target-'+id).slideToggle('fast', function() {
33
  // Animation complete.
readme.txt CHANGED
@@ -1,56 +1,64 @@
1
  === jQuery T Minus CountDown Widget ===
2
 
3
- Contributors: Twinpictures
4
- Donate link: http://www.twinpictures.de/jquery-t-minus-2-0/
5
- Tags: countdown, timer, clock, ticker, widget, event, counter, count down, t minus, t-minus, twinpictures, G2, spaceBros, littlewebtings, jQuery, javascript
6
  Requires at least: 2.8
7
  Tested up to: 3.3.1
8
- Stable tag: 2.0.9
9
 
10
  jQuery T(-) CountDown will display a highly customizable, sweet-n-sexy flash-free countdown timer in the sidebar or in your post using a shortcode.
11
 
12
  == Description ==
13
 
14
- jQuery T(-) CountDown will display a sweet, sexy and totally flash-free countdown timer clock based on littlewebthings' CountDown jQuery plugin. Perfect for informing one's website visitors of an upcoming event, such as a pending space voyage. Using Jedi Mind-tricks and CSS... but mostly CSS, the countdown timer is highly customizable for your viewing pleasure. Intergalactic planetary thanks to CosmoBro at g2.de and Lauren at siliconstudio.com for the included css flavors.
15
 
16
  == Installation ==
17
 
18
- 1. Old-school: upload the `jquery-countdown-timer` folder to the `/wp-content/plugins/` directory via FTP. Hipster: Add the jQuery T(minus) CountDown Widget via the WordPress Plugins menu.
19
  1. Activate the Plugin
20
  1. Add the Widget to the desired sidebar in the WordPress Widgets menu.
21
  1. Configure the `jQuery T Minus CountDown Widget' options.
22
  1. Test that the this plugin meets your demanding needs.
23
  1. Tweak the css files for premium enjoyment.
24
  1. Rate the plugin and verify that it works at wordpress.org.
25
- 1. Leave a comment regarding bugs, feature request or cocktail recipes at http://www.twinpictures.de/jquery-t-minus-2-0/
26
 
27
  == Frequently Asked Questions ==
28
 
29
  = How does one use the shortcode, exactly? =
30
- A <a href='http://www.twinpictures.de/jquery-t-minus-2-0/'>complete listing of shortcode options</a> has been provided to answer this exact question.
31
 
32
  = How does one pronounce T Minus? =
33
  1. Tee - As in Tea for Two, or Tee off time
34
  1. Minus - As in the opposite of plus (+)
35
  1. T Minus- As in "This is Apollo Saturn Launch Control. We've passed the 11-minute mark. Now T minus 10 minutes 54 seconds on our countdown for Apollo 11."
36
 
37
- = Where can I get reliable news that makes me giggle? =
38
  The Daily Show with John Stewart
39
 
40
  = I am a Social Netwookiee, do you have a Facebook page? =
41
  Yes, yes... <a href='http://www.facebook.com/twinpictures'>Twinpictures is on Facebook</a>.
42
 
43
  = Does Twinpictures do the Twitter? =
44
- Ah yes! <a href='http://twitter.com/#!/twinpictures'>@Twinpictures</a> does the twitter tweeting around here.
45
 
46
  == Screenshots ==
47
 
48
- 1. screenshot-1.png shows the jQuery T(-) CountDown in action with the three included styles: Darth, Jedi and Carbonite.
49
- 2. Here, in screenshot-2.png is are the basic `jQuery T(-) CountDown` options.
50
- 3. screenshot-3.png shows an expansive view of the available `jQuery T(-) CountDown` options that have been provided for your viewing pleasure.
 
51
 
52
  == Changelog ==
53
 
 
 
 
 
 
 
 
54
  = 2.0.9 =
55
  * Fixed issue with Digit Titles not being saved unless in rockstar mode
56
 
@@ -114,6 +122,13 @@ Ah yes! <a href='http://twitter.com/#!/twinpictures'>@Twinpictures</a> does the
114
 
115
  == Upgrade Notice ==
116
 
 
 
 
 
 
 
 
117
  = 2.0.9 =
118
  * fixed issue with Display Titles not saving
119
 
1
  === jQuery T Minus CountDown Widget ===
2
 
3
+ Contributors: twinpictures, baden03
4
+ Donate link: http://plugins.twinpictures.de/plugins/t-minus-countdown/
5
+ Tags: countdown, timer, clock, ticker, widget, event, counter, count down, t minus, t-minus, twinpictures, plguin-oven, pluginoven, G2, spaceBros, littlewebtings, jQuery, javascript
6
  Requires at least: 2.8
7
  Tested up to: 3.3.1
8
+ Stable tag: 2.1
9
 
10
  jQuery T(-) CountDown will display a highly customizable, sweet-n-sexy flash-free countdown timer in the sidebar or in your post using a shortcode.
11
 
12
  == Description ==
13
 
14
+ jQuery T(-) CountDown will display a sweet, sexy and totally flash-free countdown timer. Perfect for informing one's website visitors of an upcoming event, such as a pending space voyage. Using Jedi Mind-tricks and CSS... but mostly CSS, the countdown timer is highly customizable for your viewing pleasure. A <a href='http://plugins.twinpictures.de/plugins/t-minus-countdown/documentation/'>complete listing of shortcode options</a> are available, as well as <a href='http://wordpress.org/tags/jquery-t-countdown-widget'>free community</a> and <a href='http://plugins.twinpictures.de/plugins/t-minus-countdown/support/'>premium support</a>. This plug-in was inspired by littlewebthings' CountDown jQuery plugin. Intergalactic planetary thanks to g2.de, siliconstudio.com and Arturo Ramirez Siles for some of the included css styles.
15
 
16
  == Installation ==
17
 
18
+ 1. Old-school: upload the `jquery-countdown-timer` folder to the `/wp-content/plugins/` directory via FTP. Hipster: Ironically add the jQuery T(minus) CountDown Widget via the WordPress Plugins menu.
19
  1. Activate the Plugin
20
  1. Add the Widget to the desired sidebar in the WordPress Widgets menu.
21
  1. Configure the `jQuery T Minus CountDown Widget' options.
22
  1. Test that the this plugin meets your demanding needs.
23
  1. Tweak the css files for premium enjoyment.
24
  1. Rate the plugin and verify that it works at wordpress.org.
25
+ 1. Leave a comment regarding bugs, feature request or cocktail recipes at http://wordpress.org/tags/jquery-t-countdown-widget
26
 
27
  == Frequently Asked Questions ==
28
 
29
  = How does one use the shortcode, exactly? =
30
+ A <a href='http://plugins.twinpictures.de/plugins/t-minus-countdown/documentation/'>complete listing of shortcode options</a> has been provided to answer this exact question.
31
 
32
  = How does one pronounce T Minus? =
33
  1. Tee - As in Tea for Two, or Tee off time
34
  1. Minus - As in the opposite of plus (+)
35
  1. T Minus- As in "This is Apollo Saturn Launch Control. We've passed the 11-minute mark. Now T minus 10 minutes 54 seconds on our countdown for Apollo 11."
36
 
37
+ = Where can I get political news that makes me giggle? =
38
  The Daily Show with John Stewart
39
 
40
  = I am a Social Netwookiee, do you have a Facebook page? =
41
  Yes, yes... <a href='http://www.facebook.com/twinpictures'>Twinpictures is on Facebook</a>.
42
 
43
  = Does Twinpictures do the Twitter? =
44
+ Ah yes! <a href='http://twitter.com/#!/twinpictures'>@Twinpictures</a> is on the Twitter.
45
 
46
  == Screenshots ==
47
 
48
+ 1. T(-) CountDown in action with styles: Darth, Jedi and Carbonite.
49
+ 1. Styles: C-3PO, TIE-Fighter and Carbonlite.
50
+ 1. The basic T(-) CountDown widget options.
51
+ 1. An expansive view of the available CountDown widget options, provided for your viewing pleasure.
52
 
53
  == Changelog ==
54
 
55
+ = 2.1 =
56
+ * Added two new image-free css styles: TIE-Fighter and C-3PO
57
+ * Fixed an issue with strange spacing caused by WordPress' wonky wpautop function
58
+ * Moved plugin page at Twinpictures' Plugin Oven
59
+ * Consolidated support to WordPress Forums and added Premium Support option.
60
+ * Fixed closed arrow issue on the widget options page.
61
+
62
  = 2.0.9 =
63
  * Fixed issue with Digit Titles not being saved unless in rockstar mode
64
 
122
 
123
  == Upgrade Notice ==
124
 
125
+ = 2.0.9 =
126
+ * Two new image-free css styles have been added: TIE-Fighter and C-3PO
127
+ * Spacing issued caused by WordPress' wonky wpautop function has been fixed
128
+ * Fixed closed arrow issue on the widget options page.
129
+ * Moved plugin page at Twinpictures' Plugin Oven
130
+ * Consolidated support to WordPress Forums and added Premium Support option.
131
+
132
  = 2.0.9 =
133
  * fixed issue with Display Titles not saving
134
 
screenshot-2.png CHANGED
Binary file
screenshot-3.png CHANGED
Binary file
screenshot-4.png ADDED
Binary file