Ivan,

Exhibit has a feature where you can cause a particular item to be shown 
when the page is loaded, e.g.,

    
http://simile.mit.edu/exhibit/examples/presidents/presidents-2.html#Abraham%20Lincoln

You can do this in a lens template:

    <div ex:role="lens"...>
       ...
       <span ex:role="control" ex:control="item-link"></span>
       ...
    </div>

That should generate a link for that particular item. And then you can 
use CSS to turn off everything except for the class 
"exhibit-focusDialog", e.g.

    <body>
       <div id="everything">
          ... all content goes here ...
       </div>
       <!-- a div.exhibit-focusDialog will be inserted here -->
    </body>

Let me know if that works.

David

Ivan Zhidov wrote:
> 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
>> >
> _______________________________________________
> General mailing list
> [email protected]
> http://simile.mit.edu/mailman/listinfo/general
>   

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

Reply via email to