944,161 Members | Top Members by Rank

Ad:
Jan 20th, 2006
0

Dynamic iframe height ?

Expand Post »
On my site (a vbulletin board) I want to use an IFRAME to show the available houses of a holiday rental site. On this holiday rental site you can do a search for available houses in a selected period/location. The IFRAME would be placed in a table in the middle of my site.
Problem is: I don't want to use scrollbars in my IFRAME, but since it's content is dependent on the search-results, the IFRAME needs to be dynamic all the time.

You can see my page here: http://www.tsjechie.net/board/view.php?pg=eurorelais

So now I'm trying to find a script that dynamically resizes the iframe.

Can anyone help me out here? :rolleyes:

Thanks a lot in advance
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Bellinis is offline Offline
3 posts
since Jan 2006
Jan 20th, 2006
0

Re: Dynamic iframe height ?

Team Colleague
Reputation Points: 227
Solved Threads: 37
Made Her Cry
tgreer is offline Offline
1,697 posts
since Dec 2004
Jan 20th, 2006
0

Re: Dynamic iframe height ?

Thanks tgreer for pointing me in the right direction.

I've added the code as described, but for some reason it's not working on my page an I get an error. Any idea what's wrong here?

I guess it's because the framed page is not on the same domain

Any other solution ?
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Bellinis is offline Offline
3 posts
since Jan 2006
Feb 7th, 2006
0

Re: Dynamic iframe height ?

This probably comes down to the same, but you might wanna check it out:
It surely uses a lot less code, and for me, it works like a charm.
(u may wanna set border to 0px in stead of 1px, but you'll notice that soon enough)

http://www.diplok.com/1ppl/html/article093.html

bb
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Bassie is offline Offline
1 posts
since Feb 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in HTML and CSS Forum Timeline: Firefox and IE padding issue.
Next Thread in HTML and CSS Forum Timeline: page names





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC