UNPKG

dojox

Version:

Dojo eXtensions, a rollup of many useful sub-projects and varying states of maturity – from very stable and robust, to alpha and experimental. See individual projects contain README files for details.

16 lines 521 B
{% load dojox.dtl.contrib.data %} {% bind_data items to store as flickr %} <div> Type a tag and press enter: <input dojoAttachEvent="onkeypress: keyUp" value="beach"> <table> <tr> {% for item in flickr %}<td><img src="{{ item.imageUrlThumb }}" dojoAttachEvent="onclick: selectThumbnail" class="{{ item.imageUrl }}" /></td>{% endfor %} <td width="100%"></td> </tr> <tr> <td colspan="{{ flickr|length|add:1 }}"> {% if selected %}<img src="{{ selected }}" />{% endif %} </td> </tr> </table> </div>