WrapURL Heigh

Creating and modifying plugins.
Post Reply
Icenor
Regular
Posts: 15
Joined: Wed Dec 06, 2006 7:42 am

WrapURL Heigh

Post by Icenor »

Im useing the great plugin WrapURL on many of my blogs features (gallery, links, forumet, etc).

But theres one thing I'm missing. Is there any way to make the WrapURL adjust the height of the site to whatever the heighet of the embeded content is? Currently I have to set a spesific value (default 1000pxl) but for example, my forum isn't allway 1000pxl long and sometimes it's alot longer then 1000pxl, and then I get that ugly scrollbar inside the embeded space.

I you check out the link and click the thread Kommentar til Helsesjekken, you'll see what I mean with the extra scrollbar, inside the browser.
http://gopilot.org/index.php?serendipit ... ]=forumurl
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: WrapURL Heigh

Post by garvinhicking »

Hi!

Sadly that is one problem of CSS in frames; the iframe itself cannot know what the height of the content is.

You would need to add javascript into the embedded page that sets height/width of its frame. :(

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply