Hello,
I use a Contact form in an iframe. Local it works fine, but not on server. When I click the botton 'cancel', fb doesn't close.
Any idea?
Markus
Contact form
Page: 1
Author | Post |
---|---|
#1 Wed Mar 11, 2009 7:52 pm
|
|
Member
Registered: Nov 2008
Posts: 26
|
|
#2 Wed Mar 11, 2009 9:24 pm
|
|
Administrator
Registered: Aug 2008
Posts: 3382
|
Not without seeing it.
I've got a contact form in an iframe on my demo page with a cancel button that closes floatbox just fine. It sez... <button type="button" onclick="parent.fb.end()">Cancel</button> |
#3 Thu Mar 12, 2009 6:17 pm
|
|
Member
Registered: Nov 2008
Posts: 26
|
I opened the contact form in fb with a subdomain like //taget.domain.tld/form.html
But the 'real target' on server was the folder //domain.tld/form.html Now it works. |
#4 Thu Mar 12, 2009 6:24 pm
|
|
Administrator
Registered: Aug 2008
Posts: 3382
|
Ah. Sounds like cross-domain script blocking. Browsers won't let javascript execute across different domains. (I'm probably not telling you something you don't already know.)
|
Page: 1