I was wondering if there is a (webbased) way to scale down a whole website and put it into an iframe. [including images etc], so that a user would get a fully functional preview of the website (only for websites without frame busting methods of course).
A:
Thats up to javascript or css although it really depends about the browser and its behavior to certain commands.
Neb
2010-05-23 11:18:35
So there is no way of providing a URL and a script automatically returns a scaled down version of it or fails to because e.g flash or so?
Samuel
2010-05-23 11:52:31
You could make a thumbnail image but probably not iframe scale
Neb
2010-05-23 14:29:10
A:
You can use javascript to specify the iframe src.
document.getElementById('myiframe').src = 'my url';
chris12892
2010-05-24 05:46:02
Nevermind, I though you just wanted to have an iframe and control it.
chris12892
2010-05-24 16:41:32
A:
No, there isn't.
The Microsoft propriety zoom
property could probably do it, but not in most browsers, and not in pages you can't edit the CSS for.
If you want to provide a preview, provide a thumbnail graphic (which would probably be a lot faster for the user to download in most cases anyway)
David Dorward
2010-05-24 05:52:35