11.5. Some DOM Core applications

11.5.1. A page to organize your photos

We will look at two DOM Core applications in this section. Our first application is a continuation of the last example, ex11-09.htm. To transform this example into a user-friendly program, we will add the following three features.

  • Pictures generated on the page can be moved freely on the page when you hold down the mouse so that photos can be organized anywhere you like.

  • A Gen. Page (generating page) button is added and when this button is clicked, a new page in a new window is generated. All the organized pictures are arranged in the designed positions. This page can then be saved to your local storage or hard drive so that you can view your photos at any time.

  • When one ...

Get Practical Web Technologies now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.