Yee-Ting Li wrote:
> I've updated our exhibit site to version 2, everything seems fine
> though the update process. i would like to ask if the following is
> possible:
>
> 1) the table on the exhibit-view has fixed properties on the
> cellpadding etc. as a result i cannot override these on the css :(
>
You're right. This is not possible right now. I'll add some CSS classes
to it.
> 2) is there a way i can get alternate row colouring on the tables? ie
> odd row = white background, even rows = yellow background?
>
Yes, but you need a little bit of Javascript right now. See this example:
http://simile.mit.edu/exhibit/examples/senate/senate.html
Look for ex:rowStyler.
> 3) is there a facility to customise the sorting order of columns yet?
>
I'm not sure exactly what you mean... Could you elaborate?
> 4) is it possible to customise the sorting order of the facets? (or
> at least get numbers to sort numerically rather than alphanumerically)
>
In your data file, if you specify the value type of the property
corresponding to your facet, e.g.,
{
items: [
...
],
properties: {
"age" : {
valueType: "number"
}
}
}
Then your facet values should be sorted by that type. For fixed orders
(say, week days "Mon", "Tue",...), you can use ex:fixedOrder as
documented here:
http://simile.mit.edu/wiki/Exhibit/2.0/List_Facet
> 5) are multiple lens views supported yet?
>
Could you remind me again what multiple lens views mean?
Cheers,
David
_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general