<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>VSK Noskrien &#187; kalkulators</title>
	<atom:link href="http://www.noskrien.lv/tag/kalkulators/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.noskrien.lv</link>
	<description>Galvenais nav uzvarēt, galvenais ir noskriet</description>
	<lastBuildDate>Wed, 15 Apr 2026 19:00:55 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.2.2</generator>
	<item>
		<title>Tempa kalkulators</title>
		<link>http://www.noskrien.lv/noskrietais/tempa-kalkulators/</link>
		<comments>http://www.noskrien.lv/noskrietais/tempa-kalkulators/#comments</comments>
		<pubDate>Thu, 30 Jun 2011 14:21:34 +0000</pubDate>
		<dc:creator><![CDATA[Signis]]></dc:creator>
				<category><![CDATA[10km]]></category>
		<category><![CDATA[30km]]></category>
		<category><![CDATA[50km]]></category>
		<category><![CDATA[ātrums]]></category>
		<category><![CDATA[distance]]></category>
		<category><![CDATA[kalkulators]]></category>
		<category><![CDATA[km/h]]></category>
		<category><![CDATA[m/s]]></category>
		<category><![CDATA[maratons]]></category>
		<category><![CDATA[min/km]]></category>
		<category><![CDATA[pusmaratons]]></category>
		<category><![CDATA[skriešana]]></category>
		<category><![CDATA[tempa turētāji]]></category>
		<category><![CDATA[temps]]></category>

		<guid isPermaLink="false">http://www.noskrien.lv/?page_id=5067</guid>
		<description><![CDATA[ #km { margin-top:5px; } #distance { margin-top:15px; } #km .ui-widget-header { background: none; } #km .ui-slider-handle { width: 3.8em; height: 1.0em; text-decoration: none; margin-left: -1.1em; padding-top: 0.3em; text-align: center; background: #C6D9FD; } #km .ui-slider-handle span{ font-size: 0.6em; } .res { font-weight: bolder; } #cycle_count { margin-top:5px; display: inline-block; margin-left: 10px; } #cycle_count .ui-widget-header { background: none;
}
#cycle_count .ui-slider-handle {
width: 1.0em;
height: 1.0em;
text-decoration: none; 
margin-left: -0.7em;
padding-top: 0.3em;
text-align: center;
background: #C6D9FD;
}
#cycle_count .ui-slider-handle span{
font-size: 0.6em;
}
.clearBoth { clear:both; }
#output {

  display: block;
}


Distance: 
	pusmaratons
	maratons
  Rīga-Valmiera
  100km
	50km
	30km
	10km


Vēlamais rezultāts:  

Katrs kilometrs? 

Skrējiens apļos?   




jQuery('#cycle_count').toggle();

jQuery(document).ready( function () {
  jQuery('#distance').change(function() {
  	calc_tempo();
  }); 

  jQuery('#submit').click(function() {
  	calc_tempo();
  }); 

  jQuery('#longs').change(function() {
  	calc_tempo();
  }); 


  jQuery('#cycle').change(function() {
    jQuery('#cycle_count').toggle();
    calc_tempo();
  }); 


  calc_tempo();
});
function calc_tempo() {
	jQuery('#output').html('<img width="12px" style="padding:0px;vertical-align:middle;background:none; border:none;" src="http://www.noskrien.lv/ajax-loading.gif" alt="VSK Noskrien">');

  var distance = jQuery('#distance :selected').val();
  var result = jQuery("#km" ).slider( "value");
  
  var longs = 'N';
  if (jQuery('#longs').attr('checked')) longs='Y';
	
  var cycle = 'N';
  if (jQuery('#cycle').attr('checked')) cycle='Y';
  var cycle_count = jQuery("#cycle_count" ).slider( "value");


  jQuery.get("http://www.noskrien.lv/wp-admin/admin-ajax.php?action=tempo_return&#038;distance="+distance+"&#038;result="+result+"&#038;long="+longs+"&#038;cycle="+cycle+"&#038;cycle_count="+cycle_count, function(data) {
    jQuery('#output').html(data);
  });
}

	jQuery( "#km" ).slider({
		min:30*60,
		max:15*60*60,
		value: 2*60*60,
		step: 60,
		orientation: "horizontal",
		range: "min",
		animate: true,
		stop: function(event, ui) { calc_tempo(); },
		slide: function( event, ui ) {show2(ui.value);}			
	});

  jQuery( "#cycle_count" ).slider({
    min:2,
    max:6,
    orientation: "horizontal",
    range: "min",
    value: 4, 
    animate: true,
    stop: function(event, ui) { calc_tempo(); },
    slide: function( event, ui ) {show3(ui.value);} 
  });



function show2(value) {
			jQuery( "#km .ui-slider-handle" ).html( ""+value+"");
			jQuery( ".res" ).time_from_seconds2();
}

function show3(value) {
      jQuery( "#cycle_count .ui-slider-handle" ).html( ""+value+"");
}

jQuery.fn.time_from_seconds2 = function() {
      return this.each(function() {
          var t = parseInt(jQuery(this).text(), 10);
          jQuery(this).data('original', t);
          var h = Math.floor(t / 3600);
          t %= 3600;
          var m = Math.floor(t / 60);
          var s = Math.floor(t % 60);
          jQuery(this).text((h > 0 ? h + 'h ' : '') +
                       (m > 0 ? m.toFixed().pad(2,'0')+'min' : '00min'));
      });
  };
  
 
show2(jQuery("#km" ).slider( "value"));
show3(jQuery("#cycle_count" ).slider( "value"));
	

]]></description>
		<wfw:commentRss>http://www.noskrien.lv/noskrietais/tempa-kalkulators/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
