Hi there,
I am trying (without luck) to display a text using thickbox and inline method.

Here is the code I tried to write:

<a href="#TB_inline?height=155&width=300&inlineId=hiddenModalContent&modal=false" class="thickbox">Show hidden modal content.</a>
  <div id="hiddenModalContent" style="display:none";><p>TEST TEST</p></div>

when pressing on the link (show hidden modal content) I get an empty thickbox.. so I guess something with my div configuration is false.. someone?

Comments

ron collins’s picture

i'm trying to do the same thing.

mm167’s picture

if u don't tell us the details, how can we help?

jstushnoff’s picture

I found you'll get a blank box if you don't wrap your content inside a another element WITHIN the div you are calling.

<div id="hiddenModalContent" style="display:none;">TEST TEST</div>

Will NOT work.

<div id="hiddenModalContent" style="display:none;"><p>TEST TEST</p></div>

Will work. (notice the paragragh element)

eranglr, I'm not sure, but the code you posted has the ';' on the wrong side of the " which may be your problem.

dinno102’s picture

hey,i had the same problem,but you solved it,thanx a lot!

BigMike’s picture

I had the same problem with nothing showing up in my popup.

I followed the Thickbox instructions for Inline Content (http://jquery.com/demo/thickbox/) yet I still couldn't figure it out.

After a lot of trouble shooting, I finally figured it out. I was using, inlineID=, instead of, inlineId=, and that capital "D" was causing all the trouble!! (Hey, it's a habit to type ID instead of Id) Unbelievable! >_<

Hope this helps someone out there,
BigMike