Difference between revisions of "Template:AUC TURKEY"

Line 196: Line 196:
 
$(function(){
 
$(function(){
  
 +
$("div.thumbinner > a img").slimbox({}, function(el) {
 +
url = el.src;
 +
if (url.indexOf('thumb') != -1) {
 +
url = url.substring(0, url.lastIndexOf('/'));
 +
url = url.replace('/thumb/', '/');
 +
}
 +
description = $(el).parents("div.thumbinner").children("div.thumbcaption").text();
 +
return [url, description];
 +
}, function(el) {
 +
return (this == el);
 
jQuery.easing['jswing'] = jQuery.easing['swing'];
 
jQuery.easing['jswing'] = jQuery.easing['swing'];
 
   $.scrollUp();
 
   $.scrollUp();
Line 291: Line 301:
 
$("#temperature").html(temperature+" °C");
 
$("#temperature").html(temperature+" °C");
 
     });
 
     });
$("div.thumbinner > a img").slimbox({}, function(el) {
 
url = el.src;
 
if (url.indexOf('thumb') != -1) {
 
url = url.substring(0, url.lastIndexOf('/'));
 
url = url.replace('/thumb/', '/');
 
}
 
description = $(el).parents("div.thumbinner").children("div.thumbcaption").text();
 
return [url, description];
 
}, function(el) {
 
return (this == el);
 
 
});
 
});
 
</script>
 
</script>

Revision as of 09:24, 19 August 2015

37 °C