views:

771

answers:

2

Hey,

I tried all sorts of combinations, how can I open a page in thickbox that has get parameters in it? for example:

<a href="http://www.google.com?q=someQuery&amp;TB_iframe=true&amp;height=600&amp;width=600" title"bla" class="thickbox">example 1</a?

Also, are there any special things to consider while working with thickbox in a firefox extension?

A: 

Look at the source of thickbox. Does the selector in the very begining match your links, something like

tb_init('a.thickbox, area.thickbox, input.thickbox');

The following example works fine for me:

<a class="thickbox" href="/a/b/c/?id=42&TB_iframe=true&width=800">link</a>
nop
Radagaisus
A: 

BTW if you look at the documentation additional values should be before the thickbox parameters, e.g. ?KeepThis=true&TB_iframe=true&height=400&width=600

Mark Steudel