Difference between revisions of "Template:AUC TURKEY"
Line 289: | Line 289: | ||
$("#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> | ||
<div id="header"> | <div id="header"> |
Revision as of 09:20, 19 August 2015
37 °C