Meaningless Drivel is fun!*
The moose likes HTML, CSS and JavaScript and the fly likes why are successive 'thickbox' pop-up windows confined to the height / width of the predecessor ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply locked New topic
Author

why are successive 'thickbox' pop-up windows confined to the height / width of the predecessor ?

William Peck
Ranch Hand

Joined: Dec 18, 2009
Posts: 54
I am using (jquery ?) thickbox for pop-up screens. I've found that successive thickbox screens are confined to the area of the predecessor thickbox. is there a way around that ?

I have thickbox set at height=400, width=400, so I've found I'm limited to that size or smaller for a successive thickbox pop-up, and I have a situation where I'd like the size to be outside of the originating thickbox.

Here's the originating thickbox




And here's the subsequent thickbox



Even though I have the width set to 800, it's chopped off at 400


Bill in Baltimore
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60766
    
  65

Since jQuery and its plugins are client-side libraries, it'd be best to post this in the HTML/JavaScript forum and with the JSP markup already rendered. In other words, show what's sent to the browser -- not your JSP source code.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
William Peck
Ranch Hand

Joined: Dec 18, 2009
Posts: 54
Ok, Bear, can you move it ?
William Peck
Ranch Hand

Joined: Dec 18, 2009
Posts: 54
here is what is rendered.

calling the original thickbox

<td >2,033</td>

calling the 2nd thickbox



Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60766
    
  65

As thickbox is deprecated, I'm not familiar with how it works. If it creates the "sub" dialogs inside the originals, then yes, a child cannot display outside the borders of its parent.

You might want to investigate alternative (supported) dialog plugins.
William Peck
Ranch Hand

Joined: Dec 18, 2009
Posts: 54
Bear, ok on it being deprecated, but I'm not in a position to swap it out.

I posted this separately so will close this one out.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: why are successive 'thickbox' pop-up windows confined to the height / width of the predecessor ?
 
Similar Threads
Struts / JSTL - Create ActionLink Dynamically
Custom tag parameter
Loading a file content in dropdown list
trying to submit a form using hyperlink (href)
why are successive 'thickbox' pop-up windows confined to the height / width of the predecessor ?