inline Iframe Height: text link

4 posts by 3 authors in: Forums > CMS Builder
Last Post: September 20, 2011   (RSS)

is there a way to setup a option for the inline iframe not only the height but also the width?

this can be handy when wanting to preview a mobile site.

Greetz M
-------------------------------------------

Dropmonkey.nl

Re: [Maurice] inline Iframe Height: text link

By Damon - September 19, 2011

Hi,

>is there a way to setup a option for the inline iframe not only the height but also the width?

Not currently. You can set the height but not the width. I will add that to the feature request.

Displaying a preview mobile version is a cool idea. You can still do by creating a the mobile version iframe as a separate page outside of CMS Builder using code like this:

<iframe src='http://example_mobile_site.com' style='height: 480px; width: 320px;'></iframe>

Then adding the page as an iframe within CMS Builder.

Try it out!
Cheers,
Damon Edis - interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Damon] inline Iframe Height: text link

By Dave - September 19, 2011

That's a neat solution. You could even take it a step further by simulation the look of the phone in the first iframe. Something like this: http://www.testiphone.com/ or http://iphonetester.com/
Dave Edis - Senior Developer
interactivetools.com