Skip to navigation | Skip to content

Share your knowledge. Make a difference.

Add a printable coupon to your lens

1 - I can do better 2 - Jury's out 3 - Pretty darn good 4 - Splendiferous 5 - Awesometastic (by 13 people)   Your rating: 1 - I can do better 2 - Jury's out 3 - Pretty darn good 4 - Splendiferous 5 - Awesometastic

Ranked #1046 in How-To

9 people favorited this page

Rated G. (Control what you see)

Squid Giant

Created by N376 (contact me)

Glen likes to write. If it's something that he hasn't already enjoyed or experienced in life if you so much as...  (more...)

Start your own Squidoo page

Your fans are waiting!

Unfortunately, no longer works

 

The amazing iframe can be used to include a printable coupon in your lens. Don't print the entire page! Just print the coupon.

Click on the printer icon in the next module to see how it prints just the graphics.

Print now! Redeem it! Save money! 

Well not really. But you get the idea.

ATTENTION: iframes are no longer allowed at Squidoo. They have been disabled.

Step 1 

First you'll need the graphics.

You'll want to save this icon: Print

Copy it to your harddrive, keep the name as "print.gif" to keep it simple. You will then have to upload it to your own webspace (eg: www.yourdomain.com/squidoo)

You'll also need the graphic of your coupon (I trust you've already got that designed and exported as either a jpeg or a gif). In this case we've called it "coupon-lunch-white.gif"

That too has to be uploaded to your webspace.

Recommended Reading 

HTML 4 For Dummies, 5th Edition

Amazon Price: $24.99 (as of 05/17/2008)

Step 2 

Next you need to make the html page that these graphics are actually going to be on. (Reminder: you need to host it somewhere else. Squidoo doesn't host additional HTML pages or images for you).

Here's a basic outline of the HTML code that you will need to copy, edit and save. If you don't understand any of it then you'll need to buy the book I've recommended or do a course in Basic HTML.

<HTML>
<BODY BGCOLOR="#FFFFFF">
<DIV ALIGN="RIGHT"><A HREF="javascript:window.print()"><IMG SRC="http://www.yourdomain.com/squidoo/print.gif" BORDER="0" ALT="Print>
</A></DIV><br>
<center><img src="http://www.yourdomain.com/squidoo/coupon-lunch-white.gif></center>
</BODY>
</HTML>


Once you've done that you'll have to upload the page to your webspace. We'll assume again that your website's name is "www.yourdomain.com" and you've put it in the "squidoo" directory. And that you've named it "print.html".

The right tool for the job 

Use Adobe Photoshop to design your next killer flyer.

Adobe Photoshop CS2 [OLD VERSION]

Amazon Price: (as of 05/17/2008)

Step 3 

You have to add the iframe code to a Text/Write Module.

<iframe src="http://www.yourdomain.com/squidoo/print.html" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" height="340px" width="100%"></iframe>

The URL in red will of course have to be changed to whatever your URL is. The number in red will also have to be changed depending on how many pixels your image is in height plus allow for about 25 pixels for the printer icon PLUS allowing another 15 or 20 pixels just to be sure.

Step 4 

There is no step four.

You're done.

Make sure all your graphics and the html page are uploaded, put in the correct URL's, save, PUBLISH and hopefully it works!
X

Hi, I'm N376

N376

Join my fan club

Glen likes to write. If it's something that he hasn't already enjoyed or experienced in life if you so much as throw a topic at him and if he finds it even mildly interesting he'll research it until his fingers cramp up and his eyes are fatigued. He'll chew it up and spit it out like quality cud. For some that might be disgusting, but for others with a taste for the offbeat and whimsical it's like stumbling on a vein of gold.

More pages by me...

See all my pages

X

Gold Star

This is a certified gold star lens, which means it's the best of its kind on Squidoo (or shows some serious potential for getting there!)

Read more about gold stars »

X

N376 is a Giant Squid!

Giants are distinguished by their exceptional skill for making top-notch lenses, and lots of them. Whenever you land on a Giant Squid's lens, you know the person behind it is passionate about the topic and is hard at work making the lens worthy of your time and attention.

Learn more about what it takes to be a Giant »