John Callahan wrote: > Thank you very much for this addition. I will definitely be using this > feature. > Thanks for trying it out!
> I just tried it out on the latest versions of Chrome 2, IE 7, FF 3. > Worked great on the Tabular view but no luck on the Tile or Thumbnail > views. Maybe I'm doing something wrong but it seems very > straightforward. No significant messages in Firebug. Here is the > Exhibit I'm using (site is in VERY early stages of development): > > http://dev.dgs.udel.edu/publications > It's a small bug... should be fixed now. > Some quick thoughts: > > 1. Could the location of the pager be an option? Something like > ex:pageLocation: "top", "bottom", "topbottom" (My preference would be > bottom as there's already so much going on at the top.) > Done! It's ex:pagingControlLocations. See it's used here (need shift-reload to get the latest code) http://trunk.simile-widgets.org/exhibit/examples/nobelists/nobelists.html > 2. Just a possible suggestion but you could use HTML list elements (ul, > li) and style them to look the same as now. This usually offers more > flexibility when altering the style. (not sure how you would add that > style and allow it to be overridden by local css files???) > Is that possible? I'm afraid that the bullets can't be inserted only between the page numbers. If using a bulleted list, then there would also be a bullet in front of page 1. Furthermore, I'm not sure how to support "..." using a bulleted list. > 3. Could you add a title (and alt) attribute to the page anchors to say > something like "Page 2" or "Go to Page 2". This would be for mouse > tooltips and screen readers. > Done. Localized as a function at the bottom of http://trunk.simile-widgets.org/exhibit/api/locales/en/scripts/ui/views/ordered-view-frame-l10n.js http://trunk.simile-widgets.org/exhibit/api/locales/en/scripts/ui/views/tabular-view-l10n.js > 4. Could you add an ID to the span tags surrounding the dots in between > the page numbers? When styling (such as inside an existing site), I > may want to remove them completely or use my own images, can be done > using getElementById(#spanid).innerHTML = ... I like how the selected > page has it's own unique class so that can be styled separately. > Those are actually localized here http://trunk.simile-widgets.org/exhibit/api/locales/en/scripts/ui/views/ordered-view-frame-l10n.js http://trunk.simile-widgets.org/exhibit/api/locales/en/scripts/ui/views/tabular-view-l10n.js Those strings can be html snippets, so you can put images, too. > 5. I noticed that the pager goes away if only one page is present. > Could the pager not disappear? Even if it simply stated "1" or maybe > have the some text grayed out saying something like "1 page in > results"... I'm not sure. From a user perspective, if the number of > results is very close to the same number as items/page, it can be > confusing. From a web design perspective, it's be nice is that area of > the page didn't move. > Done: ex:alwaysShowPagingControls="true", also used at http://trunk.simile-widgets.org/exhibit/examples/nobelists/nobelists.html > 6. Will this replace (and make obsolete) the showAll and > abbreviatedCount parameters in the Thumbnail view? If not, which would > take precedence? > If ex:paginate="true" then this takes precedence. > 7. Would having the pager turned on (say for 20 items per page) improve > performance for Exhibits with several hundred records? It would save > time in writing to the browser but that's not very much. Just curious... > It should certainly reduce the rendering time, but the time to load the data initially and the time to sort the items are still the same. David --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en -~----------~----~----~----~------~----~------~--~---
