PDA

View Full Version : Problems with Iframe SSI script II


Pft
04-19-2008, 09:19 PM
Hey. I've been trying for some time now to get this script (http://www.dynamicdrive.com/dynamicindex17/iframessi2.htm) (expanding iframes) to work on my site, but it just isn't! I've tried everything; even using the source from a different site where the script does work! HERE (http://pftodd.xtreemhost.com/iframe.html) is an example.

-Regards,
Patrick

...I'm a real noob

tagnu
04-20-2008, 03:56 AM
hi, from the script page (http://www.dynamicdrive.com/dynamicindex17/iframessi2.htm)
*All external pages loaded into the iframe must be from the same domain as the page the iframe tag is inserted in. Setting the iframe's src to an external site such as "http://www.google.com" will not work, since the script cannot probe and detect the height of pages from external domains.

Your script loads the dynamicdrive.com homepage. Please change that to some file on your site.

For e.g:
<iframe scrolling="no" frameborder="0" style="overflow: visible; width: 100%; display: block;" hspace="0" vspace="0" marginheight="0" marginwidth="0" src="index.html" id="NAME"/>