codrops/ThumbnailGridExpandingPreview

open preview through code

Opened this issue · 2 comments

Budsy commented

I have the grid working beautifully, but I'd like to be able to open a particular preview in code rather than through the usual user-click on the thumb. I can't seem to hit on the right method that works. Invoking a js click event on an anchor in the grid does not work, and I can't seem to find a method on Grid that is exposed to do this. Anybody know what I am missing?

Not sure, but worth looking at line 344 in grid.js file

@Budsy

Did you manage to sort how to do it? I'd also like to load my page with one preview open.

Thanks!