• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 997
  • Last Modified:

Using prettyPhoto, how can I add a print option?

Hey guys,

I am using prettyPhoto on my website. It is similar to Lightbox, but has the option for videos also.

All is working, but I would like to add a "print" button next to the close button. How would I get it to work?

OR if this would be too much to deal with. Is it possible with CSS or JS to only print certain things on a page?

For instance, there will be a horizontal gallery of images. The reason I am using prettyPhoto is because, when the user clicks on the image, the image will expand, and block out the rest of the site. I only want to print the picture that is expanded, nothing else.

The first option listed would be the most preferred since it is more direct to what I would like to achieve.
0
areyouamac
Asked:
areyouamac
  • 2
1 Solution
 
leakim971PluritechnicianCommented:
With CSS.


Check the css and the little javascript on this page : http://www.thatagency.com/design-studio-blog/2010/04/add-print-ability-to-fancybox-jquery-plugin/
0
 
leakim971PluritechnicianCommented:
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now