atlemo / SubtlePatterns

All the patterns
4.66k stars 442 forks source link

Demo HTML File #5

Closed lucanos closed 12 years ago

lucanos commented 12 years ago

The demo HTML page ("demo.html") uses CSS and jQuery (loaded from the jQuery CDN) to demonstrate what a web page will look like with a specific background image/pattern. The list of files is manually populated, and, when changed, replaces the background image tile with the selected file.

atlemo commented 12 years ago

So when I upload new patterns, will they be added to the list, or do you need to do it manually?

lucanos commented 12 years ago

Manually, at the moment. If I were to create a PHP file, it could gather them automatically, but it would only operate when within the webroot of a server, and if that server could handle PHP. This way, even if someone downloads the zipball, they can drag-and-drop the file into their browser and it will work.

atlemo commented 12 years ago

Would it be possible to make something that just scans the local folder for .png files and populates a list based off it? Thanks for doing this btw!