File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes showing facebox on different frame Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "showing facebox on different frame" Watch "showing facebox on different frame" New topic
Author

showing facebox on different frame

Girish Vasmatkar
Ranch Hand

Joined: Apr 24, 2008
Posts: 199
Hello there,

Is it possible to display a facebox window on a different frame? I mean I have framesets in my page and when I click on a button on a frame I want contents of a URL to be shown on a facebox which gets rendered on a different frame.

On clicking the button I have a javascript function called and after getting some information I call this-



But the problem is the facebox gets open on the same frame. I can not figure out how to specify target frame here...

Thanks for any help...
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15362
    
    6
parent.frameName.jQuery....

The code for JQuery and the Plugin needs to be in that frame.

Eric
Girish Vasmatkar
Ranch Hand

Joined: Apr 24, 2008
Posts: 199
Thank you very much sir.....It's working.
You know it was so simple and I spent whole day to get it working. Such a dumb I am....

Thanks again...
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56529
    
  14

Girish Vasmatkar wrote:Such a dumb I am....

But not any more!


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: showing facebox on different frame
 
Similar Threads
AnyTime Date picker inside facebox does not show up
JFrame visibility
Using facebox for Java Web Application
how to load one frame on completion of another
Facebox or what?