Suddenly the iframe does not work anymore

196 views
Skip to first unread message

CiaKKi

unread,
Mar 8, 2012, 10:01:21 AM3/8/12
to Flux Users
Hi,

another problem...

I'm designing a website that has in a page an iframe used to embed
another website in it. all was working fine but suddenly the page does
not show nothing anymore. If i go in debug mode i get this message:

Unsafe JavaScript attempt to access frame with URL
file:///Users/***/Documents/blablablabla/.PREVIEW-index.html from
frame with URL http://www.autoscout24.it/CustomerArticles.aspx?blablablabla.
Domains, protocols and ports must match.

Anyone knows what's wrong within the iframe?

thanks

Bjørn Torbo

unread,
Mar 8, 2012, 11:20:16 AM3/8/12
to flux...@googlegroups.com
Hi!

The path cannot begin with "file://" as it shows that the source is stored locally on your computer. It (the file/source page) has to be on a web server and thus the URL must begin with "http://" instead. Hope this is of some use to you.

:-)

Sendt fra min iPhone

> --
> You received this message because you are subscribed to the Google Groups "Flux Users" group.
> To post to this group, send email to flux...@googlegroups.com.
> To unsubscribe from this group, send email to fluxusers+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/fluxusers?hl=en.
>

jvcbiggles

unread,
Mar 8, 2012, 2:37:07 PM3/8/12
to flux...@googlegroups.com
CiaKKi,
 
I'd suggest checking if your HTML code got "mangled".  Sometimes Flux can make unexpected changes to the source code.  I'd also suggest creating a super simple test page that just has a body and an iframe, then make the src of the iframe a link that you know works.  For example: <iframe src="http://www.w3schools.com"></iframe> . 
Reply all
Reply to author
Forward
0 new messages