Logo
doctype [?]
[strict] [loose] [none]

Draggable IFRAME Windows


The purpose of this library is to allow IFRAME objects to be dragged around the screen in the same way that popup windows or draggable DIV tags are often used. Since IFRAME objects always cover form objects, this makes an ideal solution for a simulated "popup window" on a page with form objects.

It requires almost no code to function, making it the easiest script to get up and running quickly!

Example

Drag the two IFRAME objects around below. Note how they go over the form elements. Also, there are separate "drag handles" defined in each IFRAME document. This is done with no code in this main document, and only one line in each of the IFRAME documents to define the "handles".