Ero sivun ”Widget:Ice break-up graph” versioiden välillä
Järvi-meriwikistä
Rivi 129: | Rivi 129: | ||
dataRow[0] = obsDate.getFullYear(); | dataRow[0] = obsDate.getFullYear(); | ||
dataRow[1] = obsDate.getDayOfYear(); | dataRow[1] = obsDate.getDayOfYear(); | ||
− | dataRow[2] = '<div style="padding: 8px;">' + obsDate.inRelationToToday() + '</div>'; | + | dataRow[2] = '<div style="padding: 8px; white-space: nowrap;">' + obsDate.inRelationToToday() + '</div>'; |
if (imagesArr[zi]) { | if (imagesArr[zi]) { | ||
dataRow[2] += '<br />' + '<div class="ibuTooltipDiv" id="ibuTooltipDiv_' + i + '" style="width: 144px; height: 144px;"><img class="ibuTooltipImg" id="ibuTooltipImg_' + i + '" style="max-width: 144px; max-height: 144px;" src="' + imagesArr[zi] + '" /></div>'; | dataRow[2] += '<br />' + '<div class="ibuTooltipDiv" id="ibuTooltipDiv_' + i + '" style="width: 144px; height: 144px;"><img class="ibuTooltipImg" id="ibuTooltipImg_' + i + '" style="max-width: 144px; max-height: 144px;" src="' + imagesArr[zi] + '" /></div>'; |