spacer

Webref WebRef   Sitemap · Experts · Tools · Services · Newsletters · About i.com

home / experts / dhtml / column11
Developer News
OpenOffice 3.2 Lands Amid Critical Changes
Red Hat, IBM Firmly in KVM Virtualization Camp
Red Hat Talks Up Open Source Cloud Plans

Logo

The DHTML Lab Jigsaw Puzzle, Part IV: Cross-Browser
creating a cross-browser low-bandwidth customizable puzzle


This tutorial can be appreciated by users of any browser, any version. The in-line puzzle will work only in Netscape Navigator 4 or Internet Explorer 4, WIN95, Release.

The first Release version of Internet Explorer 4, for the Macintosh, does not support the CSS "clip" property, on which much of the puzzle is based.

This time, our example uses art masterpieces of another kind. WebReference's own Andrew King and Robert Peyser provide visuals of what they do on their days off.

All images Copyright (c) 1999-2000 internet.com Corp. ,
except
Prometheus, Copyright (c) 1995 Robert C. Peyser.
All rights reserved. Used by permission.

Prerequisites

Previously, on Dynamic HTML Lab...

Knowledge of the concepts and familiarity with the code will be assumed for our present, and final, puzzle column where we will create a cross-browser version of the puzzle and fix a few bugs found along the way.

The puzzle with the new images is reproduced below. All the code used can be found on the final three pages, and you may refer to it now, as a refresher, or as the tutorial progresses.


Screenshot of Puzzle for non-DHTML browsers
The puzzle can be dragged by grabbing the image. This feature can be turned off with the labeled toggle button. Break the puzzle into as many pieces as you want. Break it again. Move the pieces into position to solve it. Stuck? Use the Hint button. Fed up? Let the puzzle solve itself with the Solve button. Load a new puzzle image and play with that one for a while. The images have not been pre-loaded, so you will have to wait for a download when you switch images. At any stage, an optional grid can be turned on and off to assist in piece placement. If the puzzle has a low piece count, the grid may slow the puzzle down on IE4. In NN4, after a puzzle drag or a new image load, the form buttons may not display properly. Scroll the puzzle off the screen and back on to fix, or in WIN95, select View-Refresh.

In This Column

We will discuss:

So, the sooner we get started, the sooner this puzzle madness will be over.


Produced by Peter Belesis and


The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers

webref The latest from WebReference.com Browse >
Installing and Using Meeplace, the Business Review CMS · Sending an HTML and Plain Text E-newsletter with ASP.NET, Part 2 · Create Multilingual Web Sites with Windows Unicode Fonts
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
MySql View Technique for Grouping Crosstab Column Data · Why You Need a Mobile Web Site · Tame Web Marketing with Social Media Management

All Rights Reserved. Legal Notices.
Created: Dec. 17, 1997
Revised: Jan. 18, 1998

URL: http://www.webreference.com/dhtml/column11/