Hi Jim, I think you got the picture now.
On 24 okt, 18:44, lbjvg <[email protected]> wrote: > Michiel - You are a genius, thank you. I am pretty sure I can take > it > from here and finish my project. > > Would you mind elaborating on how that works? I have looked at a lot > of examples and read as much documentation as I can find but I still > don't clearly understand some things. I'd like to ask some specific > questions to clear away some of the fog: > > First - how do I reference the underlined text (in the Disease Name > column) from the Style section to format it (bold, color, font, font- > size etc.)? for example: a.exhibit-item {font-size:larger; font-weight: bold;} > > Which part of the code specifically triggers the bubble? My guess is > the ex:columns="value" is the key statement. "value" must be a > reference to each json Item as a whole? > That is correct, the "value" indicates that the whole json item should go in that column and by setting the format to just "item", the default way to display a json item is used, which is to print the ".label". Because an json item is displayed in the column, Exhibit automatically makes it into a link that opens the default lens. > ex:columnFormats="item" - is a format expression - I assume meaning > formatting for the table, not for the bubble. In which case the term > "item" is responsible for yielding the table entry identified by the > "label" field in the json table? > columnFormats indeed formats the table columns. As stated above "item" by itself uses the default display format for json items, so it is equivalent to:" item {title:expression(.label)}". > and one more quick question: What is the difference in meaning > between ex:role="exhibit-view" and ex:role="view" > There is no difference. > Thanks so much for your comments. - Jim Michiel --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
