David,

What I meant is that I have a list of items in tile or tabular format and I 
want to print just a certain element of that list and not the entire screen.

The direction I'm thinking of taking right now is providing a link (<a href>) within 
an element (<div>) which would set the element 'print' media style to visible and 
turn all the other elements off.

It seems to be complicated , can you suggest any other solution?

What I thought maybe possible to do is to have JS select just that one element 
and then invoke a standard JS to give the user the print prompt. Can you think 
of how to make JS display one one element from the list?

Ivan

Date: Sun, 16 Dec 2007 13:41:54 -0500
From: David Huynh <[EMAIL PROTECTED]>
Subject: Re: print functionality in Exhibit
To: General List <[email protected]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

I'm still not sure what you need. So, say, I browse to this exhibit

   http://simile.mit.edu/exhibit/examples/nobelists/nobelists.html

and do some filtering, such as selecting Chemistry in the Discipline facet. Then I invoke the Print command. That seems to print the view just fine.

Or you mean that in an exhibit you can specify some lens templates for screen viewing and some for printing? E.g.,

   <div ex:role="lens" ex:media="screen">...</div>
   <div ex:role="lens" ex:media="print">...</div>

That would be hard to implement... Using CSS 'print' media support is probably the best you can do.

David

Ivan Zhidov wrote:

> David,
>
> What I thought about is that a tile element should have some way of > presenting that tile contents to be printed. > I cannot find an easy way to do it. I started looking into CSS 'print' > media support so if you have an idea let me know.
>
> Ivan
>
begin:vcard
fn:Ivan Zhidov
n:Zhidov;Ivan
tel;work:+19414471199
version:2.1
end:vcard

_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general

Reply via email to