04-14-2003, 07:36 PM
I made this imageList, that hold images as the name says lol :)
the Script file (http://www.the-hive.dk/~donp/scripts/imagelist.js)
Example of it in use (http://www.the-hive.dk/~donp/scripts/imageList.html)
hope its usefull for some one :)
04-15-2003, 04:12 PM
Pretty neat, but typically in a nicely scripted API like this, there's a mechanism for writing HTML to the page, whether via document.write or other.
Wouldn't it be much nicer to see code that looked like this?var images=new imageListInitalize();
images.writeAll();The writeAll() method would be easy to make. You could also provide DOM-based options for post-load appending, or a method-or two for writing single images or images in a specified pattern or to a certian limit.