The question comes up all the time: Can I prevent people from printing my web page or an image on the page? The short answer is unfortunately "No". You can make it difficult for them, but a determined visitor will still find ways. So far nothing I'm aware of can prevent them altogether. Basically, if you put it on the page, they can see it and find a way to print it.
Another way of looking at the same problem is removing elements of your page that don't need to be printed. For instance, if somebody is reading an article on your site and wants to print it, they probably don't need the navigation, advertisements or a print button on the printed page. They want to read the article, not look at the framework around it.
"Oh, what a tangled web we weave, when first we practice to deceive". [Sir Walter Scott]
jUntangled is a blog about jQuery, HTML and CSS for beginner and intermediate web developers. The aim is to help untangle the web by clearly explaining how to use jQuery as well as some interesting aspects of HTML and CSS, so we can all write clean, untangled code for easy maintenance and a superior user experience.
Showing posts with label css. Show all posts
Showing posts with label css. Show all posts
Monday, November 12, 2012
Thursday, July 19, 2012
jQuery 101: Basic examples
Okay - so you know what jQuery is, and have it installed on your site. Now what do you do with it?
The possibilities are really limitless, but we have to start somewhere... The first thing you'll need to know is how to address what it is you're trying to act on. Everything in jQuery is based on that. You'll target something, then either act on it immediately or set up a function to be run later when a given event happens. The most common of these are the click event or the hover event, but there are many more.
Subscribe to:
Posts (Atom)