O'Reilly logo

Practical Web Technologies by V. Lau, P. K. Yuen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required