You are here: Forums Ask a Rails expert Any alternatives to iframes to...
Posted in Forums : Ask a Rails expert
Authority 0
Posting Rating 83
Sign in to rate this post
|
Hello, I am building an admin interface where users can adjust the header/footer, content, etc… for their website. I want to display their site as they make changes. When displaying it I need to display it at like 50% normal size. I thought about using an IFRAME with the zoom style to shrink the page but there are browser compatibility issues with zoom and thought there had to be a better way. Any suggestions would be welcomed. Thanks, |
Authority 50
Posting Rating 4
Sign in to rate this post
|
Hi Brian, I think you can use render partial method instead of IFRAME good luck =) |
Authority 50
Posting Rating 0
Sign in to rate this post
|
You’ll want to look at the “object” tag, with the data attribute set to your embedded page, because iframe is deprecated anyway. As for the sizing/zooming issue… you’ll just have to try it. I haven’t had to do anything like that, so I’d hesitate to make a guess at how that will work. |
Ask a Rails expert : nested application ApplicationController get called intead of children::ApplicationController
Ask a Rails expert : Best way to structure a database for a large/static dataset
Ask a Rails expert : Ruby Developer (ROR) - Scottish based (Remote working from within the UK)
Ask a Rails expert : Above Ground Pool Supplies
Ask a Rails expert : How to get url params in observer or model in Rails 3.1
Ask a Rails expert : What can persuade you to hire Junior Ruby devs with significant PHP experience?
Ask a Rails expert : What industry value does the Ruby or Rails Certification currently have?
Ask a Rails expert : Louis Vuitton Damier Azur Canvas specially sale ( www.salecheaplouisvuitton.com )
Ask a Rails expert : ·How to check errors/puts statements from ruby files which are under cronob
Ask a Rails expert : Louis Vuitton cheap Soft Sided Luggagespecial offer( www.salecheaplouisvuitton.com )