...

View Full Version : load mobile version in desktop website iframe



neptune1
09-26-2012, 03:50 PM
is it possible to force load mobile version site in desktop website iframe?

xelawho
09-26-2012, 04:46 PM
a mobile version will have a separate URL, generally starting with an m. (yahoo's is m.yahoo.com for example) so all you would need to do would be to put that in the src for the iframe instead of the "normal" URL

cross-browser restrictions mean that many external sites will not load in iframes these days, though...

neptune1
09-26-2012, 07:30 PM
a mobile version will have a separate URL, generally starting with an m. (yahoo's is m.yahoo.com for example) so all you would need to do would be to put that in the src for the iframe instead of the "normal" URL

cross-browser restrictions mean that many external sites will not load in iframes these days, though...

Thanks, I made a a simple form that on submit loads the link the user submits into an iframe.. I want the iframe to autodetect the url as if it was a mobile device... so it loads their website to see test whether or not there site is autodetecting mobile view..



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum