Commit aa00b73e authored by Łukasz Nowak's avatar Łukasz Nowak

Stabilise image sizes and simplify code.

parent 6603f616
......@@ -8,7 +8,7 @@
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts21351032.04</string> </value>
<value> <string>ts21351764.59</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
......@@ -33,9 +33,11 @@ function drawSoftwareProductList(data) {\n
newElem.attr(\'alt\', item.title);\n
newElem.attr(\'src\', item.image);\n
newElem.attr(\'id\', sp_id);\n
newElem.attr(\'width\', \'100\')\n
newElem.attr(\'height\', \'40\')\n
newElem.appendTo(li)\n
$(\'#\' + sp_id).click(function() {\n
alert(\'Clicked on \' + $(this)[0][\'alt\']);\n
newElem.click(function() {\n
alert(\'Clicked on \' + $(this)[0][\'alt\'] + $(this)[0][\'id\']);\n
});\n
});\n
$("#js_entry").before(ul);\n
......@@ -74,7 +76,7 @@ function mainController() {\n
</item>
<item>
<key> <string>size</string> </key>
<value> <int>1189</int> </value>
<value> <int>1271</int> </value>
</item>
<item>
<key> <string>title</string> </key>
......
317
\ No newline at end of file
318
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment