Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I Print a hidden Picture

Status
Not open for further replies.

glenvern

Programmer
Apr 20, 2002
5
GB
I would like to know how I can print a hidden "map.jpg"
with just a "Click here for a map" in a page of text..
 
maybe
onClick="picturelocation.print()"
?? really not sure about this...
someone knowledge ends where
someone else knowledge starts
 
what is a "hidden" pictures ? someone knowledge ends where
someone else knowledge starts
 
Hidden picture - a street map - it wont be seen on screen it just sits on the host server waiting to be printed out to anybody that wants it.

I'll try the onClick and see if it works thanx
 
just open a new window with the map?
onClick="javascript:eek:penthemap"

function openthemap {
var u = window.open();
u.document.open();
u.document.write('<html><body background=&quot;map.jpg&quot;></body></html>');
u.document.print
}

or something like this someone knowledge ends where
someone else knowledge starts
 
u.document.print
supose to be
u.document.print();
what heppened dont ask me someone knowledge ends where
someone else knowledge starts
 
wullie idea is better someone knowledge ends where
someone else knowledge starts
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top