Platform
Learn
Community
Support
Sign up
or
Log in
Profile
messages
Messages
logout
Logout
Platform
Home
Downloads
IPP
Licensing
Project Sizing
Beta
Learn
Training
Documentation
Evaluation Guide
Community
Jobs
Home
Forums
Forge
Ideas
Badges
Members
Support
Partner Guide
Resources Library
Opportunities
Account Management
Pre Sales Demos
Sign up
or
Log in
Home
Jobs
Forums
Forge
Ideas
Members
Badges
Dear ,
What would improve your OutSystems Community experience? Let us know by taking this 2-minute survey.
Pick up the survey
Community
›
Forums
›
Technology & Integration
OutSystems Static Site inside an iFrame
New Post
New Post
Pedro Remedios
Posted on 2016-03-23
Pedro Remedios
Rank: #0
Posted on 2016-03-23
I have a static site built with OutSystems running in an iFrame. On an iPhone/iPad, if I change orientation, I have to force a refresh to reflect changes. How can I do that automatically? I have this in the index.html with the iframe:
<meta name="viewport" content="width=device-width, initial-scale=1">
If I run the static site without iframe, the orientation changes are being noticed. Is there something I'm missing?
Thanks,
Pedro
RUG
Posted on 2016-03-24
RUG
Rank: #10
Posted on 2016-03-24
Solution
Hi Pedro,
Is the size of the iframe changing?
Cheers,
RG
Solution
Pedro Remedios
Posted on 2016-03-24
Pedro Remedios
Rank: #0
Posted on 2016-03-24
Solution
Hi Ruben,
Yes it is. We are using iFrame Resizer from Github.
Cheers,
Pedro
Solution
RUG
Posted on 2016-03-24
RUG
Rank: #10
Posted on 2016-03-24
Solution
Are you using silk?
Can you share a live example?
Solution
Team 1 IT Up
Posted on 2016-03-29
Team 1 IT Up
Rank: #38703
Posted on 2016-03-29
Solution
Yes we are using Silk. If we access the static site directly, It re-renders on rotation. I think it's capturing onorientationchange in a javascript somewhere. I would like to replicate that outside the iFrame Resizer.
Solution
RUG
Posted on 2016-03-29
RUG
Rank: #10
Posted on 2016-03-29
Solution
I think it's capturing onorientationchange in a javascript somewhere
Yes SILK UI uses orientationchange event.
I would like to replicate that outside the iFrame Resizer.
You can open SilkUIFramework module and see how we are capturing and using it.
Let me know if you need further help.
Cheers,
RG
Solution
Login to reply
New Post
Available Forums
Technology & Integration
News and Announcements
Forge Discussions
Meta
Hints and How-To Guides
Usability
Installation Troubleshooting
Personal Environment Troubleshooting
Forum Notifications
Email Digest Settings
Loading...
(hidden) New Badge Popup