Thickbox

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
User avatar
shiznatix
DevNet Master
Posts: 2745
Joined: Tue Dec 28, 2004 5:57 pm
Location: Tallinn, Estonia
Contact:

Thickbox

Post by shiznatix »

Hello,

I am using thickbox to make some cool popup style things. Its quite good. The only problem is that if you have a big monitor or a small page (on screen) then when you click in thickbox it only fades out to where the page ends (on my monitor thats half way down the screen).

So how can I make the page stretch to the limits of the browser window without adding a scroll bar, like stopping right to the point where you would need a scroll bar?

If you are a devnet regular and need a visual of whats happening then PM me for a link.
nickvd
DevNet Resident
Posts: 1027
Joined: Thu Mar 10, 2005 5:27 pm
Location: Southern Ontario
Contact:

Post by nickvd »

You can try the CSS html,body{height:100%} trick.

Or, it may be the image that it uses (assuming it uses one) is too short for the height of the page.
User avatar
shiznatix
DevNet Master
Posts: 2745
Joined: Tue Dec 28, 2004 5:57 pm
Location: Tallinn, Estonia
Contact:

Post by shiznatix »

I tried the height: 100% but that does not work.

It is not an image, it just fades out the whole body of the page and since the sites body does not stretch to the bottom of the screen then it does not fade that out.
User avatar
shiznatix
DevNet Master
Posts: 2745
Joined: Tue Dec 28, 2004 5:57 pm
Location: Tallinn, Estonia
Contact:

Post by shiznatix »

bump
Post Reply