- This topic has 5 replies, 2 voices, and was last updated 7 years, 2 months ago by .
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- You must be logged in to reply to this topic.
Home › Forums › Pro Themes › University Hub Pro › Iframe Issue
Hi,
I was trying to have a widget (Text) pointing to an external website using iframe but instead of displaying the desired external website, it showed my current website. There seems to have some auto-redirect when using the theme with iframe. How can I fix this?
Thank you in advance for any suggestions.
Hello @rainbow_tj007,
Please share your site URL to inspect further .
Hope you understand .
Best Regards!!
Please find the link to my test website below:
http://pmu-kaelc-wp1.azurewebsites.net/contact-us/
Regards,
rainbow
Hello @rainbow_tj007,
It does not work due to the reason given below :
Refused to display ‘https://www.apple.com/’ in a frame because it set ‘X-Frame-Options’ to ‘sameorigin’.
Only those third party websites that are provided with an iframe embed code to insert certain elements on their websites will work .
So try with other website which has the iframe embed code.
Hope this clears up the confusion .
Best regards!!
Ah… My bad. I meant to use the following settings for the iframe:
<iframe id=”uvindexwidget” src=”http://www.sunsmart.com.au/uvalert/default.asp?locationid=60″ width=”170″ height=”300″ frameborder=”0″ scrolling=”no” style=”padding:0; margin: 0px; overflow:hidden;” allowtransparency=”true”></iframe> and I was having exactly the problem as I mentioned in this thread.
That’s why I used Any website for demo purpose.
When I put the proper link (from sunsmart) again today, it is all working fine now.
It’s all good now. Thank you for the support.
Regards,
rainbow
Hello @rainbow_tj007,
Glad we could help you .
IF you have any issue further then please feel free to post them .
Best Regards!!
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |