Version Description
- adjusted CSS to be compatible with WordPress 3.3
Download this release
Release Info
Developer | baden03 |
Plugin | T(-) Countdown |
Version | 2.0.8 |
Comparing to | |
See all releases |
Code changes from version 2.0.7 to 2.0.8
- admin/collapse-style.css +20 -7
- countdown-timer.php +3 -3
- js/jquery.collapse.js +27 -2
- readme.txt +7 -1
admin/collapse-style.css
CHANGED
@@ -1,14 +1,27 @@
|
|
1 |
.collapseomatic {
|
2 |
-
background-image:url(images/arrow-down.png)
|
3 |
-
background-repeat:no-repeat;
|
4 |
padding: 0 0 10px 16px;
|
5 |
cursor: pointer;
|
6 |
}
|
7 |
-
.
|
8 |
-
background-
|
|
|
9 |
}
|
10 |
-
.
|
11 |
-
|
12 |
-
|
|
|
|
|
|
|
|
|
|
|
13 |
margin-left: 16px;
|
|
|
|
|
|
|
|
|
14 |
}
|
|
|
|
|
|
1 |
.collapseomatic {
|
2 |
+
background-image: url(images/arrow-down.png);
|
3 |
+
background-repeat: no-repeat;
|
4 |
padding: 0 0 10px 16px;
|
5 |
cursor: pointer;
|
6 |
}
|
7 |
+
.arrowright {
|
8 |
+
background-position: top right;
|
9 |
+
padding: 0 16px 10px 0;
|
10 |
}
|
11 |
+
.colomat-hover {
|
12 |
+
text-decoration: underline;
|
13 |
+
}
|
14 |
+
.colomat-close {
|
15 |
+
background-image: url(images/arrow-up.png);
|
16 |
+
}
|
17 |
+
.collapseomatic_excerpt, .collapseomatic_content {
|
18 |
+
margin-top: 0px;
|
19 |
margin-left: 16px;
|
20 |
+
padding: 0px;
|
21 |
+
}
|
22 |
+
.collapseall, .expandall {
|
23 |
+
cursor: pointer;
|
24 |
}
|
25 |
+
.collapseall:hover, .expandall:hover {
|
26 |
+
text-decoration: underline;
|
27 |
+
}
|
countdown-timer.php
CHANGED
@@ -3,7 +3,7 @@
|
|
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.
|
7 |
Author: Twinpictures
|
8 |
Author URI: http://www.twinpictures.de/
|
9 |
License: GPL2
|
@@ -686,13 +686,11 @@ function tminuscountdown($atts, $content=null) {
|
|
686 |
<div class="'.$style.'-digit">'.$date_arr['hours'][1].'</div>
|
687 |
<div class="'.$style.'-digit">'.$date_arr['hours'][2].'</div>
|
688 |
</div>
|
689 |
-
|
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 |
-
|
696 |
<div class="'.$style.'-dash '.$style.'-seconds_dash">
|
697 |
<span class="'.$style.'-dash_title">'.$seconds.'</span>
|
698 |
<div class="'.$style.'-digit">'.$date_arr['secs'][1].'</div>
|
@@ -763,6 +761,8 @@ function tminuscountdown($atts, $content=null) {
|
|
763 |
</script>
|
764 |
<?php
|
765 |
}
|
|
|
|
|
766 |
return $tminus;
|
767 |
}
|
768 |
add_shortcode('tminus', 'tminuscountdown');
|
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.8
|
7 |
Author: Twinpictures
|
8 |
Author URI: http://www.twinpictures.de/
|
9 |
License: GPL2
|
686 |
<div class="'.$style.'-digit">'.$date_arr['hours'][1].'</div>
|
687 |
<div class="'.$style.'-digit">'.$date_arr['hours'][2].'</div>
|
688 |
</div>
|
|
|
689 |
<div class="'.$style.'-dash '.$style.'-minutes_dash">
|
690 |
<span class="'.$style.'-dash_title">'.$minutes.'</span>
|
691 |
<div class="'.$style.'-digit">'.$date_arr['mins'][1].'</div>
|
692 |
<div class="'.$style.'-digit">'.$date_arr['mins'][2].'</div>
|
693 |
</div>
|
|
|
694 |
<div class="'.$style.'-dash '.$style.'-seconds_dash">
|
695 |
<span class="'.$style.'-dash_title">'.$seconds.'</span>
|
696 |
<div class="'.$style.'-digit">'.$date_arr['secs'][1].'</div>
|
761 |
</script>
|
762 |
<?php
|
763 |
}
|
764 |
+
//remove any crazy p tags
|
765 |
+
//$tminus = str_replace('<p></p>', '', $tminus);
|
766 |
return $tminus;
|
767 |
}
|
768 |
add_shortcode('tminus', 'tminuscountdown');
|
js/jquery.collapse.js
CHANGED
@@ -1,7 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
jQuery(document).ready(function() {
|
2 |
jQuery('.collapseomatic').livequery('click', function(event) {
|
3 |
//alert('phones ringin dude');
|
4 |
-
jQuery(this).toggleClass('close');
|
5 |
var id = jQuery(this).attr('id');
|
6 |
jQuery('#target-'+id).slideToggle('fast', function() {
|
7 |
// Animation complete.
|
@@ -10,7 +36,6 @@ jQuery(document).ready(function() {
|
|
10 |
|
11 |
jQuery('.rockstar').livequery('click', function(event) {
|
12 |
//alert('phones ringin dude');
|
13 |
-
//jQuery(this).toggleClass('close');
|
14 |
var id = jQuery(this).attr('id');
|
15 |
var key = jQuery(this).val();
|
16 |
jQuery('.isrockstar').each(function(){
|
1 |
+
/*!
|
2 |
+
* jQuery Collapse-O-Matic for T-Minus v1.1
|
3 |
+
* http://www.twinpictures.de/
|
4 |
+
*
|
5 |
+
* Copyright 2011, Twinpictures
|
6 |
+
*
|
7 |
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
8 |
+
* of this software and associated documentation files (the "Software"), to deal
|
9 |
+
* in the Software without restriction, including without limitation the rights
|
10 |
+
* to use, copy, modify, merge, publish, distribute, sublicense, blend, trade,
|
11 |
+
* bake, hack, scramble, difiburlate, digest and/or sell copies of the Software,
|
12 |
+
* and to permit persons to whom the Software is furnished to do so, subject to
|
13 |
+
* the following conditions:
|
14 |
+
*
|
15 |
+
* The above copyright notice and this permission notice shall be included in
|
16 |
+
* all copies or substantial portions of the Software.
|
17 |
+
*
|
18 |
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
19 |
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
20 |
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
21 |
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
22 |
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
23 |
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
24 |
+
* THE SOFTWARE.
|
25 |
+
*/
|
26 |
+
|
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.
|
36 |
|
37 |
jQuery('.rockstar').livequery('click', function(event) {
|
38 |
//alert('phones ringin dude');
|
|
|
39 |
var id = jQuery(this).attr('id');
|
40 |
var key = jQuery(this).val();
|
41 |
jQuery('.isrockstar').each(function(){
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ 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
|
8 |
-
Stable tag: 2.0.
|
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 |
|
@@ -51,6 +51,9 @@ Ah yes! <a href='http://twitter.com/#!/twinpictures'>@Twinpictures</a> does the
|
|
51 |
|
52 |
== Changelog ==
|
53 |
|
|
|
|
|
|
|
54 |
= 2.0.7 =
|
55 |
* super fun with svn tagging issues.
|
56 |
|
@@ -108,6 +111,9 @@ Ah yes! <a href='http://twitter.com/#!/twinpictures'>@Twinpictures</a> does the
|
|
108 |
|
109 |
== Upgrade Notice ==
|
110 |
|
|
|
|
|
|
|
111 |
= 2.0.7 =
|
112 |
* fixing svn issues. old js file is being uploaded. grrr.
|
113 |
|
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
|
8 |
+
Stable tag: 2.0.8
|
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 |
|
51 |
|
52 |
== Changelog ==
|
53 |
|
54 |
+
= 2.0.8 =
|
55 |
+
* adjusted CSS to be compatible with WordPress 3.3
|
56 |
+
|
57 |
= 2.0.7 =
|
58 |
* super fun with svn tagging issues.
|
59 |
|
111 |
|
112 |
== Upgrade Notice ==
|
113 |
|
114 |
+
= 2.0.7 =
|
115 |
+
* fixed css issue for WordPress 3.3
|
116 |
+
|
117 |
= 2.0.7 =
|
118 |
* fixing svn issues. old js file is being uploaded. grrr.
|
119 |
|