iframes
R.I.P. The iframe Tag. Deceased 12th July 2007.
The humble iframe tag... actually, the iframe tag is anything but humble. It's quite powerful. And it opens up a window of opportunity for webmasters and lensmasters alike...
Except for lensmasters, who used to use it to do things in their TEXT/WRITE module that couldn't be done any other way. But that's in the past now.
ATTENTION: Squidoo's new policy on iframes
On July 12 Squidoo disabled the iframe tag and it's amazing ability to enhance, improve and empower your lenses.
What Wikipedia says about the iframe
The size of the IFrame is specified in the surrounding HTML page, so that the surrounding page can already be presented in the browser while the IFrame is still being loaded. The IFrame behaves much like an inline image and the user can scroll it out of view. On the other hand, the IFrame can contain its own scroll bar, independent of the surrounding page's scroll bar.
While regular frames are typically used to logically subdivide the content of one website, IFrames are more commonly used to insert content (for instance an advertisement) from another website into the current page.
Source
Recommended Reading
HTML Mastery: Semantics, Standards, and Styling
Amazon Price: $25.54 (as of 07/19/2008)
Do It Yourself
They're not hard to do once you've got the hang of it.
In fact if you go to the i-Frame Code Generator you can do it without having to know much about HTML.
Just enter the details of how you want your iframe to look, the url you want to show within the iframe and the code will be generated for you.
Be sure to also check out Jeffry Vance's lens on iframes where he demonstrates multiple uses of the powerful iframe.
With an iframe you can add a printable coupon!
A step-by-step tutorial on how to do it is found here.
Add your own Amazon search box!
Add an Opt-in Form
MrLewisSmile gives a four step tutorial on how to add an opt-in form to your lens.-
How to add an opt-in form to your lens
-
Hello there. I guess you are looking at this page to learn how to add an opt in form to your lens. So let's crack on!
Be careful what you iframe
Don't iframe whole webpages from other sites. It'll look ghastly with a horizontal scroll bar as well as a vertical scroll bar.
It's yet to be confirmed but having a target page with a bit of code that 'breaks out of frames' can cause you to be locked out of your lens.
How would that happen?
By inserting and saving a Write/Text module to such a page will automatically load the page even in edit mode. Once loaded it'll bust out of the iframe and reload in the browser window. Thus stopping you from editing your lens, each and every time.
It would seem that Myspace has such a function.
So don't try putting your Myspace profile in an iframe. In fact avoid putting whole webpages of just any website in an iframe. Just link to them as normal if you really need your visitor to see it.
Do you have a lens with an iframe?
Post it here so others can see how you've used an iframe to empower your lens.
| thefluffanutta
For anyone missing the Amazon Product links, I've built a tool that will generate Squidoo compatible code that looks similar. See the Amazon Links lens for details. Posted September 04, 2007 |
| webseitler
I know (from my web designer husband) that the iframes were bad news for Squidoo. But now I'm torn because I just discovered a widget on another site (a site I wanted to make a lens on) and now I can't use it! Boo hoo. So my vote is for "Lens Masters We Can Trust." Posted August 21, 2007 |
|
billc
They have made a VERY bad decision in disabling iFrames. If one person crashes their car on the freeway, does that mean we should no longer be allowed to drive? This will come back and bite them very hard and people will look to other sites for hosting their content. Bring em back or else Posted August 17, 2007 |
|
Forgiven
I really miss the it! =( Posted August 07, 2007 |
|
RadioPages
They disabled iframes just before I tried to use one! I've been using iframes on my site for years, so I could place the same content on a number of pages (like a list of links to back issues). You can see several examples at http://radiopages.net/radio ... and I was going to use some of them here! Posted August 03, 2007 |
