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 ;)

Recommended Answers

All 3 Replies

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 ?

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.