Ero sivun ”Widget:Levätaulukko” versioiden välillä
Järvi-meriwikistä
Rivi 68: | Rivi 68: | ||
function success(request) { | function success(request) { | ||
− | |||
− | |||
reqSuccess = true; | reqSuccess = true; | ||
Rivi 115: | Rivi 113: | ||
resultItem = request.query.results[i].printouts; | resultItem = request.query.results[i].printouts; | ||
resultPage = resultItem.SiteID[0]; | resultPage = resultItem.SiteID[0]; | ||
− | |||
− | |||
if (dataArr[resultPage] == undefined) { | if (dataArr[resultPage] == undefined) { | ||
Rivi 152: | Rivi 148: | ||
function doRows() { | function doRows() { | ||
− | + | ||
for (var s in dataArr) { | for (var s in dataArr) { | ||
Rivi 212: | Rivi 208: | ||
//output += '<div style="border: 0; float: left; margin-left: 13px;"><p class="kuvateksti"><a href="/w/images/a/ac/Pm_hp_asiantuntija_1_27x27.png"><img alt="Merialue" src="/w/images/thumb/a/ac/Pm_hp_asiantuntija_1_27x27.png/21px-Pm_hp_asiantuntija_1_27x27.png" width="21" height="21" /></a> = Merialueen havaintopaikka</p></div>'; | //output += '<div style="border: 0; float: left; margin-left: 13px;"><p class="kuvateksti"><a href="/w/images/a/ac/Pm_hp_asiantuntija_1_27x27.png"><img alt="Merialue" src="/w/images/thumb/a/ac/Pm_hp_asiantuntija_1_27x27.png/21px-Pm_hp_asiantuntija_1_27x27.png" width="21" height="21" /></a> = Merialueen havaintopaikka</p></div>'; | ||
} | } | ||
− | |||
− | |||
output += '</div>'; | output += '</div>'; | ||
Rivi 219: | Rivi 213: | ||
jQuery("#<!--{$id|default:JwAlgalTable|escape:'html'}-->").tablesorter(); | jQuery("#<!--{$id|default:JwAlgalTable|escape:'html'}-->").tablesorter(); | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
doRows(); | doRows(); | ||