urgent blog question

hi everyone,

My website http://www.freelance-options.be/familyland uses an iframe for a blog. The iframe uses a script that calculates the height of the content, so if the content grows than the iframe grows to. I’ve made it so that I can slide the iframe with an custom scrollbar (using protaculous action). If I preview it local, it all works perfect, if I put it online the iframe won’t show. can someone help me with this.

And I’m looking for some who builds actions.

thnx,
David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

If the content in the iframe comes from a different domain than the page containing that iframe, then you’ll get a JavaScript error when your script tries to get the height of the content in order to resize the outer iframe. There’s no way around this, it’s a security feature. If the content comes from the exact same domain as the rest of your site, then that’s not it. Could you post a link showing the problem?

Walter


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi,

If you see here http://www.freelance-options.be/familyland and click on blog. You get a popup screen and there should be a iframe in it. If I preview it, it looks great, I see the iframe with the blog and I can scroll it with the custom scrollbar. When I upload it, the blog doesn’t show anymore, only 1px.

Second question is that I want to you flexscroll on my page, but I don’t know how to implement it.

Thnx.

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Your iFrame is generating this js error

Unsafe JavaScript attempt to access frame with URL http://www.rlcdn.com/37674.html from frame with URL http://www.familyland.be/rob/2009/12/john-michael-talbot-over-the-immaculate-conception.html. Domains, protocols and ports must match.

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

This is precisely the error I was describing. Read more about it here: Same-origin policy - Wikipedia

The only way around it is massively technical and requires the
cooperation of the “foreign” site. You can also use a local proxy to
“scrape” and re-write the foreign site, then re-post it from your own
server to your script, but that’s so much work for so little benefit
that it’s not even worth while.

Walter

On Sep 1, 2010, at 7:42 PM, DeltaDave wrote:

Your iFrame is generating this js error

Unsafe JavaScript attempt to access frame with URL http://www.rlcdn.com/37674.html 
 from frame with URL http://www.familyland.be/rob/2009/12/john-michael-talbot-over-the-immaculate-conception.html 
. Domains, protocols and ports must match.

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options