Questions tagged [thickbox]

ThickBox is a webpage UI dialog widget written in JavaScript on top of the jQuery library. Its function is to show a single image, multiple images, inline content, iframed content, or content served through AJAX in a hybrid modal.

Thickbox shows a UI dialog widget, which remains centered on the page. It's like a jQuery dialog box, but it has an added functionality of remaining centered even after scrolling.

It comes with its own set of CSS files for styling of the box.

Thickbox is now deprecated in favour of jQuery, having its own dialog box and other UI components with the jQuery UI library.

287 questions
191
votes
10 answers

jQuery .ready in a dynamically inserted iframe

We are using jQuery thickbox to dynamically display an iframe when someone clicks on a picture. In this iframe, we are using galleria a javascript library to display multiple pictures. The problem seems to be that $(document).ready in the iframe…
EtienneT
  • 5,045
  • 6
  • 36
  • 39
148
votes
17 answers

How can I simulate an anchor click via jquery?

I have a problem with faking an anchor click via jQuery: Why does my thickbox appear the first time I click on the input button, but not the second or third time? Here is my code:
prinzdezibel
  • 11,029
  • 17
  • 55
  • 62
10
votes
1 answer

set jquery ThickBox size to auto

I use JQuery ThickBox 3.1 to show my Iframed Content as popup window . &TB_iframe=true&height=600&width=800" title='<%#Eval("Title")%>' class="thickbox">
zey
  • 5,939
  • 14
  • 56
  • 110
8
votes
4 answers

which one is the best: facebox, thickbox, jquery ui dialog, others?

which one is the best to use for: images regular div content ajax loaded content forms to post to server
leora
  • 188,729
  • 360
  • 878
  • 1,366
7
votes
5 answers

Change thickbox popup size dynamically

I'm using ThickBox to open popup in my page. In popup there is a tab on click on which i need to change the size of ThickBox popup window. How can i do that ? Thanks in advance.
MUS
  • 1,450
  • 4
  • 17
  • 30
7
votes
2 answers

To invoke thickbox using javascript

How to invoke a thickbox using javascript function. I am using this code. //javascript function function click_fn() { self.location="upload.php?keepThis=true&TB_iframe=1&width=1000&height=400&model=true"; }
Mohan Ram
  • 8,345
  • 25
  • 81
  • 130
6
votes
3 answers

When jGrowl is called, the thickbox stops working properly (using UpdatePanel)

I am calling a thickbox when a link is clicked: Add a new…
aleafonso
  • 2,244
  • 8
  • 38
  • 58
6
votes
7 answers

How would you trigger an event when a ThickBox closes?

This question is Semi-related to Wordpress, but has applications elsewhere. Basically, I'm trying to make it so when someone exits out of a Thickbox, it triggers an event elsewhere on the page. Editting the Thickbox file isn't an option.
Manny Fleurmond
  • 362
  • 1
  • 6
  • 18
6
votes
4 answers

Is there a way to use Thickbox with dynamic content?

Here's the scenario: I have a textbox and a button on a web page. When the button is clicked, I want a popup window to open (using Thickbox) that will show all items that match the value entered in the textbox. I am currently using the IFrame…
Kevin Pang
  • 41,172
  • 38
  • 121
  • 173
5
votes
1 answer

How to close the dynamically added pop-up when user clicks anywhere on the page outside of that pop-up's surface?

I'm using one jQuery pop-up library called thickbox.js. There is one small image present on my page. When user clicks on this image a call to some function is given, the thickbox.js library creates the HTML/CSS for pop-up on the fly and shows up…
user4407686
5
votes
2 answers

Max-height relative to parent doesn't work

I'm trying to put a lot of content in "Thickbox" (Javascript popup window) and it works almost fine but I can't make max-height: 100%; (relative to parent) and overflow-y: scroll; work. There are two outcomes: It is as long as it should be, without…
Atadj
  • 7,050
  • 19
  • 69
  • 94
4
votes
4 answers

Stop a postback in javascript

i have an ASP webform with a JQuery Thickbox, i have an image that opens the thickbox when user click. once open the thickbox it shows me a grid with several rows and a button to select one and after the user select the record it returns to the main…
jmpena
  • 1,399
  • 6
  • 19
  • 26
4
votes
3 answers

Close thickbox and the open it again

I am trying to do kind of a wizard using thickbox, and it works fine when opening it the first time. When I click next I would like to close the div I have opened and open a new one in thickbox, but how is it done? I have tried the following code,…
Dofs
  • 17,737
  • 28
  • 75
  • 123
4
votes
1 answer

How do I pass a value out of a Wordpress Thickbox?

I am currently working on a custom Wordpress plugin which requires the user to create a list in a form, and so to help them populate their list, I have implemented the Wordpress Thickbox. I have made the Thickbox display, with the content I would…
Grimace
  • 63
  • 5
4
votes
1 answer

Adding wp_editor inside a thickbox

I would like to add a wp_editor inside a modal dialog (thickbox) at frontend but only gets an empty editor with no buttons on in. (WordPress 3.5 and plugin development) The wp_editor is attached via an ajax call... It seems like some important…
Andreas Ek
  • 61
  • 1
  • 5
1
2 3
19 20