View Full Version : Iframe not resizing properly

03-19-2007, 02:59 AM
I've just began creating this site with alot of scripts found here on DD:

It seems the Iframe displaying the main content is only resized (http://www.dynamicdrive.com/dynamicindex17/iframessi2.htm) properly when the page is reloaded.

For example, click on "Contribute" and see that the center area is cut. Refresh and it is shown properly.

Is there any way to get this script working properly?

Also, is there an obvious reason the page doesn't work well in Opera (my preferred browser) and FF?

I'm at all loss and considering starting over completely!

03-19-2007, 06:44 AM
You shouldn't use iframes anyway. I would suggest using Ajax.

03-19-2007, 11:12 AM
I'd suggest <div>

03-19-2007, 04:12 PM
Is there a script you'd recommend?

This, http://www.dynamicdrive.com/dynamicindex17/ajaxcontent.htm for example?