PDA

View Full Version : Printing only an image, not the rest of the page



venu_1200
08-20-2008, 09:36 AM
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.

codeexploiter
08-20-2008, 09:52 AM
open a popup insert the required image's markup into that window along with the JS code for printing and closing that window.