Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 08-05-2003, 03:46 AM   #1 (permalink)
Belisarius
Java fanboy
 
Belisarius's Avatar
 
Join Date: Aug 2003
Posts: 1,161
Belisarius is on a distinguished road
Print window

I want to print a table that is part of a larger webpage. The only way I can think of doing this is to create a new window with only the table, print the contents of that window, and close it. Only problem is that that window I create can't seem to get to a very small size, it's usually about 80x80 in size. Am I just not trying hard enough, or is there a trick to it? Or even better, is there a way to print just part of a page?
__________________
GitS
Belisarius is offline   Reply With Quote
Old 08-05-2003, 04:42 AM   #2 (permalink)
redhead
Newbie
 
redhead's Avatar
 
Join Date: Jun 2002
Location: Denmark
Posts: 1,713
redhead is on a distinguished road
Code:
<html>
  some html stuff
    <script language="JavaScript">
      document.writeln("what to put here");
    </script>
  some more html
</html>
__________________
Don't worry Ma'am, We're university students, We know what We're doing.
-----
If you pull the pin, Mr.Grenade would no longer be your friend.
-----
01000111 01101111 00100000 01000011 00100000 00100001
redhead is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
print vs. echo Epsilon PHP 3 09-14-2004 07:47 PM
OpenGL.dll Mr.Anderson Platform/API C++ 3 08-13-2004 10:07 AM
what language is this? sde All Other Coding Languages 10 05-25-2004 03:57 PM
i have a child window which i want to print at the same time hiding plz help deepanakr HTML, XML, Javascript, AJAX 0 05-10-2004 10:08 PM
Force Window Maximize? Miststlkr HTML, XML, Javascript, AJAX 1 12-20-2002 06:46 AM


All times are GMT -8. The time now is 06:44 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting