Ditty News Ticker - Version 1.1.8

Version Description

  • Added mobile swipe support for rotate mode.
  • Added a hidden tick "offset" parameter.
  • Added setting to display first scroll tick on init.
Download this release

Release Info

Developer metaphorcreations
Plugin Icon 128x128 Ditty News Ticker
Version 1.1.8
Comparing to
See all releases

Code changes from version 1.1.7 to 1.1.8

assets/js/ditty-news-ticker.js CHANGED
@@ -1,9 +1,9 @@
1
  /**
2
  * Ditty News Ticker
3
- * Date: 6/12/2013
4
  *
5
  * @author Metaphor Creations
6
- * @version 1.1.7
7
  *
8
  **/
9
 
@@ -24,6 +24,7 @@
24
  scroll_pause : 0,
25
  scroll_spacing : 40,
26
  scroll_units : 10,
 
27
  rotate_type : 'fade',
28
  auto_rotate : 0,
29
  rotate_delay : 10,
@@ -31,6 +32,7 @@
31
  rotate_speed : 10,
32
  rotate_ease : 'easeOutExpo',
33
  nav_reverse : 0,
 
34
  before_change : function(){},
35
  after_change : function(){},
36
  after_load : function(){}
@@ -213,7 +215,7 @@
213
  var pos = parseFloat(ticks[i][0].position - settings.scroll_speed);
214
 
215
  // Reset the tick if off the screen
216
- if( pos < -(ticks[i][0].width+offset) ) {
217
  pos = mtphr_dnt_scroll_check_current(i);
218
  } else if( pos < parseFloat(ticker_width-ticks[i][0].width-settings.scroll_spacing) ) {
219
  mtphr_dnt_scroll_check_next(i);
@@ -233,7 +235,7 @@
233
  var pos = ticks[i][0].position + settings.scroll_speed;
234
 
235
  // Reset the tick if off the screen
236
- if( pos > ticker_width+offset ) {
237
  pos = mtphr_dnt_scroll_check_current(i);
238
  } else if( pos > settings.scroll_spacing ) {
239
  mtphr_dnt_scroll_check_next(i);
@@ -253,7 +255,7 @@
253
  var pos = ticks[i][0].position - settings.scroll_speed;
254
 
255
  // Reset the tick if off the screen
256
- if( pos < -(ticks[i][0].height+offset) ) {
257
  pos = mtphr_dnt_scroll_check_current(i);
258
  } else if( pos < ticker_height-ticks[i][0].height-settings.scroll_spacing ) {
259
  mtphr_dnt_scroll_check_next(i);
@@ -273,7 +275,7 @@
273
  var pos = ticks[i][0].position + settings.scroll_speed;
274
 
275
  // Reset the tick if off the screen
276
- if( pos > ticker_height+offset ) {
277
  pos = mtphr_dnt_scroll_check_current(i);
278
  } else if( pos > settings.scroll_spacing ) {
279
  mtphr_dnt_scroll_check_next(i);
@@ -326,14 +328,14 @@
326
 
327
  switch( settings.scroll_direction ) {
328
  case 'left':
329
- position = ticker_width+offset;
330
  if( ticks[i][0].visible == false ) {
331
  $tick.css('left',position+'px');
332
  }
333
  break;
334
 
335
  case 'right':
336
- position = parseInt('-'+($tick.outerWidth()+offset));
337
  if( ticks[i][0].visible == false ) {
338
  $tick.css('left',position+'px');
339
  }
@@ -343,7 +345,7 @@
343
  if( ticker_scroll_resize ) {
344
  $tick.css('width',ticker_width);
345
  }
346
- position = parseInt(ticker_height+offset);
347
  if( ticks[i][0].visible == false ) {
348
  $tick.css('top',position+'px');
349
  }
@@ -353,7 +355,7 @@
353
  if( ticker_scroll_resize ) {
354
  $tick.css('width',ticker_width);
355
  }
356
- position = parseInt('-'+($tick.outerHeight()+offset));
357
  if( ticks[i][0].visible == false ) {
358
  $tick.css('top',position+'px');
359
  }
@@ -383,12 +385,12 @@
383
 
384
  switch( settings.scroll_direction ) {
385
  case 'left':
386
- position = ticker_width+offset;
387
  $tick.stop(true,true).css('left',position+'px');
388
  break;
389
 
390
  case 'right':
391
- position = parseInt('-'+($tick.outerWidth()+offset));
392
  $tick.stop(true,true).css('left',position+'px');
393
  break;
394
 
@@ -396,7 +398,7 @@
396
  if( ticker_scroll_resize ) {
397
  $tick.css('width',ticker_width);
398
  }
399
- position = parseInt(ticker_height+offset);
400
  $tick.stop(true,true).css('top',position+'px');
401
  break;
402
 
@@ -404,7 +406,7 @@
404
  if( ticker_scroll_resize ) {
405
  $tick.css('width',ticker_width);
406
  }
407
- position = parseInt('-'+($tick.outerHeight()+offset));
408
  $tick.stop(true,true).css('top',position+'px');
409
  break;
410
  }
@@ -420,6 +422,12 @@
420
 
421
  // Set the first tick visibility
422
  ticks[vars.current_tick][0].visible = true;
 
 
 
 
 
 
423
  }
424
  }
425
 
@@ -691,7 +699,7 @@
691
  var h = $tick.outerHeight();
692
 
693
  // Set the initial position of the width & make sure it's visible
694
- $tick.css( 'left', parseFloat(w+offset)+'px' );
695
  $tick.show();
696
 
697
  // Resize the ticker
@@ -716,7 +724,7 @@
716
 
717
  // Slide the tick in
718
  $tick.stop().animate( {
719
- left: '-'+parseFloat(w+offset)+'px'
720
  }, rotate_speed, ease, function() {
721
  // Hide the tick
722
  $tick.hide();
@@ -772,7 +780,7 @@
772
  var h = $tick.outerHeight();
773
 
774
  // Set the initial position of the width & make sure it's visible
775
- $tick.css( 'left', '-'+parseFloat(w+offset)+'px' );
776
  $tick.show();
777
 
778
  // Resize the ticker
@@ -797,7 +805,7 @@
797
 
798
  // Slide the tick in
799
  $tick.stop().animate( {
800
- left: parseFloat(w+offset)+'px'
801
  }, rotate_speed, ease, function() {
802
  // Hide the tick
803
  $tick.hide();
@@ -851,7 +859,7 @@
851
  var h = $tick.outerHeight();
852
 
853
  // Set the initial position of the width & make sure it's visible
854
- $tick.css( 'top', '-'+parseFloat(h+offset)+'px' );
855
  $tick.show();
856
 
857
  // Resize the ticker
@@ -875,7 +883,7 @@
875
 
876
  // Slide the tick in
877
  $tick.stop().animate( {
878
- top: parseFloat(h+offset)+'px'
879
  }, rotate_speed, ease, function() {
880
  // Hide the tick
881
  $tick.hide();
@@ -929,7 +937,7 @@
929
  var h = $tick.outerHeight();
930
 
931
  // Set the initial position of the width & make sure it's visible
932
- $tick.css( 'top', parseFloat($prev.outerHeight()+offset)+'px' );
933
  $tick.show();
934
 
935
  // Resize the ticker
@@ -953,7 +961,7 @@
953
 
954
  // Slide the tick in
955
  $tick.stop().animate( {
956
- top: '-'+parseFloat(h+offset)+'px'
957
  }, rotate_speed, ease, function() {
958
  // Hide the tick
959
  $tick.hide();
@@ -1049,6 +1057,64 @@
1049
 
1050
 
1051
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1052
  /**
1053
  * Resize listener
1054
  * Reset the ticker width
1
  /**
2
  * Ditty News Ticker
3
+ * Date: 8/07/2013
4
  *
5
  * @author Metaphor Creations
6
+ * @version 1.1.8
7
  *
8
  **/
9
 
24
  scroll_pause : 0,
25
  scroll_spacing : 40,
26
  scroll_units : 10,
27
+ scroll_init : 0,
28
  rotate_type : 'fade',
29
  auto_rotate : 0,
30
  rotate_delay : 10,
32
  rotate_speed : 10,
33
  rotate_ease : 'easeOutExpo',
34
  nav_reverse : 0,
35
+ offset : 20,
36
  before_change : function(){},
37
  after_change : function(){},
38
  after_load : function(){}
215
  var pos = parseFloat(ticks[i][0].position - settings.scroll_speed);
216
 
217
  // Reset the tick if off the screen
218
+ if( pos < -(ticks[i][0].width+settings.offset) ) {
219
  pos = mtphr_dnt_scroll_check_current(i);
220
  } else if( pos < parseFloat(ticker_width-ticks[i][0].width-settings.scroll_spacing) ) {
221
  mtphr_dnt_scroll_check_next(i);
235
  var pos = ticks[i][0].position + settings.scroll_speed;
236
 
237
  // Reset the tick if off the screen
238
+ if( pos > ticker_width+settings.offset ) {
239
  pos = mtphr_dnt_scroll_check_current(i);
240
  } else if( pos > settings.scroll_spacing ) {
241
  mtphr_dnt_scroll_check_next(i);
255
  var pos = ticks[i][0].position - settings.scroll_speed;
256
 
257
  // Reset the tick if off the screen
258
+ if( pos < -(ticks[i][0].height+settings.offset) ) {
259
  pos = mtphr_dnt_scroll_check_current(i);
260
  } else if( pos < ticker_height-ticks[i][0].height-settings.scroll_spacing ) {
261
  mtphr_dnt_scroll_check_next(i);
275
  var pos = ticks[i][0].position + settings.scroll_speed;
276
 
277
  // Reset the tick if off the screen
278
+ if( pos > ticker_height+settings.offset ) {
279
  pos = mtphr_dnt_scroll_check_current(i);
280
  } else if( pos > settings.scroll_spacing ) {
281
  mtphr_dnt_scroll_check_next(i);
328
 
329
  switch( settings.scroll_direction ) {
330
  case 'left':
331
+ position = ticker_width+settings.offset;
332
  if( ticks[i][0].visible == false ) {
333
  $tick.css('left',position+'px');
334
  }
335
  break;
336
 
337
  case 'right':
338
+ position = parseInt('-'+($tick.outerWidth()+settings.offset));
339
  if( ticks[i][0].visible == false ) {
340
  $tick.css('left',position+'px');
341
  }
345
  if( ticker_scroll_resize ) {
346
  $tick.css('width',ticker_width);
347
  }
348
+ position = parseInt(ticker_height+settings.offset);
349
  if( ticks[i][0].visible == false ) {
350
  $tick.css('top',position+'px');
351
  }
355
  if( ticker_scroll_resize ) {
356
  $tick.css('width',ticker_width);
357
  }
358
+ position = parseInt('-'+($tick.outerHeight()+settings.offset));
359
  if( ticks[i][0].visible == false ) {
360
  $tick.css('top',position+'px');
361
  }
385
 
386
  switch( settings.scroll_direction ) {
387
  case 'left':
388
+ position = ticker_width+settings.offset;
389
  $tick.stop(true,true).css('left',position+'px');
390
  break;
391
 
392
  case 'right':
393
+ position = parseInt('-'+($tick.outerWidth()+settings.offset));
394
  $tick.stop(true,true).css('left',position+'px');
395
  break;
396
 
398
  if( ticker_scroll_resize ) {
399
  $tick.css('width',ticker_width);
400
  }
401
+ position = parseInt(ticker_height+settings.offset);
402
  $tick.stop(true,true).css('top',position+'px');
403
  break;
404
 
406
  if( ticker_scroll_resize ) {
407
  $tick.css('width',ticker_width);
408
  }
409
+ position = parseInt('-'+($tick.outerHeight()+settings.offset));
410
  $tick.stop(true,true).css('top',position+'px');
411
  break;
412
  }
422
 
423
  // Set the first tick visibility
424
  ticks[vars.current_tick][0].visible = true;
425
+
426
+ if( settings.scroll_init ) {
427
+ ticks[vars.current_tick][0].headline.css('left', 0);
428
+ ticks[vars.current_tick][0].headline.css('top', 0);
429
+ ticks[vars.current_tick][0].position = 0;
430
+ }
431
  }
432
  }
433
 
699
  var h = $tick.outerHeight();
700
 
701
  // Set the initial position of the width & make sure it's visible
702
+ $tick.css( 'left', parseFloat(w+settings.offset)+'px' );
703
  $tick.show();
704
 
705
  // Resize the ticker
724
 
725
  // Slide the tick in
726
  $tick.stop().animate( {
727
+ left: '-'+parseFloat(w+settings.offset)+'px'
728
  }, rotate_speed, ease, function() {
729
  // Hide the tick
730
  $tick.hide();
780
  var h = $tick.outerHeight();
781
 
782
  // Set the initial position of the width & make sure it's visible
783
+ $tick.css( 'left', '-'+parseFloat(w+settings.offset)+'px' );
784
  $tick.show();
785
 
786
  // Resize the ticker
805
 
806
  // Slide the tick in
807
  $tick.stop().animate( {
808
+ left: parseFloat(w+settings.offset)+'px'
809
  }, rotate_speed, ease, function() {
810
  // Hide the tick
811
  $tick.hide();
859
  var h = $tick.outerHeight();
860
 
861
  // Set the initial position of the width & make sure it's visible
862
+ $tick.css( 'top', '-'+parseFloat(h+settings.offset)+'px' );
863
  $tick.show();
864
 
865
  // Resize the ticker
883
 
884
  // Slide the tick in
885
  $tick.stop().animate( {
886
+ top: parseFloat(h+settings.offset)+'px'
887
  }, rotate_speed, ease, function() {
888
  // Hide the tick
889
  $tick.hide();
937
  var h = $tick.outerHeight();
938
 
939
  // Set the initial position of the width & make sure it's visible
940
+ $tick.css( 'top', parseFloat($prev.outerHeight()+settings.offset)+'px' );
941
  $tick.show();
942
 
943
  // Resize the ticker
961
 
962
  // Slide the tick in
963
  $tick.stop().animate( {
964
+ top: '-'+parseFloat(h+settings.offset)+'px'
965
  }, rotate_speed, ease, function() {
966
  // Hide the tick
967
  $tick.hide();
1057
 
1058
 
1059
 
1060
+ /**
1061
+ * Mobile swipe
1062
+ *
1063
+ * @since 1.1.8
1064
+ */
1065
+ if( settings.type == 'rotate' ) {
1066
+
1067
+ $ticker.swipe( {
1068
+ triggerOnTouchEnd : true,
1069
+ swipeStatus : mtphr_dnt_swipe,
1070
+ allowPageScroll: 'vertical'
1071
+ });
1072
+ function mtphr_dnt_swipe( event, phase, direction, distance, fingers ) {
1073
+
1074
+ if ( phase =="end" ) {
1075
+ if (direction == "right") {
1076
+
1077
+ if(vars.running) return false;
1078
+
1079
+ // Find the new tick
1080
+ var new_tick = parseInt(vars.current_tick-1);
1081
+ if( new_tick < 0 ) {
1082
+ new_tick = vars.tick_count-1;
1083
+ }
1084
+ if( settings.rotate_type == 'slide_left' || settings.rotate_type == 'slide_right' ) {
1085
+ rotate_adjustment = 'slide_right';
1086
+ }
1087
+ if( settings.nav_reverse ) {
1088
+ if( settings.rotate_type == 'slide_down' ) {
1089
+ rotate_adjustment = 'slide_up';
1090
+ } else if( settings.rotate_type == 'slide_up' ) {
1091
+ rotate_adjustment = 'slide_down';
1092
+ }
1093
+ vars.reverse = 1;
1094
+ }
1095
+ mtphr_dnt_rotator_update( new_tick );
1096
+
1097
+ } else if (direction == "left") {
1098
+
1099
+ if(vars.running) return false;
1100
+
1101
+ // Find the new tick
1102
+ var new_tick = parseInt(vars.current_tick + 1);
1103
+ if( new_tick == vars.tick_count ) {
1104
+ new_tick = 0;
1105
+ }
1106
+ if( settings.rotate_type == 'slide_left' || settings.rotate_type == 'slide_right' ) {
1107
+ rotate_adjustment = 'slide_left';
1108
+ }
1109
+ mtphr_dnt_rotator_update( new_tick );
1110
+ }
1111
+ }
1112
+ }
1113
+ }
1114
+
1115
+
1116
+
1117
+
1118
  /**
1119
  * Resize listener
1120
  * Reset the ticker width
assets/js/jquery.touchSwipe.min.js ADDED
@@ -0,0 +1 @@
 
1
+ (function(e){var o="left",n="right",d="up",v="down",c="in",w="out",l="none",r="auto",k="swipe",s="pinch",x="tap",i="doubletap",b="longtap",A="horizontal",t="vertical",h="all",q=10,f="start",j="move",g="end",p="cancel",a="ontouchstart" in window,y="TouchSwipe";var m={fingers:1,threshold:75,cancelThreshold:null,pinchThreshold:20,maxTimeThreshold:null,fingerReleaseThreshold:250,longTapThreshold:500,doubleTapThreshold:200,swipe:null,swipeLeft:null,swipeRight:null,swipeUp:null,swipeDown:null,swipeStatus:null,pinchIn:null,pinchOut:null,pinchStatus:null,click:null,tap:null,doubleTap:null,longTap:null,triggerOnTouchEnd:true,triggerOnTouchLeave:false,allowPageScroll:"auto",fallbackToMouseEvents:true,excludedElements:"button, input, select, textarea, a, .noSwipe"};e.fn.swipe=function(D){var C=e(this),B=C.data(y);if(B&&typeof D==="string"){if(B[D]){return B[D].apply(this,Array.prototype.slice.call(arguments,1))}else{e.error("Method "+D+" does not exist on jQuery.swipe")}}else{if(!B&&(typeof D==="object"||!D)){return u.apply(this,arguments)}}return C};e.fn.swipe.defaults=m;e.fn.swipe.phases={PHASE_START:f,PHASE_MOVE:j,PHASE_END:g,PHASE_CANCEL:p};e.fn.swipe.directions={LEFT:o,RIGHT:n,UP:d,DOWN:v,IN:c,OUT:w};e.fn.swipe.pageScroll={NONE:l,HORIZONTAL:A,VERTICAL:t,AUTO:r};e.fn.swipe.fingers={ONE:1,TWO:2,THREE:3,ALL:h};function u(B){if(B&&(B.allowPageScroll===undefined&&(B.swipe!==undefined||B.swipeStatus!==undefined))){B.allowPageScroll=l}if(B.click!==undefined&&B.tap===undefined){B.tap=B.click}if(!B){B={}}B=e.extend({},e.fn.swipe.defaults,B);return this.each(function(){var D=e(this);var C=D.data(y);if(!C){C=new z(this,B);D.data(y,C)}})}function z(a0,aq){var av=(a||!aq.fallbackToMouseEvents),G=av?"touchstart":"mousedown",au=av?"touchmove":"mousemove",R=av?"touchend":"mouseup",P=av?null:"mouseleave",az="touchcancel";var ac=0,aL=null,Y=0,aX=0,aV=0,D=1,am=0,aF=0,J=null;var aN=e(a0);var W="start";var T=0;var aM=null;var Q=0,aY=0,a1=0,aa=0,K=0;var aS=null;try{aN.bind(G,aJ);aN.bind(az,a5)}catch(ag){e.error("events not supported "+G+","+az+" on jQuery.swipe")}this.enable=function(){aN.bind(G,aJ);aN.bind(az,a5);return aN};this.disable=function(){aG();return aN};this.destroy=function(){aG();aN.data(y,null);return aN};this.option=function(a8,a7){if(aq[a8]!==undefined){if(a7===undefined){return aq[a8]}else{aq[a8]=a7}}else{e.error("Option "+a8+" does not exist on jQuery.swipe.options")}};function aJ(a9){if(ax()){return}if(e(a9.target).closest(aq.excludedElements,aN).length>0){return}var ba=a9.originalEvent?a9.originalEvent:a9;var a8,a7=a?ba.touches[0]:ba;W=f;if(a){T=ba.touches.length}else{a9.preventDefault()}ac=0;aL=null;aF=null;Y=0;aX=0;aV=0;D=1;am=0;aM=af();J=X();O();if(!a||(T===aq.fingers||aq.fingers===h)||aT()){ae(0,a7);Q=ao();if(T==2){ae(1,ba.touches[1]);aX=aV=ap(aM[0].start,aM[1].start)}if(aq.swipeStatus||aq.pinchStatus){a8=L(ba,W)}}else{a8=false}if(a8===false){W=p;L(ba,W);return a8}else{ak(true)}}function aZ(ba){var bd=ba.originalEvent?ba.originalEvent:ba;if(W===g||W===p||ai()){return}var a9,a8=a?bd.touches[0]:bd;var bb=aD(a8);aY=ao();if(a){T=bd.touches.length}W=j;if(T==2){if(aX==0){ae(1,bd.touches[1]);aX=aV=ap(aM[0].start,aM[1].start)}else{aD(bd.touches[1]);aV=ap(aM[0].end,aM[1].end);aF=an(aM[0].end,aM[1].end)}D=a3(aX,aV);am=Math.abs(aX-aV)}if((T===aq.fingers||aq.fingers===h)||!a||aT()){aL=aH(bb.start,bb.end);ah(ba,aL);ac=aO(bb.start,bb.end);Y=aI();aE(aL,ac);if(aq.swipeStatus||aq.pinchStatus){a9=L(bd,W)}if(!aq.triggerOnTouchEnd||aq.triggerOnTouchLeave){var a7=true;if(aq.triggerOnTouchLeave){var bc=aU(this);a7=B(bb.end,bc)}if(!aq.triggerOnTouchEnd&&a7){W=ay(j)}else{if(aq.triggerOnTouchLeave&&!a7){W=ay(g)}}if(W==p||W==g){L(bd,W)}}}else{W=p;L(bd,W)}if(a9===false){W=p;L(bd,W)}}function I(a7){var a8=a7.originalEvent;if(a){if(a8.touches.length>0){C();return true}}if(ai()){T=aa}a7.preventDefault();aY=ao();Y=aI();if(a6()){W=p;L(a8,W)}else{if(aq.triggerOnTouchEnd||(aq.triggerOnTouchEnd==false&&W===j)){W=g;L(a8,W)}else{if(!aq.triggerOnTouchEnd&&a2()){W=g;aB(a8,W,x)}else{if(W===j){W=p;L(a8,W)}}}}ak(false)}function a5(){T=0;aY=0;Q=0;aX=0;aV=0;D=1;O();ak(false)}function H(a7){var a8=a7.originalEvent;if(aq.triggerOnTouchLeave){W=ay(g);L(a8,W)}}function aG(){aN.unbind(G,aJ);aN.unbind(az,a5);aN.unbind(au,aZ);aN.unbind(R,I);if(P){aN.unbind(P,H)}ak(false)}function ay(bb){var ba=bb;var a9=aw();var a8=aj();var a7=a6();if(!a9||a7){ba=p}else{if(a8&&bb==j&&(!aq.triggerOnTouchEnd||aq.triggerOnTouchLeave)){ba=g}else{if(!a8&&bb==g&&aq.triggerOnTouchLeave){ba=p}}}return ba}function L(a9,a7){var a8=undefined;if(F()||S()){a8=aB(a9,a7,k)}else{if((M()||aT())&&a8!==false){a8=aB(a9,a7,s)}}if(aC()&&a8!==false){a8=aB(a9,a7,i)}else{if(al()&&a8!==false){a8=aB(a9,a7,b)}else{if(ad()&&a8!==false){a8=aB(a9,a7,x)}}}if(a7===p){a5(a9)}if(a7===g){if(a){if(a9.touches.length==0){a5(a9)}}else{a5(a9)}}return a8}function aB(ba,a7,a9){var a8=undefined;if(a9==k){aN.trigger("swipeStatus",[a7,aL||null,ac||0,Y||0,T]);if(aq.swipeStatus){a8=aq.swipeStatus.call(aN,ba,a7,aL||null,ac||0,Y||0,T);if(a8===false){return false}}if(a7==g&&aR()){aN.trigger("swipe",[aL,ac,Y,T]);if(aq.swipe){a8=aq.swipe.call(aN,ba,aL,ac,Y,T);if(a8===false){return false}}switch(aL){case o:aN.trigger("swipeLeft",[aL,ac,Y,T]);if(aq.swipeLeft){a8=aq.swipeLeft.call(aN,ba,aL,ac,Y,T)}break;case n:aN.trigger("swipeRight",[aL,ac,Y,T]);if(aq.swipeRight){a8=aq.swipeRight.call(aN,ba,aL,ac,Y,T)}break;case d:aN.trigger("swipeUp",[aL,ac,Y,T]);if(aq.swipeUp){a8=aq.swipeUp.call(aN,ba,aL,ac,Y,T)}break;case v:aN.trigger("swipeDown",[aL,ac,Y,T]);if(aq.swipeDown){a8=aq.swipeDown.call(aN,ba,aL,ac,Y,T)}break}}}if(a9==s){aN.trigger("pinchStatus",[a7,aF||null,am||0,Y||0,T,D]);if(aq.pinchStatus){a8=aq.pinchStatus.call(aN,ba,a7,aF||null,am||0,Y||0,T,D);if(a8===false){return false}}if(a7==g&&a4()){switch(aF){case c:aN.trigger("pinchIn",[aF||null,am||0,Y||0,T,D]);if(aq.pinchIn){a8=aq.pinchIn.call(aN,ba,aF||null,am||0,Y||0,T,D)}break;case w:aN.trigger("pinchOut",[aF||null,am||0,Y||0,T,D]);if(aq.pinchOut){a8=aq.pinchOut.call(aN,ba,aF||null,am||0,Y||0,T,D)}break}}}if(a9==x){if(a7===p||a7===g){clearTimeout(aS);if(V()&&!E()){K=ao();aS=setTimeout(e.proxy(function(){K=null;aN.trigger("tap",[ba.target]);if(aq.tap){a8=aq.tap.call(aN,ba,ba.target)}},this),aq.doubleTapThreshold)}else{K=null;aN.trigger("tap",[ba.target]);if(aq.tap){a8=aq.tap.call(aN,ba,ba.target)}}}}else{if(a9==i){if(a7===p||a7===g){clearTimeout(aS);K=null;aN.trigger("doubletap",[ba.target]);if(aq.doubleTap){a8=aq.doubleTap.call(aN,ba,ba.target)}}}else{if(a9==b){if(a7===p||a7===g){clearTimeout(aS);K=null;aN.trigger("longtap",[ba.target]);if(aq.longTap){a8=aq.longTap.call(aN,ba,ba.target)}}}}}return a8}function aj(){var a7=true;if(aq.threshold!==null){a7=ac>=aq.threshold}return a7}function a6(){var a7=false;if(aq.cancelThreshold!==null&&aL!==null){a7=(aP(aL)-ac)>=aq.cancelThreshold}return a7}function ab(){if(aq.pinchThreshold!==null){return am>=aq.pinchThreshold}return true}function aw(){var a7;if(aq.maxTimeThreshold){if(Y>=aq.maxTimeThreshold){a7=false}else{a7=true}}else{a7=true}return a7}function ah(a7,a8){if(aq.allowPageScroll===l||aT()){a7.preventDefault()}else{var a9=aq.allowPageScroll===r;switch(a8){case o:if((aq.swipeLeft&&a9)||(!a9&&aq.allowPageScroll!=A)){a7.preventDefault()}break;case n:if((aq.swipeRight&&a9)||(!a9&&aq.allowPageScroll!=A)){a7.preventDefault()}break;case d:if((aq.swipeUp&&a9)||(!a9&&aq.allowPageScroll!=t)){a7.preventDefault()}break;case v:if((aq.swipeDown&&a9)||(!a9&&aq.allowPageScroll!=t)){a7.preventDefault()}break}}}function a4(){var a8=aK();var a7=U();var a9=ab();return a8&&a7&&a9}function aT(){return !!(aq.pinchStatus||aq.pinchIn||aq.pinchOut)}function M(){return !!(a4()&&aT())}function aR(){var ba=aw();var bc=aj();var a9=aK();var a7=U();var a8=a6();var bb=!a8&&a7&&a9&&bc&&ba;return bb}function S(){return !!(aq.swipe||aq.swipeStatus||aq.swipeLeft||aq.swipeRight||aq.swipeUp||aq.swipeDown)}function F(){return !!(aR()&&S())}function aK(){return((T===aq.fingers||aq.fingers===h)||!a)}function U(){return aM[0].end.x!==0}function a2(){return !!(aq.tap)}function V(){return !!(aq.doubleTap)}function aQ(){return !!(aq.longTap)}function N(){if(K==null){return false}var a7=ao();return(V()&&((a7-K)<=aq.doubleTapThreshold))}function E(){return N()}function at(){return((T===1||!a)&&(isNaN(ac)||ac===0))}function aW(){return((Y>aq.longTapThreshold)&&(ac<q))}function ad(){return !!(at()&&a2())}function aC(){return !!(N()&&V())}function al(){return !!(aW()&&aQ())}function C(){a1=ao();aa=event.touches.length+1}function O(){a1=0;aa=0}function ai(){var a7=false;if(a1){var a8=ao()-a1;if(a8<=aq.fingerReleaseThreshold){a7=true}}return a7}function ax(){return !!(aN.data(y+"_intouch")===true)}function ak(a7){if(a7===true){aN.bind(au,aZ);aN.bind(R,I);if(P){aN.bind(P,H)}}else{aN.unbind(au,aZ,false);aN.unbind(R,I,false);if(P){aN.unbind(P,H,false)}}aN.data(y+"_intouch",a7===true)}function ae(a8,a7){var a9=a7.identifier!==undefined?a7.identifier:0;aM[a8].identifier=a9;aM[a8].start.x=aM[a8].end.x=a7.pageX||a7.clientX;aM[a8].start.y=aM[a8].end.y=a7.pageY||a7.clientY;return aM[a8]}function aD(a7){var a9=a7.identifier!==undefined?a7.identifier:0;var a8=Z(a9);a8.end.x=a7.pageX||a7.clientX;a8.end.y=a7.pageY||a7.clientY;return a8}function Z(a8){for(var a7=0;a7<aM.length;a7++){if(aM[a7].identifier==a8){return aM[a7]}}}function af(){var a7=[];for(var a8=0;a8<=5;a8++){a7.push({start:{x:0,y:0},end:{x:0,y:0},identifier:0})}return a7}function aE(a7,a8){a8=Math.max(a8,aP(a7));J[a7].distance=a8}function aP(a7){return J[a7].distance}function X(){var a7={};a7[o]=ar(o);a7[n]=ar(n);a7[d]=ar(d);a7[v]=ar(v);return a7}function ar(a7){return{direction:a7,distance:0}}function aI(){return aY-Q}function ap(ba,a9){var a8=Math.abs(ba.x-a9.x);var a7=Math.abs(ba.y-a9.y);return Math.round(Math.sqrt(a8*a8+a7*a7))}function a3(a7,a8){var a9=(a8/a7)*1;return a9.toFixed(2)}function an(){if(D<1){return w}else{return c}}function aO(a8,a7){return Math.round(Math.sqrt(Math.pow(a7.x-a8.x,2)+Math.pow(a7.y-a8.y,2)))}function aA(ba,a8){var a7=ba.x-a8.x;var bc=a8.y-ba.y;var a9=Math.atan2(bc,a7);var bb=Math.round(a9*180/Math.PI);if(bb<0){bb=360-Math.abs(bb)}return bb}function aH(a8,a7){var a9=aA(a8,a7);if((a9<=45)&&(a9>=0)){return o}else{if((a9<=360)&&(a9>=315)){return o}else{if((a9>=135)&&(a9<=225)){return n}else{if((a9>45)&&(a9<135)){return v}else{return d}}}}}function ao(){var a7=new Date();return a7.getTime()}function aU(a7){a7=e(a7);var a9=a7.offset();var a8={left:a9.left,right:a9.left+a7.outerWidth(),top:a9.top,bottom:a9.top+a7.outerHeight()};return a8}function B(a7,a8){return(a7.x>a8.left&&a7.x<a8.right&&a7.y>a8.top&&a7.y<a8.bottom)}}})(jQuery);
ditty-news-ticker.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Ditty News Ticker
4
  Plugin URI: http://dittynewsticker.com/
5
  Description: Ditty News Ticker is a multi-functional data display plugin
6
- Version: 1.1.7
7
  Author: Metaphor Creations
8
  Author URI: http://www.metaphorcreations.com
9
  License: GPL2
@@ -45,9 +45,9 @@ The icons are licensed under a Creative Commons Attribution
45
  * @since 1.1.6
46
  */
47
  if ( WP_DEBUG ) {
48
- define ( 'MTPHR_DNT_VERSION', '1.1.7-'.time() );
49
  } else {
50
- define ( 'MTPHR_DNT_VERSION', '1.1.7' );
51
  }
52
  define ( 'MTPHR_DNT_DIR', plugin_dir_path(__FILE__) );
53
  define ( 'MTPHR_DNT_URL', plugins_url().'/ditty-news-ticker' );
3
  Plugin Name: Ditty News Ticker
4
  Plugin URI: http://dittynewsticker.com/
5
  Description: Ditty News Ticker is a multi-functional data display plugin
6
+ Version: 1.1.8
7
  Author: Metaphor Creations
8
  Author URI: http://www.metaphorcreations.com
9
  License: GPL2
45
  * @since 1.1.6
46
  */
47
  if ( WP_DEBUG ) {
48
+ define ( 'MTPHR_DNT_VERSION', '1.1.8-'.time() );
49
  } else {
50
+ define ( 'MTPHR_DNT_VERSION', '1.1.8' );
51
  }
52
  define ( 'MTPHR_DNT_DIR', plugin_dir_path(__FILE__) );
53
  define ( 'MTPHR_DNT_URL', plugins_url().'/ditty-news-ticker' );
includes/functions.php CHANGED
@@ -22,7 +22,7 @@ function ditty_news_ticker( $id='', $class='', $atts=false ) {
22
  /**
23
  * Return the ticker
24
  *
25
- * @since 1.1.7
26
  */
27
  function get_mtphr_dnt_ticker( $id='', $class='', $atts=false ) {
28
 
@@ -153,6 +153,11 @@ function get_mtphr_dnt_ticker( $id='', $class='', $atts=false ) {
153
 
154
  // Print out the ticks
155
  if( is_array($dnt_ticks) ) {
 
 
 
 
 
156
  $total = count($dnt_ticks);
157
  foreach( $dnt_ticks as $i => $tick ) {
158
 
@@ -232,10 +237,13 @@ function get_mtphr_dnt_ticker( $id='', $class='', $atts=false ) {
232
  }
233
  }
234
 
235
- $scroll_pause = 0;
236
  if( isset($_mtphr_dnt_scroll_pause) ) {
237
  $scroll_pause = $_mtphr_dnt_scroll_pause ? 1 : 0;
238
  }
 
 
 
239
  $rotate = 0; $rotate_pause = 0; $nav_autohide = 0; $nav_reverse = 0;
240
  if( isset($_mtphr_dnt_auto_rotate) ) {
241
  $rotate = $_mtphr_dnt_auto_rotate ? 1 : 0;
@@ -246,7 +254,6 @@ function get_mtphr_dnt_ticker( $id='', $class='', $atts=false ) {
246
  if( isset($_mtphr_dnt_rotate_directional_nav_reverse) ) {
247
  $nav_reverse = $_mtphr_dnt_rotate_directional_nav_reverse ? 1 : 0;
248
  }
249
-
250
  $mtphr_dnt_ticker_scripts[] = array(
251
  'ticker' => $ticker,
252
  'id' => $id,
@@ -255,13 +262,15 @@ function get_mtphr_dnt_ticker( $id='', $class='', $atts=false ) {
255
  'scroll_speed' => intval($_mtphr_dnt_scroll_speed),
256
  'scroll_pause' => $scroll_pause,
257
  'scroll_spacing' => intval($_mtphr_dnt_scroll_tick_spacing),
 
258
  'rotate_type' => $_mtphr_dnt_rotate_type,
259
  'auto_rotate' => $rotate,
260
  'rotate_delay' => intval($_mtphr_dnt_rotate_delay),
261
  'rotate_pause' => $rotate_pause,
262
  'rotate_speed' => intval($_mtphr_dnt_rotate_speed),
263
  'rotate_ease' => $_mtphr_dnt_rotate_ease,
264
- 'nav_reverse' => $nav_reverse
 
265
  );
266
  }
267
 
22
  /**
23
  * Return the ticker
24
  *
25
+ * @since 1.1.8
26
  */
27
  function get_mtphr_dnt_ticker( $id='', $class='', $atts=false ) {
28
 
153
 
154
  // Print out the ticks
155
  if( is_array($dnt_ticks) ) {
156
+
157
+ // Randomize the ticks
158
+ if( isset($_mtphr_dnt_shuffle) && $_mtphr_dnt_shuffle ) {
159
+ shuffle( $dnt_ticks );
160
+ }
161
  $total = count($dnt_ticks);
162
  foreach( $dnt_ticks as $i => $tick ) {
163
 
237
  }
238
  }
239
 
240
+ $scroll_pause = 0; $scroll_init = 0;
241
  if( isset($_mtphr_dnt_scroll_pause) ) {
242
  $scroll_pause = $_mtphr_dnt_scroll_pause ? 1 : 0;
243
  }
244
+ if( isset($_mtphr_dnt_scroll_init) ) {
245
+ $scroll_init = $_mtphr_dnt_scroll_init ? 1 : 0;
246
+ }
247
  $rotate = 0; $rotate_pause = 0; $nav_autohide = 0; $nav_reverse = 0;
248
  if( isset($_mtphr_dnt_auto_rotate) ) {
249
  $rotate = $_mtphr_dnt_auto_rotate ? 1 : 0;
254
  if( isset($_mtphr_dnt_rotate_directional_nav_reverse) ) {
255
  $nav_reverse = $_mtphr_dnt_rotate_directional_nav_reverse ? 1 : 0;
256
  }
 
257
  $mtphr_dnt_ticker_scripts[] = array(
258
  'ticker' => $ticker,
259
  'id' => $id,
262
  'scroll_speed' => intval($_mtphr_dnt_scroll_speed),
263
  'scroll_pause' => $scroll_pause,
264
  'scroll_spacing' => intval($_mtphr_dnt_scroll_tick_spacing),
265
+ 'scroll_init' => $scroll_init,
266
  'rotate_type' => $_mtphr_dnt_rotate_type,
267
  'auto_rotate' => $rotate,
268
  'rotate_delay' => intval($_mtphr_dnt_rotate_delay),
269
  'rotate_pause' => $rotate_pause,
270
  'rotate_speed' => intval($_mtphr_dnt_rotate_speed),
271
  'rotate_ease' => $_mtphr_dnt_rotate_ease,
272
+ 'nav_reverse' => $nav_reverse,
273
+ 'offset' => intval($_mtphr_dnt_offset)
274
  );
275
  }
276
 
includes/meta-boxes.php CHANGED
@@ -144,7 +144,7 @@ add_action( 'admin_init', 'mtphr_dnt_mode_metabox_scroll', 12 );
144
  /**
145
  * Create the scroll mode metabox.
146
  *
147
- * @since 1.1.0
148
  */
149
  function mtphr_dnt_mode_metabox_scroll() {
150
 
@@ -164,7 +164,13 @@ function mtphr_dnt_mode_metabox_scroll() {
164
  ),
165
  'default' => 'left',
166
  'description' => __('Set the scroll direction of the ticker.', 'ditty-news-ticker'),
167
- 'display' => 'inline'
 
 
 
 
 
 
168
  );
169
 
170
  // Add the dimensions field
@@ -445,7 +451,7 @@ add_action( 'admin_init', 'mtphr_dnt_global_settings', 13 );
445
  /**
446
  * Create the display metabox.
447
  *
448
- * @since 1.0.3
449
  */
450
  function mtphr_dnt_global_settings() {
451
 
@@ -465,6 +471,13 @@ function mtphr_dnt_global_settings() {
465
  )
466
  );
467
 
 
 
 
 
 
 
 
468
  // Add the title field
469
  $global_fields['ticker_width'] = array(
470
  'id' => '_mtphr_dnt_ticker_width',
@@ -473,6 +486,15 @@ function mtphr_dnt_global_settings() {
473
  'after' => 'px<br/>'.'<small><em>'.__('Override the auto width a with specific value.', 'ditty-news-ticker').'</em></small>'
474
  );
475
 
 
 
 
 
 
 
 
 
 
476
  // Create the metabox
477
  $dnt_global = array(
478
  'id' => 'mtphr_dnt_global_settings',
144
  /**
145
  * Create the scroll mode metabox.
146
  *
147
+ * @since 1.1.8
148
  */
149
  function mtphr_dnt_mode_metabox_scroll() {
150
 
164
  ),
165
  'default' => 'left',
166
  'description' => __('Set the scroll direction of the ticker.', 'ditty-news-ticker'),
167
+ 'display' => 'inline',
168
+ 'append' => array(
169
+ '_mtphr_dnt_scroll_init' => array(
170
+ 'type' => 'checkbox',
171
+ 'label' => __('Show first tick on init', 'ditty-news-ticker'),
172
+ )
173
+ )
174
  );
175
 
176
  // Add the dimensions field
451
  /**
452
  * Create the display metabox.
453
  *
454
+ * @since 1.1.8
455
  */
456
  function mtphr_dnt_global_settings() {
457
 
471
  )
472
  );
473
 
474
+ // Add the randomize field
475
+ $global_fields['shuffle'] = array(
476
+ 'id' => '_mtphr_dnt_shuffle',
477
+ 'type' => 'checkbox',
478
+ 'label' => __('Randomly shuffle the ticks', 'ditty-news-ticker')
479
+ );
480
+
481
  // Add the title field
482
  $global_fields['ticker_width'] = array(
483
  'id' => '_mtphr_dnt_ticker_width',
486
  'after' => 'px<br/>'.'<small><em>'.__('Override the auto width a with specific value.', 'ditty-news-ticker').'</em></small>'
487
  );
488
 
489
+ // Add the offset field
490
+ $global_fields['offset'] = array(
491
+ 'id' => '_mtphr_dnt_offset',
492
+ 'type' => 'number',
493
+ 'default' => 20,
494
+ 'before' => __('Offset ticks', 'ditty-news-ticker'),
495
+ 'after' => __('px from the edge', 'ditty-news-ticker').'<br/>'.'<small><em>'.__('The amount of pixels ticks should start and end off the screen.', 'ditty-news-ticker').'</em></small>'
496
+ );
497
+
498
  // Create the metabox
499
  $dnt_global = array(
500
  'id' => 'mtphr_dnt_global_settings',
includes/scripts.php CHANGED
@@ -56,7 +56,7 @@ add_action( 'wp_enqueue_scripts', 'mtphr_dnt_scripts' );
56
  /**
57
  * Load the front end scripts
58
  *
59
- * @since 1.1.5
60
  */
61
  function mtphr_dnt_scripts() {
62
 
@@ -64,6 +64,9 @@ function mtphr_dnt_scripts() {
64
  wp_register_style( 'ditty-news-ticker', MTPHR_DNT_URL.'/assets/css/style.css', false, MTPHR_DNT_VERSION );
65
  wp_enqueue_style( 'ditty-news-ticker' );
66
 
 
 
 
67
  // Register the jQuery easing
68
  wp_register_script( 'jquery-easing', MTPHR_DNT_URL.'/assets/js/jquery.easing.1.3.js', array('jquery'), MTPHR_DNT_VERSION, true );
69
 
@@ -95,12 +98,13 @@ add_action( 'wp_footer', 'mtphr_dnt_tickers_init_scripts', 20 );
95
  /**
96
  * Initialize the ticker scriptinos
97
  *
98
- * @since 1.1.5
99
  */
100
  function mtphr_dnt_tickers_init_scripts() {
101
 
102
  global $mtphr_dnt_ticker_scripts;
103
  if( is_array($mtphr_dnt_ticker_scripts) && !empty($mtphr_dnt_ticker_scripts) ) {
 
104
  wp_print_scripts('jquery-easing');
105
  wp_print_scripts('ditty-news-ticker');
106
  ?>
@@ -114,6 +118,7 @@ function mtphr_dnt_tickers_init_scripts() {
114
  scroll_speed : <?php echo $ticker['scroll_speed']; ?>,
115
  scroll_pause : <?php echo $ticker['scroll_pause']; ?>,
116
  scroll_spacing : <?php echo $ticker['scroll_spacing']; ?>,
 
117
  rotate_type : '<?php echo $ticker['rotate_type']; ?>',
118
  auto_rotate : <?php echo $ticker['auto_rotate']; ?>,
119
  rotate_delay : <?php echo $ticker['rotate_delay']; ?>,
@@ -121,6 +126,7 @@ function mtphr_dnt_tickers_init_scripts() {
121
  rotate_speed : <?php echo $ticker['rotate_speed']; ?>,
122
  rotate_ease : '<?php echo $ticker['rotate_ease']; ?>',
123
  nav_reverse : <?php echo $ticker['nav_reverse']; ?>,
 
124
  after_load : function( $ticker ) {
125
  <?php echo apply_filters( 'mtphr_dnt_after_load_rotate' , '', $ticker['id'] ); ?>
126
  },
56
  /**
57
  * Load the front end scripts
58
  *
59
+ * @since 1.1.8
60
  */
61
  function mtphr_dnt_scripts() {
62
 
64
  wp_register_style( 'ditty-news-ticker', MTPHR_DNT_URL.'/assets/css/style.css', false, MTPHR_DNT_VERSION );
65
  wp_enqueue_style( 'ditty-news-ticker' );
66
 
67
+ // Register touchSwipe
68
+ wp_register_script( 'touchSwipe', MTPHR_DNT_URL.'/assets/js/jquery.touchSwipe.min.js', array('jquery'), MTPHR_DNT_VERSION, true );
69
+
70
  // Register the jQuery easing
71
  wp_register_script( 'jquery-easing', MTPHR_DNT_URL.'/assets/js/jquery.easing.1.3.js', array('jquery'), MTPHR_DNT_VERSION, true );
72
 
98
  /**
99
  * Initialize the ticker scriptinos
100
  *
101
+ * @since 1.1.8
102
  */
103
  function mtphr_dnt_tickers_init_scripts() {
104
 
105
  global $mtphr_dnt_ticker_scripts;
106
  if( is_array($mtphr_dnt_ticker_scripts) && !empty($mtphr_dnt_ticker_scripts) ) {
107
+ wp_print_scripts('touchSwipe');
108
  wp_print_scripts('jquery-easing');
109
  wp_print_scripts('ditty-news-ticker');
110
  ?>
118
  scroll_speed : <?php echo $ticker['scroll_speed']; ?>,
119
  scroll_pause : <?php echo $ticker['scroll_pause']; ?>,
120
  scroll_spacing : <?php echo $ticker['scroll_spacing']; ?>,
121
+ scroll_init : <?php echo $ticker['scroll_init']; ?>,
122
  rotate_type : '<?php echo $ticker['rotate_type']; ?>',
123
  auto_rotate : <?php echo $ticker['auto_rotate']; ?>,
124
  rotate_delay : <?php echo $ticker['rotate_delay']; ?>,
126
  rotate_speed : <?php echo $ticker['rotate_speed']; ?>,
127
  rotate_ease : '<?php echo $ticker['rotate_ease']; ?>',
128
  nav_reverse : <?php echo $ticker['nav_reverse']; ?>,
129
+ offset : <?php echo $ticker['offset']; ?>,
130
  after_load : function( $ticker ) {
131
  <?php echo apply_filters( 'mtphr_dnt_after_load_rotate' , '', $ticker['id'] ); ?>
132
  },
languages/ditty-news-ticker-en_US.mo CHANGED
Binary file
languages/ditty-news-ticker-en_US.po CHANGED
@@ -1,9 +1,9 @@
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: Ditty News Ticker v1.1.4\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: \n"
6
- "PO-Revision-Date: 2013-05-04 18:25:42+0000\n"
7
  "Last-Translator: admin <joe@metaphorcreations.com>\n"
8
  "Language-Team: \n"
9
  "MIME-Version: 1.0\n"
@@ -31,7 +31,7 @@ msgid "Mode"
31
  msgstr "Mode"
32
 
33
  #: includes/edit-columns.php:25
34
- #: includes/meta-boxes.php:506
35
  #@ ditty-news-ticker
36
  msgid "Shortcode"
37
  msgstr "Shortcode"
@@ -41,22 +41,22 @@ msgstr "Shortcode"
41
  msgid "Direct Function"
42
  msgstr "Direct Function"
43
 
44
- #: includes/functions.php:399
45
  #@ ditty-news-ticker
46
  msgid "Default"
47
  msgstr "Default"
48
 
49
- #: includes/functions.php:419
50
  #@ ditty-news-ticker
51
  msgid "Scroll"
52
  msgstr "Scroll"
53
 
54
- #: includes/functions.php:423
55
  #@ ditty-news-ticker
56
  msgid "Rotate"
57
  msgstr "Rotate"
58
 
59
- #: includes/functions.php:427
60
  #@ ditty-news-ticker
61
  msgid "List"
62
  msgstr "List"
@@ -177,289 +177,289 @@ msgstr "Down"
177
  msgid "Set the scroll direction of the ticker."
178
  msgstr "Set the scroll direction of the ticker."
179
 
180
- #: includes/meta-boxes.php:174
181
- #: includes/meta-boxes.php:282
182
  #@ ditty-news-ticker
183
  msgid "Tick dimensions"
184
  msgstr "Tick dimensions"
185
 
186
- #: includes/meta-boxes.php:176
187
  #@ ditty-news-ticker
188
  msgid "Width"
189
  msgstr "Width"
190
 
191
- #: includes/meta-boxes.php:177
192
- #: includes/meta-boxes.php:285
193
  #@ ditty-news-ticker
194
  msgid "Override the auto dimensions with specific values."
195
  msgstr "Override the auto dimensions with specific values."
196
 
197
- #: includes/meta-boxes.php:182
198
- #: includes/meta-boxes.php:284
199
  #@ ditty-news-ticker
200
  msgid "Height"
201
  msgstr "Height"
202
 
203
- #: includes/meta-boxes.php:191
204
  #@ ditty-news-ticker
205
  msgid "Scroller padding"
206
  msgstr "Scroller padding"
207
 
208
- #: includes/meta-boxes.php:193
209
- #: includes/meta-boxes.php:294
210
- #: includes/meta-boxes.php:408
211
  #@ ditty-news-ticker
212
  msgid "Vertical padding"
213
  msgstr "Vertical padding"
214
 
215
- #: includes/meta-boxes.php:194
216
  #@ ditty-news-ticker
217
  msgid "Set the vertical spacing of the scrolling data."
218
  msgstr "Set the vertical spacing of the scrolling data."
219
 
220
- #: includes/meta-boxes.php:199
221
- #: includes/meta-boxes.php:300
222
- #: includes/meta-boxes.php:414
223
  #@ ditty-news-ticker
224
  msgid "Vertical margin"
225
  msgstr "Vertical margin"
226
 
227
- #: includes/meta-boxes.php:208
228
  #@ ditty-news-ticker
229
  msgid "Scroll speed"
230
  msgstr "Scroll speed"
231
 
232
- #: includes/meta-boxes.php:210
233
  #@ ditty-news-ticker
234
  msgid "Set the speed of the scrolling data."
235
  msgstr "Set the speed of the scrolling data."
236
 
237
- #: includes/meta-boxes.php:214
238
- #: includes/meta-boxes.php:320
239
  #@ ditty-news-ticker
240
  msgid "Pause on mouse over"
241
  msgstr "Pause on mouse over"
242
 
243
- #: includes/meta-boxes.php:223
244
- #: includes/meta-boxes.php:423
245
  #@ ditty-news-ticker
246
  msgid "Tick spacing"
247
  msgstr "Tick spacing"
248
 
249
- #: includes/meta-boxes.php:225
250
- #: includes/meta-boxes.php:425
251
  #@ ditty-news-ticker
252
  msgid "Pixels"
253
  msgstr "Pixels"
254
 
255
- #: includes/meta-boxes.php:226
256
  #@ ditty-news-ticker
257
  msgid "Set the spacing between scrolling data."
258
  msgstr "Set the spacing between scrolling data."
259
 
260
- #: includes/meta-boxes.php:232
261
  #@ ditty-news-ticker
262
  msgid "Scroll Settings"
263
  msgstr "Scroll Settings"
264
 
265
- #: includes/meta-boxes.php:259
266
  #@ ditty-news-ticker
267
  msgid "Rotation type"
268
  msgstr "Rotation type"
269
 
270
- #: includes/meta-boxes.php:261
271
  #@ ditty-news-ticker
272
  msgid "Fade"
273
  msgstr "Fade"
274
 
275
- #: includes/meta-boxes.php:262
276
  #@ ditty-news-ticker
277
  msgid "Slide left"
278
  msgstr "Slide left"
279
 
280
- #: includes/meta-boxes.php:263
281
  #@ ditty-news-ticker
282
  msgid "Slide right"
283
  msgstr "Slide right"
284
 
285
- #: includes/meta-boxes.php:264
286
  #@ ditty-news-ticker
287
  msgid "Slide up"
288
  msgstr "Slide up"
289
 
290
- #: includes/meta-boxes.php:265
291
  #@ ditty-news-ticker
292
  msgid "Slide down"
293
  msgstr "Slide down"
294
 
295
- #: includes/meta-boxes.php:268
296
  #@ ditty-news-ticker
297
  msgid "Set the type of rotation for the ticker."
298
  msgstr "Set the type of rotation for the ticker."
299
 
300
- #: includes/meta-boxes.php:273
301
  #@ ditty-news-ticker
302
  msgid "Dynamic slide direction"
303
  msgstr "Dynamic slide direction"
304
 
305
- #: includes/meta-boxes.php:292
306
  #@ ditty-news-ticker
307
  msgid "Rotator padding"
308
  msgstr "Rotator padding"
309
 
310
- #: includes/meta-boxes.php:295
311
  #@ ditty-news-ticker
312
  msgid "Set the vertical spacing of the rotating data."
313
  msgstr "Set the vertical spacing of the rotating data."
314
 
315
- #: includes/meta-boxes.php:309
316
  #@ ditty-news-ticker
317
  msgid "Auto rotate"
318
  msgstr "Auto rotate"
319
 
320
- #: includes/meta-boxes.php:310
321
- #: includes/meta-boxes.php:346
322
- #: includes/meta-boxes.php:361
323
  #@ ditty-news-ticker
324
  msgid "Enable"
325
  msgstr "Enable"
326
 
327
- #: includes/meta-boxes.php:311
328
  #@ ditty-news-ticker
329
  msgid "Set the delay between rotations."
330
  msgstr "Set the delay between rotations."
331
 
332
- #: includes/meta-boxes.php:316
333
  #@ ditty-news-ticker
334
  msgid "Seconds delay"
335
  msgstr "Seconds delay"
336
 
337
- #: includes/meta-boxes.php:329
338
  #@ ditty-news-ticker
339
  msgid "Rotate speed"
340
  msgstr "Rotate speed"
341
 
342
- #: includes/meta-boxes.php:331
343
  #@ ditty-news-ticker
344
  msgid "Tenths of a second"
345
  msgstr "Tenths of a second"
346
 
347
- #: includes/meta-boxes.php:332
348
  #@ ditty-news-ticker
349
  msgid "Set the speed & easing of the rotation."
350
  msgstr "Set the speed & easing of the rotation."
351
 
352
- #: includes/meta-boxes.php:345
353
  #@ ditty-news-ticker
354
  msgid "Directional navigation"
355
  msgstr "Directional navigation"
356
 
357
- #: includes/meta-boxes.php:347
358
  #@ ditty-news-ticker
359
  msgid "Set the directional navigation options."
360
  msgstr "Set the directional navigation options."
361
 
362
- #: includes/meta-boxes.php:351
363
  #@ ditty-news-ticker
364
  msgid "Autohide navigation"
365
  msgstr "Autohide navigation"
366
 
367
- #: includes/meta-boxes.php:360
368
  #@ ditty-news-ticker
369
  msgid "Control navigation"
370
  msgstr "Control navigation"
371
 
372
- #: includes/meta-boxes.php:362
373
  #@ ditty-news-ticker
374
  msgid "Set the control navigation options."
375
  msgstr "Set the control navigation options."
376
 
377
- #: includes/meta-boxes.php:367
378
  #@ ditty-news-ticker
379
  msgid "Numbers"
380
  msgstr "Numbers"
381
 
382
- #: includes/meta-boxes.php:368
383
  #@ ditty-news-ticker
384
  msgid "Buttons"
385
  msgstr "Buttons"
386
 
387
- #: includes/meta-boxes.php:379
388
  #@ ditty-news-ticker
389
  msgid "Rotate Settings"
390
  msgstr "Rotate Settings"
391
 
392
- #: includes/meta-boxes.php:406
393
  #@ ditty-news-ticker
394
  msgid "List padding"
395
  msgstr "List padding"
396
 
397
- #: includes/meta-boxes.php:409
398
  #@ ditty-news-ticker
399
  msgid "Set the vertical spacing of the list container."
400
  msgstr "Set the vertical spacing of the list container."
401
 
402
- #: includes/meta-boxes.php:426
403
  #@ ditty-news-ticker
404
  msgid "Set the spacing between ticks."
405
  msgstr "Set the spacing between ticks."
406
 
407
- #: includes/meta-boxes.php:432
408
  #@ ditty-news-ticker
409
  msgid "List Settings"
410
  msgstr "List Settings"
411
 
412
- #: includes/meta-boxes.php:459
413
  #@ ditty-news-ticker
414
  msgid "Display title"
415
  msgstr "Display title"
416
 
417
- #: includes/meta-boxes.php:463
418
  #@ ditty-news-ticker
419
  msgid "Inline title"
420
  msgstr "Inline title"
421
 
422
- #: includes/meta-boxes.php:471
423
  #@ ditty-news-ticker
424
  msgid "Ticker width <em>(optional)</em>"
425
  msgstr "Ticker width <em>(optional)</em>"
426
 
427
- #: includes/meta-boxes.php:473
428
  #@ ditty-news-ticker
429
  msgid "Override the auto width a with specific value."
430
  msgstr "Override the auto width a with specific value."
431
 
432
- #: includes/meta-boxes.php:479
433
  #@ ditty-news-ticker
434
  msgid "Global Settings"
435
  msgstr "Global Settings"
436
 
437
- #: includes/meta-boxes.php:507
438
  #@ ditty-news-ticker
439
  msgid "Select Shortcode"
440
  msgstr "Select Shortcode"
441
 
442
- #: includes/meta-boxes.php:508
443
  #@ ditty-news-ticker
444
  msgid "Use this shortcode to insert the ticker into a post/page."
445
  msgstr "Use this shortcode to insert the ticker into a post/page."
446
 
447
- #: includes/meta-boxes.php:515
448
  #@ ditty-news-ticker
449
  msgid "Direct function"
450
  msgstr "Direct function"
451
 
452
- #: includes/meta-boxes.php:516
453
  #@ ditty-news-ticker
454
  msgid "Select Function"
455
  msgstr "Select Function"
456
 
457
- #: includes/meta-boxes.php:517
458
  #@ ditty-news-ticker
459
  msgid "Place this code directly into your theme to display the ticker."
460
  msgstr "Place this code directly into your theme to display the ticker."
461
 
462
- #: includes/meta-boxes.php:523
463
  #@ ditty-news-ticker
464
  msgid "Ticker Display"
465
  msgstr "Ticker Display"
@@ -531,17 +531,17 @@ msgstr "Ditty News Ticker Updated!"
531
  msgid "Settings"
532
  msgstr "Settings"
533
 
534
- #: includes/settings.php:55
535
  #@ ditty-news-ticker
536
  msgid "Custom CSS"
537
  msgstr "Custom CSS"
538
 
539
- #: includes/settings.php:58
540
  #@ ditty-news-ticker
541
  msgid "Custom CSS will be added to the head of each page that includes a Ditty News Ticker."
542
  msgstr "Custom CSS will be added to the head of each page that includes a Ditty News Ticker."
543
 
544
- #: includes/settings.php:99
545
  #@ ditty-news-ticker
546
  msgid "Ditty News Ticker Settings"
547
  msgstr "Ditty News Ticker Settings"
@@ -576,8 +576,48 @@ msgstr "View DNT extensions"
576
  msgid "NF"
577
  msgstr "NF"
578
 
579
- #: includes/settings.php:145
580
  #@ ditty-news-ticker
581
  msgid "The global settings to your news tickers."
582
  msgstr "The global settings to your news tickers."
583
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  msgid ""
2
  msgstr ""
3
+ "Project-Id-Version: Ditty News Ticker v1.1.8\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: \n"
6
+ "PO-Revision-Date: 2013-08-07 16:39:08+0000\n"
7
  "Last-Translator: admin <joe@metaphorcreations.com>\n"
8
  "Language-Team: \n"
9
  "MIME-Version: 1.0\n"
31
  msgstr "Mode"
32
 
33
  #: includes/edit-columns.php:25
34
+ #: includes/meta-boxes.php:528
35
  #@ ditty-news-ticker
36
  msgid "Shortcode"
37
  msgstr "Shortcode"
41
  msgid "Direct Function"
42
  msgstr "Direct Function"
43
 
44
+ #: includes/functions.php:405
45
  #@ ditty-news-ticker
46
  msgid "Default"
47
  msgstr "Default"
48
 
49
+ #: includes/functions.php:425
50
  #@ ditty-news-ticker
51
  msgid "Scroll"
52
  msgstr "Scroll"
53
 
54
+ #: includes/functions.php:429
55
  #@ ditty-news-ticker
56
  msgid "Rotate"
57
  msgstr "Rotate"
58
 
59
+ #: includes/functions.php:433
60
  #@ ditty-news-ticker
61
  msgid "List"
62
  msgstr "List"
177
  msgid "Set the scroll direction of the ticker."
178
  msgstr "Set the scroll direction of the ticker."
179
 
180
+ #: includes/meta-boxes.php:180
181
+ #: includes/meta-boxes.php:288
182
  #@ ditty-news-ticker
183
  msgid "Tick dimensions"
184
  msgstr "Tick dimensions"
185
 
186
+ #: includes/meta-boxes.php:182
187
  #@ ditty-news-ticker
188
  msgid "Width"
189
  msgstr "Width"
190
 
191
+ #: includes/meta-boxes.php:183
192
+ #: includes/meta-boxes.php:291
193
  #@ ditty-news-ticker
194
  msgid "Override the auto dimensions with specific values."
195
  msgstr "Override the auto dimensions with specific values."
196
 
197
+ #: includes/meta-boxes.php:188
198
+ #: includes/meta-boxes.php:290
199
  #@ ditty-news-ticker
200
  msgid "Height"
201
  msgstr "Height"
202
 
203
+ #: includes/meta-boxes.php:197
204
  #@ ditty-news-ticker
205
  msgid "Scroller padding"
206
  msgstr "Scroller padding"
207
 
208
+ #: includes/meta-boxes.php:199
209
+ #: includes/meta-boxes.php:300
210
+ #: includes/meta-boxes.php:414
211
  #@ ditty-news-ticker
212
  msgid "Vertical padding"
213
  msgstr "Vertical padding"
214
 
215
+ #: includes/meta-boxes.php:200
216
  #@ ditty-news-ticker
217
  msgid "Set the vertical spacing of the scrolling data."
218
  msgstr "Set the vertical spacing of the scrolling data."
219
 
220
+ #: includes/meta-boxes.php:205
221
+ #: includes/meta-boxes.php:306
222
+ #: includes/meta-boxes.php:420
223
  #@ ditty-news-ticker
224
  msgid "Vertical margin"
225
  msgstr "Vertical margin"
226
 
227
+ #: includes/meta-boxes.php:214
228
  #@ ditty-news-ticker
229
  msgid "Scroll speed"
230
  msgstr "Scroll speed"
231
 
232
+ #: includes/meta-boxes.php:216
233
  #@ ditty-news-ticker
234
  msgid "Set the speed of the scrolling data."
235
  msgstr "Set the speed of the scrolling data."
236
 
237
+ #: includes/meta-boxes.php:220
238
+ #: includes/meta-boxes.php:326
239
  #@ ditty-news-ticker
240
  msgid "Pause on mouse over"
241
  msgstr "Pause on mouse over"
242
 
243
+ #: includes/meta-boxes.php:229
244
+ #: includes/meta-boxes.php:429
245
  #@ ditty-news-ticker
246
  msgid "Tick spacing"
247
  msgstr "Tick spacing"
248
 
249
+ #: includes/meta-boxes.php:231
250
+ #: includes/meta-boxes.php:431
251
  #@ ditty-news-ticker
252
  msgid "Pixels"
253
  msgstr "Pixels"
254
 
255
+ #: includes/meta-boxes.php:232
256
  #@ ditty-news-ticker
257
  msgid "Set the spacing between scrolling data."
258
  msgstr "Set the spacing between scrolling data."
259
 
260
+ #: includes/meta-boxes.php:238
261
  #@ ditty-news-ticker
262
  msgid "Scroll Settings"
263
  msgstr "Scroll Settings"
264
 
265
+ #: includes/meta-boxes.php:265
266
  #@ ditty-news-ticker
267
  msgid "Rotation type"
268
  msgstr "Rotation type"
269
 
270
+ #: includes/meta-boxes.php:267
271
  #@ ditty-news-ticker
272
  msgid "Fade"
273
  msgstr "Fade"
274
 
275
+ #: includes/meta-boxes.php:268
276
  #@ ditty-news-ticker
277
  msgid "Slide left"
278
  msgstr "Slide left"
279
 
280
+ #: includes/meta-boxes.php:269
281
  #@ ditty-news-ticker
282
  msgid "Slide right"
283
  msgstr "Slide right"
284
 
285
+ #: includes/meta-boxes.php:270
286
  #@ ditty-news-ticker
287
  msgid "Slide up"
288
  msgstr "Slide up"
289
 
290
+ #: includes/meta-boxes.php:271
291
  #@ ditty-news-ticker
292
  msgid "Slide down"
293
  msgstr "Slide down"
294
 
295
+ #: includes/meta-boxes.php:274
296
  #@ ditty-news-ticker
297
  msgid "Set the type of rotation for the ticker."
298
  msgstr "Set the type of rotation for the ticker."
299
 
300
+ #: includes/meta-boxes.php:279
301
  #@ ditty-news-ticker
302
  msgid "Dynamic slide direction"
303
  msgstr "Dynamic slide direction"
304
 
305
+ #: includes/meta-boxes.php:298
306
  #@ ditty-news-ticker
307
  msgid "Rotator padding"
308
  msgstr "Rotator padding"
309
 
310
+ #: includes/meta-boxes.php:301
311
  #@ ditty-news-ticker
312
  msgid "Set the vertical spacing of the rotating data."
313
  msgstr "Set the vertical spacing of the rotating data."
314
 
315
+ #: includes/meta-boxes.php:315
316
  #@ ditty-news-ticker
317
  msgid "Auto rotate"
318
  msgstr "Auto rotate"
319
 
320
+ #: includes/meta-boxes.php:316
321
+ #: includes/meta-boxes.php:352
322
+ #: includes/meta-boxes.php:367
323
  #@ ditty-news-ticker
324
  msgid "Enable"
325
  msgstr "Enable"
326
 
327
+ #: includes/meta-boxes.php:317
328
  #@ ditty-news-ticker
329
  msgid "Set the delay between rotations."
330
  msgstr "Set the delay between rotations."
331
 
332
+ #: includes/meta-boxes.php:322
333
  #@ ditty-news-ticker
334
  msgid "Seconds delay"
335
  msgstr "Seconds delay"
336
 
337
+ #: includes/meta-boxes.php:335
338
  #@ ditty-news-ticker
339
  msgid "Rotate speed"
340
  msgstr "Rotate speed"
341
 
342
+ #: includes/meta-boxes.php:337
343
  #@ ditty-news-ticker
344
  msgid "Tenths of a second"
345
  msgstr "Tenths of a second"
346
 
347
+ #: includes/meta-boxes.php:338
348
  #@ ditty-news-ticker
349
  msgid "Set the speed & easing of the rotation."
350
  msgstr "Set the speed & easing of the rotation."
351
 
352
+ #: includes/meta-boxes.php:351
353
  #@ ditty-news-ticker
354
  msgid "Directional navigation"
355
  msgstr "Directional navigation"
356
 
357
+ #: includes/meta-boxes.php:353
358
  #@ ditty-news-ticker
359
  msgid "Set the directional navigation options."
360
  msgstr "Set the directional navigation options."
361
 
362
+ #: includes/meta-boxes.php:357
363
  #@ ditty-news-ticker
364
  msgid "Autohide navigation"
365
  msgstr "Autohide navigation"
366
 
367
+ #: includes/meta-boxes.php:366
368
  #@ ditty-news-ticker
369
  msgid "Control navigation"
370
  msgstr "Control navigation"
371
 
372
+ #: includes/meta-boxes.php:368
373
  #@ ditty-news-ticker
374
  msgid "Set the control navigation options."
375
  msgstr "Set the control navigation options."
376
 
377
+ #: includes/meta-boxes.php:373
378
  #@ ditty-news-ticker
379
  msgid "Numbers"
380
  msgstr "Numbers"
381
 
382
+ #: includes/meta-boxes.php:374
383
  #@ ditty-news-ticker
384
  msgid "Buttons"
385
  msgstr "Buttons"
386
 
387
+ #: includes/meta-boxes.php:385
388
  #@ ditty-news-ticker
389
  msgid "Rotate Settings"
390
  msgstr "Rotate Settings"
391
 
392
+ #: includes/meta-boxes.php:412
393
  #@ ditty-news-ticker
394
  msgid "List padding"
395
  msgstr "List padding"
396
 
397
+ #: includes/meta-boxes.php:415
398
  #@ ditty-news-ticker
399
  msgid "Set the vertical spacing of the list container."
400
  msgstr "Set the vertical spacing of the list container."
401
 
402
+ #: includes/meta-boxes.php:432
403
  #@ ditty-news-ticker
404
  msgid "Set the spacing between ticks."
405
  msgstr "Set the spacing between ticks."
406
 
407
+ #: includes/meta-boxes.php:438
408
  #@ ditty-news-ticker
409
  msgid "List Settings"
410
  msgstr "List Settings"
411
 
412
+ #: includes/meta-boxes.php:465
413
  #@ ditty-news-ticker
414
  msgid "Display title"
415
  msgstr "Display title"
416
 
417
+ #: includes/meta-boxes.php:469
418
  #@ ditty-news-ticker
419
  msgid "Inline title"
420
  msgstr "Inline title"
421
 
422
+ #: includes/meta-boxes.php:484
423
  #@ ditty-news-ticker
424
  msgid "Ticker width <em>(optional)</em>"
425
  msgstr "Ticker width <em>(optional)</em>"
426
 
427
+ #: includes/meta-boxes.php:486
428
  #@ ditty-news-ticker
429
  msgid "Override the auto width a with specific value."
430
  msgstr "Override the auto width a with specific value."
431
 
432
+ #: includes/meta-boxes.php:501
433
  #@ ditty-news-ticker
434
  msgid "Global Settings"
435
  msgstr "Global Settings"
436
 
437
+ #: includes/meta-boxes.php:529
438
  #@ ditty-news-ticker
439
  msgid "Select Shortcode"
440
  msgstr "Select Shortcode"
441
 
442
+ #: includes/meta-boxes.php:530
443
  #@ ditty-news-ticker
444
  msgid "Use this shortcode to insert the ticker into a post/page."
445
  msgstr "Use this shortcode to insert the ticker into a post/page."
446
 
447
+ #: includes/meta-boxes.php:537
448
  #@ ditty-news-ticker
449
  msgid "Direct function"
450
  msgstr "Direct function"
451
 
452
+ #: includes/meta-boxes.php:538
453
  #@ ditty-news-ticker
454
  msgid "Select Function"
455
  msgstr "Select Function"
456
 
457
+ #: includes/meta-boxes.php:539
458
  #@ ditty-news-ticker
459
  msgid "Place this code directly into your theme to display the ticker."
460
  msgstr "Place this code directly into your theme to display the ticker."
461
 
462
+ #: includes/meta-boxes.php:545
463
  #@ ditty-news-ticker
464
  msgid "Ticker Display"
465
  msgstr "Ticker Display"
531
  msgid "Settings"
532
  msgstr "Settings"
533
 
534
+ #: includes/settings.php:53
535
  #@ ditty-news-ticker
536
  msgid "Custom CSS"
537
  msgstr "Custom CSS"
538
 
539
+ #: includes/settings.php:56
540
  #@ ditty-news-ticker
541
  msgid "Custom CSS will be added to the head of each page that includes a Ditty News Ticker."
542
  msgstr "Custom CSS will be added to the head of each page that includes a Ditty News Ticker."
543
 
544
+ #: includes/settings.php:97
545
  #@ ditty-news-ticker
546
  msgid "Ditty News Ticker Settings"
547
  msgstr "Ditty News Ticker Settings"
576
  msgid "NF"
577
  msgstr "NF"
578
 
579
+ #: includes/settings.php:143
580
  #@ ditty-news-ticker
581
  msgid "The global settings to your news tickers."
582
  msgstr "The global settings to your news tickers."
583
 
584
+ #: includes/meta-boxes.php:171
585
+ #@ ditty-news-ticker
586
+ msgid "Show first tick on init"
587
+ msgstr ""
588
+
589
+ #: includes/meta-boxes.php:478
590
+ #@ ditty-news-ticker
591
+ msgid "Randomly shuffle the ticks"
592
+ msgstr ""
593
+
594
+ #: includes/meta-boxes.php:494
595
+ #@ ditty-news-ticker
596
+ msgid "Offset ticks"
597
+ msgstr ""
598
+
599
+ #: includes/meta-boxes.php:495
600
+ #@ ditty-news-ticker
601
+ msgid "px from the edge"
602
+ msgstr ""
603
+
604
+ #: includes/meta-boxes.php:495
605
+ #@ ditty-news-ticker
606
+ msgid "The amount of pixels ticks should start and end off the screen."
607
+ msgstr ""
608
+
609
+ #: includes/settings.php:46
610
+ #@ ditty-news-ticker
611
+ msgid "Visual Editor"
612
+ msgstr ""
613
+
614
+ #: includes/settings.php:48
615
+ #@ ditty-news-ticker
616
+ msgid "Use the visual editor for ticks"
617
+ msgstr ""
618
+
619
+ #: includes/settings.php:49
620
+ #@ ditty-news-ticker
621
+ msgid "*The content in the visual editors will disappear after re-arranging ticks. That content will re-populate after resaving the ticker."
622
+ msgstr ""
623
+
readme.txt CHANGED
@@ -52,6 +52,11 @@ Each individual Ticker post has multiple settings to customize.
52
 
53
  == Changelog ==
54
 
 
 
 
 
 
55
  = 1.1.7 =
56
  * Modified structure & CSS to move the rotate navigation up a level.
57
 
@@ -134,57 +139,4 @@ Each individual Ticker post has multiple settings to customize.
134
 
135
  == Upgrade Notice ==
136
 
137
- = 1.1.7 =
138
- Modified structure & CSS to move the rotate navigation up a level.
139
-
140
- = 1.1.6 =
141
- Fixed pause on hover functionality.
142
-
143
- = 1.1.5 =
144
- Modified jQuery ticker class loading. Fixed load_plugin_textdomain setup. Added wysiwyg editor option back.
145
-
146
- = 1.1.4 =
147
- Added nofollow to navigational links.
148
-
149
- = 1.1.3 =
150
- Added option to use visual editors for tick content (on settings page). Adjusted DNT jQuery class. Converted height() & width() to outerHeight() & outerWidth().
151
-
152
- = 1.1.2 =
153
- Reworked scroll mode to function better in IE. Added a global offset to scrolling and rotating ticks to are hidden. Moved rotating tick code into .js file. Added css for max-image: 100%. Converted .clearfix class to custom .mtrph-dnt-clearfix to avoid conflicts.
154
-
155
- = 1.1.1 =
156
- Minor fix.
157
-
158
- = 1.1.0 =
159
- Added "width" override for scrolling tickers back in... whoops!
160
-
161
- = 1.0.9 =
162
- Added a checkbox to set links as rel="nofollow". Updated vertical scrolling for responsive sites. Removed "width" override for scrolling tickers. Added new ticker classes.
163
-
164
- = 1.0.8 =
165
- Fixed bug in rotator mode with "pause on hover" activated. jQuery now loading on (window).load() instead of (document).ready(). Fixes scrolling issue in Safari. Added .clearfix to .mtphr-dnt-wrapper. Specifically set .mtphr-dnt-tick.clearfix to display:none to override css in certain themes. Added filters to jQuery class callbacks. Added ticker ID to jQuery class vars. Now resizing rotator ticker height on window resize.
166
-
167
- = 1.0.7 =
168
- Fixed jQuery issue in Firefox when adding new ticks.
169
-
170
- = 1.0.6 =
171
- Updated settings scripts for extensibility. Minor update to metaboxer css.
172
-
173
- = 1.0.5 =
174
- Updated metaboxer scripts. Updated direct function output. Updated ticker types link. Fixed rotator numbers padding. Fixed limited number of DNT in widget drop down issue.
175
-
176
- = 1.0.4 =
177
- Added 'languages' folder for localization. Added an 'in_widget' attribute to tickers displayed in widgets. Updated 'sort' metaboxer code.
178
-
179
- = 1.0.3 =
180
- Updates.
181
-
182
- = 1.0.2 =
183
- Added additional actions along with some code updates.
184
-
185
- = 1.0.1 =
186
- Minor code update.
187
-
188
- = 1.0.0 =
189
- Create a multi-functional data display plugin.
190
-
52
 
53
  == Changelog ==
54
 
55
+ = 1.1.8 =
56
+ * Added mobile swipe support for rotate mode.
57
+ * Added a hidden tick "offset" parameter.
58
+ * Added setting to display first scroll tick on init.
59
+
60
  = 1.1.7 =
61
  * Modified structure & CSS to move the rotate navigation up a level.
62
 
139
 
140
  == Upgrade Notice ==
141
 
142
+ Added mobile swipe support for rotate mode. Added a hidden tick "offset" parameter. Added setting to display first scroll tick on init.