+ Reply to Thread
Results 1 to 8 of 8

Thread: JavaScript:Tutorial, Printing a Webpage

  1. #1
    Join Date
    Aug 2006
    Posts
    11,209
    Blog Entries
    6
    Rep Power
    100

    JavaScript:Tutorial, Printing a Webpage

    Introduction:-
    This tutorial will show you how to print a Webpage its simple but useful. Be careful how you use this.. Don't bug the user with the printing dialog lol

    Solution:-
    Make this between the <html>:-
    Code:
    <A HREF="javascript:window.print()">Click Here To Print</A>
    Explanation:-
    Well I don't know how I can explain this, it's too simple

    A Preview:-
    Html Preview:-


    Printing Dialog:-


    Print Preview:-


    Conclusion:-
    As Always Feedback is welcome and the full source is attached!!
    Attached Files Attached Files

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    murthy_bsn is offline Newbie
    Join Date
    May 2008
    Posts
    1
    Rep Power
    0

    Re: JavaScript:Tutorial, Printing a Webpage

    I want code[/I]

  4. #3
    Join Date
    Mar 2008
    Location
    The North Pole
    Posts
    13,174
    Blog Entries
    13
    Rep Power
    114

    Re: JavaScript:Tutorial, Printing a Webpage

    You don't need to DOWNLOAD it! It's only 1 line long!

    Quote Originally Posted by Jordan View Post
    Good members, like yourself, stick around and post for ages to come!
    Mr. Xav | Blog | Forums

  5. #4
    Join Date
    Aug 2006
    Posts
    11,209
    Blog Entries
    6
    Rep Power
    100

    Re: JavaScript:Tutorial, Printing a Webpage

    He can't see code tags... if he doesn't at least make one post.

  6. #5
    Join Date
    Mar 2008
    Location
    The North Pole
    Posts
    13,174
    Blog Entries
    13
    Rep Power
    114

    Re: JavaScript:Tutorial, Printing a Webpage

    Really? I didn't know that. Of course, if he (or she) is blind, he/she can't see even after a post...

    Quote Originally Posted by Jordan View Post
    Good members, like yourself, stick around and post for ages to come!
    Mr. Xav | Blog | Forums

  7. #6
    Join Date
    Aug 2006
    Posts
    11,209
    Blog Entries
    6
    Rep Power
    100

    Re: JavaScript:Tutorial, Printing a Webpage

    Lol... If he is blind I doubt he will come here to see this printing JS code... lol

  8. #7
    Join Date
    Mar 2008
    Location
    The North Pole
    Posts
    13,174
    Blog Entries
    13
    Rep Power
    114

    Re: JavaScript:Tutorial, Printing a Webpage

    He could get one of those softwares that reads out pages for you. Except the way they read them out is monotonous and boring... just like me, he he.

    Quote Originally Posted by Jordan View Post
    Good members, like yourself, stick around and post for ages to come!
    Mr. Xav | Blog | Forums

  9. #8
    cryptokyle's Avatar
    cryptokyle is offline Newbie
    Join Date
    May 2009
    Location
    Singapore
    Posts
    11
    Rep Power
    0

    Re: JavaScript:Tutorial, Printing a Webpage

    simple tutorial but still good.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. JavaScript:Tutorial, Redirect URL
    By TcM in forum JavaScript Tutorials
    Replies: 5
    Last Post: 01-17-2011, 04:49 AM
  2. drawing on a webpage using javascript
    By ged25 in forum JavaScript and CSS
    Replies: 1
    Last Post: 10-23-2010, 11:27 PM
  3. Make a Javascript updated webpage
    By Astha in forum JavaScript and CSS
    Replies: 1
    Last Post: 08-16-2010, 12:48 PM
  4. How can I hide my source code from my webpage? html-javascript
    By codehelp in forum JavaScript and CSS
    Replies: 4
    Last Post: 07-26-2010, 07:54 AM
  5. JavaScript:Tutorial, Using Arrays
    By TcM in forum JavaScript Tutorials
    Replies: 25
    Last Post: 07-27-2009, 04:13 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts