rubynomad.blogg.se

List directory contents html 5
List directory contents html 5










A user should just be able to drop in into a folder, open it with a browser, and watch the magic happen.

list directory contents html 5

Please keep in mind: this should be a STAND ALONE DOCUMENT with NO external dependencies.

list directory contents html 5

LIST DIRECTORY CONTENTS HTML 5 PATCH

Unfortunately, I can't get it to do either of these things on its own, since (for security reasons) JavaScript has no way of looking up the contents of a directory.ĭoes anyone know of a way to do this? Perhaps another scripting language to handle the left/right keys? Or is there a way to programmatically read the directory with JS that I missed? Or has Microsoft FINALLY released a patch or something to fix the frame-rate problem? It should also eventually create a list of sub-directories and let the viewer browse them. gif_view.html should use a script to find out what images and sub-directories are in the directory I placed it in, and cycle back and forth through them with the arrow keys. What I want is for these image file names to not be hard coded. So far, my document (gif_view.html) opens an image based on a hard-coded path/file name, zooms this image in/out with the up/down keys, and switches to other hard-coded images with the left and right keys. The web browser Chrome is one of the few programs for windows that always plays animated gif's at the correct framerate, so my solution is to create a stand-alone html document to open in Chrome, that can be dropped into a directory and opened in Chrome to thereby display all images in that directory and/or its sub-directories in a picture-viewer style. and found that it was playing WAY TOO SLOW knows that Microsoft failed on this spectacularly. net) to do this, and anyone who has tried viewing an animated gif in I.E. Probably because they all use the windows libraries (probably. There are very few windows programs that display animated.










List directory contents html 5