Software Archive
Read-only legacy content
17061 Discussions

Iframe content scales/pinch and zoom in app

Peter_S_11
Beginner
2,465 Views

HI Guys

 

I am making a web app at the moment and I need an app page to have my app header and footer but a div/iframe that links to an external blog page that loads this content into the app between the header and footer all scaled and fitting. Its not a responsive site, but i dont want it with scroll bars, what i need is the iframe content to fit my app 100% using the classic pinch and zoom of the user to zoom in. Much like it would were it viewed on the classic device browser apps.

Is it possible to do this?

Thanks

 

0 Kudos
1 Reply
Dale_S_Intel
Employee
2,465 Views

Not sure, but you might find some useful info here:

http://stackoverflow.com/questions/166160/how-can-i-scale-the-content-of-an-iframe

http://stackoverflow.com/questions/11183174/simplest-way-to-detect-a-pinch

You might be able to capture the pinch/zoom event on the iframe to prevent it from bubbling up, but I haven't tried this myself.

 

Dale

 

 

0 Kudos
Reply