View Full Version : print text content only
canudo
03-25-2003, 03:02 PM
hello,
How can i send a print command without printing the hole page...?
My wish is to print text only and name the printed page...
I used " javascript: window.print() " but this opens the dialogue box of IE or NS...
What can i do?
Thanks
CaNuDo:D
Quiet Storm
03-25-2003, 03:47 PM
On two of my sites, I've text contents inside an iFrame...
I just have the JS print the iFrame contents, nothing else.
canudo
03-25-2003, 04:57 PM
what????:confused:
brothercake
03-25-2003, 05:20 PM
Unless I''m very much mistaken, you cannot excercise any control over which frame is printed, or intercept print requests in any way.
What you can do is use print-media CSS to define which parts of your page are displayed for print, and which are not.
canudo
03-25-2003, 07:28 PM
My very nice, very good replying friends i must apologize because i haven't descrived myself correctly....
I am not using frames, i have a web page, *.html;
In it i have the structure and a tag, <Div>!
In it i have what i want to print and that is what i canīt do!!
;)
Frames wouldn't be a problem, still i'm a newbie in Dreamweaver, used to work with Golive and use both now....
Javascript isn't my strong so i ask for help..
Thanks for the patience,
See y'all tomorrow
CaNuDo:D
Spookster
03-25-2003, 08:04 PM
Originally posted by canudo
My very nice, very good replying friends i must apologize because i haven't descrived myself correctly....
I am not using frames, i have a web page, *.html;
In it i have the structure and a tag, <Div>!
In it i have what i want to print and that is what i canīt do!!
;)
Frames wouldn't be a problem, still i'm a newbie in Dreamweaver, used to work with Golive and use both now....
Javascript isn't my strong so i ask for help..
Thanks for the patience,
See y'all tomorrow
CaNuDo:D
In addition to what brothertwinkie said check out this article:
http://www.greytower.net/en/archive/articles/cssmedia.html
canudo
03-26-2003, 02:33 PM
thanks....
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.