Thank you Michiel. The info on concat helps.
Yes, that's exactly what I need, two lenses. As you can see, I'm creating a
div{display:none} inside one of the table cells, then displaying that div at
the cursor location when clicked.
After reading your suggestion, are you saying I can create a custom lens and
simply change the display properties as I do now? For some reason, I
hadn't thought lenses were populated in the tabular view. I'll give it a
try. Thanks.
- John
**************************************************
John Callahan, Geographic Information Scientist
Delaware Geological Survey, University of Delaware
URL: http://www.dgs.udel.edu
**************************************************
On Fri, Apr 2, 2010 at 5:20 AM, Michiel <[email protected]> wrote:
> Hi John,
>
> Yes you are right, read the comment with the concat function:
> "Note: arguments expanding to multiple items get concatenated in
> random order"
> So that happens before it is send of to the formatter (that is the
> thing that adds the comma's and "and").
>
> It looks as if you need two lenses, a complete one for the map view
> and a simple one for the tabular view. Can't you change the stylesheet
> if a user changes view, setting display:none for elements of a certain
> class?
>
> Michiel
>
> On Apr 1, 2:57 pm, John Callahan <[email protected]> wrote:
> > Hi everyone,
> >
> > I put together a quick Exhibit of weather observing stations. It's
> rather
> > basic but serves its purpose well.
> >
> > In the tabular view, one of the items is not being separated by the
> typical
> > comma or the pair-separator "and." Actually, that field is being
> generated
> > using a concat function, such as
> >
> > concat(.statype, '<div class=\'statinfo\' id=\'',.id2,'\'><b>Name</b>:
> > ',.label,'<br><b>Variables</b>: ',.variables,'</div>')
> >
> > Development example:
> http://dev.dgs.udel.edu/sites/data/observing-stations.html (that div gets
> > displayed when you click on the plus sign at the start of each line.)
> >
> > The item called "variables" has numerous terms. Does the list separators
> > not work inside a concat function? Thanks.
> >
> > - John
> >
> > **************************************************
> > John Callahan, Geographic Information Scientist
> > Delaware Geological Survey, University of Delaware
> > URL:http://www.dgs.udel.edu
> > **************************************************
>
> --
> 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]<simile-widgets%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/simile-widgets?hl=en.
>
>
--
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.