timeglider / jquery_widget

Timeglider's JS Widget component. See README for details.
193 stars 41 forks source link

show/hide filter always visible? #33

Closed deecsaunders closed 12 years ago

deecsaunders commented 12 years ago

Is it possible to have the show/hide filter feature show by default and not in a modal window?

timeglider commented 12 years ago

This isn't the type of thing that we'd build into the widget per se, as an option but you can achieve it with something like this. The timeout may not be necessary; it just makes sure that any other dynamically loaded templates are in the DOM.

setTimeout(function() { $(".timeglider-filter-bt").trigger("click"); }, 500);

On Wed, Jan 25, 2012 at 4:37 AM, David < reply@reply.github.com

wrote:

Is it possible to have the show/hide filter feature show by default and not in a modal window?


Reply to this email directly or view it on GitHub: https://github.com/timeglider/jquery_widget/issues/33

deecsaunders commented 12 years ago

Thanks very much, works exactly how I need.