homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

Is this possible in an iframe

Msg#: 4357660 posted 4:42 pm on Sep 1, 2011 (gmt 0)

I'm wondering if it is possible to add an attribute to an inframe so that the source displayed (the website in it) is displayed at a different percentage, say I have a layout of 960px of width, and the iframe takes half (480px) and I want the website in it to be seen in its entirety, so it has to be displayed at a 50% for example.

Google's SERPs do that when you click the magnifier icon but that is an image if I'm not wrong.



WebmasterWorld Senior Member rocknbil us a WebmasterWorld Top Contributor of All Time 10+ Year Member

Msg#: 4357660 posted 3:49 pm on Sep 2, 2011 (gmt 0)

If it's an external web site, no. Imagine if you could - you could change all the links in an iframed page to suit your needs.

If it's on the same domain, there are a variety of ways you could do it - pass a parameter to the containing page to make it use a different style sheet, for example.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved