+ Reply to Thread
Results 1 to 8 of 8

Thread: JavaScript:Tutorial, Printing a Webpage

  1. #1
    TcM
    TcM is offline
    Code Warrior TcM is a name known to all TcM is a name known to all TcM is a name known to all TcM is a name known to all TcM is a name known to all TcM is a name known to all TcM's Avatar
    Join Date
    Aug 2006
    Posts
    11,461
    Blog Entries
    6

    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

  2. #2
    Newbie murthy_bsn is an unknown quantity at this point
    Join Date
    May 2008
    Posts
    1

    Re: JavaScript:Tutorial, Printing a Webpage

    I want code[/I]

  3. #3
    Xav
    Xav is offline
    Code Slinger Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav's Avatar
    Join Date
    Mar 2008
    Location
    The North Pole
    Posts
    13,210
    Blog Entries
    13

    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

  4. #4
    TcM
    TcM is offline
    Code Warrior TcM is a name known to all TcM is a name known to all TcM is a name known to all TcM is a name known to all TcM is a name known to all TcM is a name known to all TcM's Avatar
    Join Date
    Aug 2006
    Posts
    11,461
    Blog Entries
    6

    Re: JavaScript:Tutorial, Printing a Webpage

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

  5. #5
    Xav
    Xav is offline
    Code Slinger Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav's Avatar
    Join Date
    Mar 2008
    Location
    The North Pole
    Posts
    13,210
    Blog Entries
    13

    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

  6. #6
    TcM
    TcM is offline
    Code Warrior TcM is a name known to all TcM is a name known to all TcM is a name known to all TcM is a name known to all TcM is a name known to all TcM is a name known to all TcM's Avatar
    Join Date
    Aug 2006
    Posts
    11,461
    Blog Entries
    6

    Re: JavaScript:Tutorial, Printing a Webpage

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

  7. #7
    Xav
    Xav is offline
    Code Slinger Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav's Avatar
    Join Date
    Mar 2008
    Location
    The North Pole
    Posts
    13,210
    Blog Entries
    13

    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

  8. #8
    Newbie cryptokyle is an unknown quantity at this point cryptokyle's Avatar
    Join Date
    May 2009
    Location
    Singapore
    Posts
    11

    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, Display MsgBox
    By TcM in forum Javascript
    Replies: 16
    Last Post: 08-13-2009, 07:29 AM
  2. JavaScript:Tutorial, Digital Clock
    By TcM in forum Javascript
    Replies: 11
    Last Post: 06-05-2009, 01:30 AM
  3. Replies: 8
    Last Post: 12-14-2007, 01:06 PM
  4. Wanting to put a forum in my webpage
    By littlefranciscan in forum Website Design
    Replies: 11
    Last Post: 01-19-2007, 07:37 AM
  5. Printing
    By Chan in forum C# Programming
    Replies: 3
    Last Post: 09-01-2006, 11:59 AM

Bookmarks

Bookmarks

     
        Algorithms and Data Structures

        Java tutorials

        Algorithms Forum

Posting Permissions

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