Dynamic iframe height ?

Reply

Join Date: Jan 2006
Posts: 3
Reputation: Bellinis is an unknown quantity at this point 
Solved Threads: 0
Bellinis Bellinis is offline Offline
Newbie Poster

Dynamic iframe height ?

 
0
  #1
Jan 20th, 2006
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
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 1,655
Reputation: tgreer is an unknown quantity at this point 
Solved Threads: 35
Team Colleague
tgreer tgreer is offline Offline
Made Her Cry

Re: Dynamic iframe height ?

 
0
  #2
Jan 20th, 2006
Reply With Quote Quick reply to this message  
Join Date: Jan 2006
Posts: 3
Reputation: Bellinis is an unknown quantity at this point 
Solved Threads: 0
Bellinis Bellinis is offline Offline
Newbie Poster

Re: Dynamic iframe height ?

 
0
  #3
Jan 20th, 2006
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 ?
Reply With Quote Quick reply to this message  
Join Date: Feb 2006
Posts: 1
Reputation: Bassie is an unknown quantity at this point 
Solved Threads: 0
Bassie Bassie is offline Offline
Newbie Poster

Re: Dynamic iframe height ?

 
0
  #4
Feb 7th, 2006
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
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the HTML and CSS Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC