bradley.lee Posted November 3, 2005 Share Posted November 3, 2005 I am wanting to have a print button on a page so that only a certain section is printed, and not the information on how to use the page. I am figuruing more than likly it would have to be Javascript. but if anyone can helpTA Link to comment Share on other sites More sharing options...
scott100 Posted November 3, 2005 Share Posted November 3, 2005 Hey, i think i said to you the other day, you use css you can do this.You can set it up so that the information display is set to none and wont be printed. Link to comment Share on other sites More sharing options...
bradley.lee Posted November 3, 2005 Author Share Posted November 3, 2005 Hey, i think i said to you the other day, you use css you can do this.You can set it up so that the information display is set to none and wont be printed.<{POST_SNAPBACK}> Yeah you did help me on another matter, regarding the on screen size of the 'input' fields, and another similar to this. Found what you where reffering to, 'span.noprint {display:none;}'Thanks again. You've helped alot, the site looks alot better now.Do you know the print function as a button on the page though, as it's frames, I don't want people to accidently print 'as laid out on screen' Link to comment Share on other sites More sharing options...
scott100 Posted November 4, 2005 Share Posted November 4, 2005 yes, try this, just add it to the page within the frame you want to print.<input type="button" value="print this frame" onClick="java script:window.print()" /> Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now