User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the HTML and CSS section within the Web Development category of DaniWeb, a massive community of 423,886 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 4,257 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our HTML and CSS advertiser: Lunarpages Web Hosting
Views: 9745 | Replies: 3
Reply
Join Date: Jan 2006
Posts: 3
Reputation: Bellinis is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
Bellinis Bellinis is offline Offline
Newbie Poster

Dynamic iframe height ?

  #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
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Dec 2004
Posts: 1,590
Reputation: tgreer is an unknown quantity at this point 
Rep Power: 7
Solved Threads: 35
Colleague
tgreer tgreer is offline Offline
Made Her Cry

Re: Dynamic iframe height ?

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

Re: Dynamic iframe height ?

  #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  
Join Date: Feb 2006
Posts: 1
Reputation: Bassie is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
Bassie Bassie is offline Offline
Newbie Poster

Re: Dynamic iframe height ?

  #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  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb HTML and CSS Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the HTML and CSS Forum

All times are GMT -4. The time now is 4:48 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC