Line 255: | Line 255: | ||
var elemli = document.createElement('li'); | var elemli = document.createElement('li'); | ||
elemli.innerHTML | elemli.innerHTML | ||
− | = '<a href=" | + | = '<a href="javascript:void(0);" onclick="change(' + i + ');">' |
+ '<img src="' + images[i] + '" width=100 id="listId' + i + '" class="off"/>' | + '<img src="' + images[i] + '" width=100 id="listId' + i + '" class="off"/>' | ||
+ '</a>'; | + '</a>'; |
Revision as of 07:03, 18 August 2016