First off thanks to all who make these scripts!
Problem: When a page using 'Switch Content Script' is loaded into an Iframe managed by 'Iframe SSI script II', the Iframe's 'height' is not adjusted to fit the 'expanded' content.
'Switch Content Script'
http://www.dynamicdrive.com/dynamici...tchcontent.htm
Iframe SSI script II
http://www.dynamicdrive.com/dynamici...iframessi2.htm
Is there a way to solve this? Or does it mean a brand new script is required?
Even a dirty quick fix like having the 'switchcontent' be fully expanded at first, so that the iframe is sized to maximum, and then have the content compresssed back. At least that would avoid any expanded content from overflowing, even though the Iframe would be too big. I don't even have enough JS understading to do that though, so I just made a dummy entry as the last content item that is as big as the largest content item auto-open, and have the SCS script closing content items when a new one opens.



Reply With Quote

Bookmarks