aspose file tools
The moose likes HTML, CSS and JavaScript and the fly likes How do I keep an I frame from being moved off screen ? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "How do I keep an I frame from being moved off screen ?" Watch "How do I keep an I frame from being moved off screen ?" New topic
Author

How do I keep an I frame from being moved off screen ?

Brian Quinn
Ranch Hand

Joined: Dec 23, 2003
Posts: 32
I am working with a struts app that uses iFrames instead of popups, and the main web app uses tiles. I want to allow the user to only move the iframe withing a certain div of the main page. Is this possible ?
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15357
    
    6
You using drag and drop I am assuming, You need to find the coordinates of the div and set limits in that drag code.

Eric
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: How do I keep an I frame from being moved off screen ?
 
Similar Threads
Constructor
j_security_check fwd to original url
import package in a sibling directory
In tomcat6, System.err.println or System.out.println don't seem to work
Another classpath question