thingspeak/app/assets/javascripts/channels.js
2014-02-17 12:05:39 -05:00

21 lines
399 B
JavaScript

$(function () {
$("[id^=showsite]").each (
function() {
var element = this;
$(element).shorten(
{
width:235,
tooltip:true,
tail: '...'
});
});
$("div.progressbar").each (
function () {
var element = this;
$(element).progressbar(
{
value: parseInt($(element).attr("rel"))
});
});
});