(If you have been using Exhibit, you might have to hold down Shift when 
clicking your browser's Refresh button to make sure you get the latest 
Exhibit code.)

-------------------- New Features --------------------

[[[ 1 ]]]
"(missing this field)" in a facets lets you filter down to items that 
are missing data for that facet. For example, in this exhibit

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

clicking on "(missing this field)" in the Sponsoring facet yields 90 
senators who don't sponsor any bill, and then clicking on "(missing this 
field)" in the On Bill Committee facet yields 11 senators (among those 
90) who ain't on any bill committee. This feature is useful for 
detecting missing data, or possibly under-performing senators.

[[[ 2 ]]]
ex:query attribute in a text search facet presets the query for that 
facet (much like ex:selection for list facets).

[[[ 3 ]]]
ex:colorCoder in a list facet links that facet to the given color coder. 
For an example, see the Political Parties facet of this exhibit

    http://simile.mit.edu/exhibit/examples/presidents/presidents-2.html

[[[ 4 ]]]
ex:onshow attribute in a lens template gets executed when the lens is 
used to render an item. For example,

    <div ex:role="lens" ex:onshow="this.style.background = 
'blue';">...</div>

causes the lens to always be blue. (Of course you could have just used 
style="background: blue".) Use this.getAttribute('ex:itemID') to get the 
ID of the item. An elaborate example would include a lens template like this

    <div ex:role="lens" ex:onshow="prepareLens(this);">
       ...
       <div ex:id-subcontent="tab1-{{value}}">...</div>
       <div ex:id-subcontent="tab2-{{value}}">...</div>
       ...
    </div>

together with some Javascript like this

    function prepareLens(elmt) {
       var itemID = elmt.getAttribute("ex:itemID");
       var tab1 = document.getElementById("tab1-" + itemID);
       var tab2 = document.getElementById("tab2-" + itemID);
       ...
    }

-------------------- Old Features resurrected from v1.0 --------------------

[[[ 1 ]]] Generated HTML exporter on Tile, Thumbnail, and Tabular views.

[[[ 2 ]]] Putting an item's ID as the hash of the URL to an exhibit 
would bring up a dialog box showing that item when the exhibit loads. E.g.,

    
http://people.csail.mit.edu/dfhuynh/publications.html#SIMILE:%20Rich%20Internet%20Collections

[[[ 3 ]]] <body ex:exporters="Bibtex"> adds the bibtex exporter to the 
export dropdown menu.


Please let me know if you find any bug. Thanks!

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

Reply via email to