Archive for April, 2009

Image for tutorial

I wrote this article because I needed to add a print and email function for a blog theme I was designing. Attempting to circumvent recreating the wheel, I looked around and didn’t find any proper solutions: I needed the code to be smart so I could have a certain element generate a print or email version of a page, while stripping the rest of the page. I ended up using jQuery to do this. Here is an excerpt from the tutorial:

“When designing websites, a commonly desired feature is the ability to dynamically print or email any section of a webpage. Unfortunately, this idea is usually scrapped later in the project due to a lack of time or knowledge. Formatting the text for printing is more difficult than it might initially seem. Today, we will use JavaScript to automatically search for certain page elements and format them correctly for a printing.”

Read More



About this blog

Hi I'm Connor Zwick - freelance designer & student. I design web sites, do 3d modeling & animation, video animations, and other media work. This is my sandbox - a place to organize everything. If you'd like to hire me, or learn more about me, be sure to visit connorzwick.com.

Sites

  • admin: I'm glad! Be sure to check back for more articles! [...]
  • Benjamin Reid: Hey Connor, I picked up your site from your latest article on NETTUTS (Left you a comment http://net [...]
  • JamesD: Thanks for the useful info. It's so interesting [...]