PDA

View Full Version : Ajax Tab iframe resizing



shoon
05-26-2008, 04:14 AM
1) Script Title: Tab Content Script (v 2.2)

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/tabcontent.htm

3) Describe problem: iframe doses not resize, although content page is in same directory.

ddadmin
05-27-2008, 06:07 PM
There is no built in feature within the script right now to resize the IFRAME dynamically based on the containing page actually. There is a mod that lets you manually specify a different IFRAME height depending on the tab: http://www.dynamicdrive.com/forums/showthread.php?p=132566

shoon
05-28-2008, 02:41 AM
Can I call the Id of "_ddajaxtabsiframe-countrydivcontainer" with the Iframe SSI script after it has loaded?

~thanxs
shoon

swanjm01
08-09-2009, 06:29 AM
Hello,

I have been reading every forum post I can find on setting a height for the iframe tab. Have tried the css declaration:
.tabcontentiframe{
height: 500px !important;
}

no effect.

Tried the altered ajaxtabs.js with the "#iframe:300" method.

This actually froze the page and wouldn't load anything in the iframe at all, and size remained the same.

Also tried to make the changes to the script itself to set the min-height to a higher number. No effect.

I made sure there were no conflicts with the styles in the containing div. In fact, the div expands for all other tabs, just the iframe stays fixed at 100px. even if the div is set at a higher size.

Has anybody else experienced this? Is there anybody that can offer some guidance on what I might be missing? Thanks for the time.

MS