blanchet wrote:
> Hello,
>
> Cool. Thank you for your reply. I have to precise
>
> (1) Yes I don't want the title of the tab to change when I clic on 
> "sorted by". The code source is still
> <title>Publications</title> but what appears in the tab title is 
> "Publication {group as sorted} - mozilla firefox".
>   
Add the following script after you include exhibit-api.js,

SimileAjax.History.formatHistoryEntryTitle = function(actionLabel) {
    return SimileAjax.History._plainDocumentTitle;
};

> (2) Unfortunately I don't have div.exhibit-views-header. I used the html 
> source here 
> http://simile.mit.edu/wiki/Exhibit/How_to_make_a_publications_exhibit
> and there is no div.exhibit-views-header too.
>   
Just add it yourself.

       <style>
           body {
               font-family: sans-serif;
           }
           div.publication { margin-bottom: 1em; padding: 1em; border: 1px 
solid #ccc; }
           div.author {}
           div.title { font-weight: bold; font-size: 120%; }


           div.exhibit-views-header {
              display: none;
           }
       </style>

It's just regular CSS stuff.

> (4) I someone could help me to locate the files I would be very pleased to 
> help to translate. I will have a look at the source code to try to understand 
> how it works 
> but I am a beginner.
>   
There are a few files here that you could start on:
    http://static.simile.mit.edu/exhibit/api-2.0/locales/en/scripts/
Thank you for helping us out!

David

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

Reply via email to