Hi all,

I just created an issue on the GitHub repository 
(https://github.com/simile-widgets/exhibit/issues/167) but wasn't sure 
which way (here or there) would be better to get help - I suppose there are 
more *users* here? So I'm posting the same here. Apologies if you get this 
twice.

Please take a look at the following page (source code below): 
http://exhibit.camilstaps.nl/display-none.html.

I have my facets in a container with display:none; to show them on a later 
moment. When I click 'toggle facets', the facets are shown but are empty. 
Is that by design / how do I resolve this?

This is the relevant HTML. I'm using the data of the [senate 
example](http://www.simile-widgets.org/exhibit3/examples/senate/senate.html).

<div data-ex-role="collection" data-ex-item-types="Senator"></div>
<table>
    <tr>
        <td>
            <button id="toggle-facets">Toggle facets</button>
            <div id="facet-list" style="display:none;">
                <div data-ex-role="facet"
                     data-ex-expression=".party"></div>
                <div data-ex-role="facet"
                     data-ex-expression=".state"></div>
            </div>
        </td>
        <td>
            <div data-ex-role="viewPanel">
                <div data-ex-role="view"
                     data-ex-view-class="Tabular"
                     data-ex-columns=".label, .party, .state"
                     data-ex-columns="name, party, state"></div>
            </div>
        </td>
    </tr>
</table>

Thanks a lot!

Camil Staps

-- 
You received this message because you are subscribed to the Google Groups 
"SIMILE Widgets" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/simile-widgets.
For more options, visit https://groups.google.com/d/optout.

Reply via email to