NetTalk Central

Author Topic: iFrame issue  (Read 3664 times)

markster

  • Full Member
  • ***
  • Posts: 204
    • View Profile
    • Email
iFrame issue
« on: March 03, 2016, 03:10:09 PM »
I'm trying to display a website on an iFrame within an NetTalk form and have done so in the past, but now I'm having trouble getting the iFrame to display. I've been fiddling with the sample app Hyperlinks/30. After I compile and run, when I click on Browse, then Media and then on the CapeSoft record, I only get a box outline of the iFrame where the website should be showing. What am I missing?

Thanks,

Mark

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: iFrame issue
« Reply #1 on: March 08, 2016, 09:51:42 PM »
Hi Mark,

by default pages served by NetTalk will not appear in iFrames.
You can set it to allow this though.
see http://www.capesoft.com/docs/NetTalk9/NetTalkWebFunctionality.htm#WebserverSecurity
x-Frame-Options setting.

cheers
Bruce

markster

  • Full Member
  • ***
  • Posts: 204
    • View Profile
    • Email
Re: iFrame issue
« Reply #2 on: March 14, 2016, 03:39:12 PM »
I wasn't aware of that setting before, so thanks for the tip. I entered the following:

'allow-from https://www.lowfeesmakecents.com:444'

When I'm trying to load the i-Frame, I'm using the exact same URL, but it's still not showing. I'll fiddle more with the sample app file and see if I can trace it through.

Thanks,

Mark

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: iFrame issue
« Reply #3 on: March 15, 2016, 02:57:11 AM »
try it as blank and see what happens.