PDA

View Full Version : linking into Iframe SSI script II (different subdomains)



wol4
08-29-2016, 02:40 PM
1) Script Title: Iframe SSI script II

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

3) Describe problem: I know that I can link only from the same server. I want to link to another subdomain, same server, same domain.

4) Can I do that? How does the link have to look like?

Using Joomla 3.6, Warp 7, and want to run a Prestashop in an iframe in an article.

Beverleyh
08-30-2016, 07:57 AM
I know that I can link only from the same server. Unfortunately it doesn't work like that. Being hosted on the same server doesn't automatically allow cross-site scripting.

This particular script won't work across domains - subdomain or otherwise. Both pages would need to be on the same site.

However, this alternative script *will* work across domains, as long as you are able to modify the framed site too in order to add a little helper script https://github.com/davidjbradshaw/iframe-resizer

wol4
08-31-2016, 10:35 AM
Thanks for your suggest. I tried it, and stick with SSI script II. That's a handy script!