Results 1 to 2 of 2

Thread: Printing only an image, not the rest of the page

  1. #1
    Join Date
    Aug 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Printing only an image, not the rest of the page

    Hi,


    I want to print the map image only i am using javascript i should display only that map when i click on the print image.

    window.print()

    but it's printing full page,

    plz any one can help me.

    this is link www.reefvilla.com/new/map.html

    in this page print but is there.
    Last edited by Twey; 08-20-2008 at 10:27 AM. Reason: Fix two-letter title.

  2. #2
    Join Date
    Sep 2005
    Location
    India
    Posts
    1,627
    Thanks
    6
    Thanked 107 Times in 107 Posts

    Default

    open a popup insert the required image's markup into that window along with the JS code for printing and closing that window.

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
  •