Skip to content
WJunction - Webmaster Forum

Colorbox/Lightbox and frames

Status
Not open for further replies.
So I have a website I'm building, but I've hit a snag.
I was going to add a lightbox, but decided on colorbox so I can achieve a result similar to:
Click link A > overlay dialog will appear with HTML content (without bringing a popup that browsers hate)

But, the page I added it to has 2 frames vertically next to each other.
Left frame(L) is 30% and the right frame® is 70%.
Now link A is going to be on L.
When the link is clicked however, the overlay box tries to fit itself on the space allotted to L.
SO it's squashed up on the left and the html is distorted.

What I need assistance with is getting the colorbox to center on the entire page and overlay the entire page.

Need all the help I can get.

Thanks.
 

1 comment

Anything loaded from an irame will be confined to the dimensions of it.
don't you have any area in your page which doesn't have frames ?
if you have it , you can move the colorbox to the area which does't have iframes, and then , call the colorbox from the iframe ;)

HTH
 
Status
Not open for further replies.

About the author

S
Senior Member · Joined
1,590
Messages
212
Reactions
63
Points
Grow your business

Advertise on WJunction

Connect with an established international community of webmasters, hosting providers, developers and online entrepreneurs.

  • Premium & Premium+ Sticky
  • Dedicated section banners
  • Site-wide banner advertising
Explore advertising options
Back
Top Bottom