codrops / ThumbnailGridExpandingPreview

A tutorial on how to create a thumbnail grid with an expanding image preview similar to the effect seen on Google Images.
360 stars 143 forks source link

Disable Link to Website in expandable screen #12

Open MrCarrera opened 10 years ago

MrCarrera commented 10 years ago

Hi I cant figure out the work around to disable (hide) the link "visit page". In the HTML is not string as such, but its included in the js file grid.js. This means that all the expandable (preview) screens have the same text. How do you customize it or even disable the link for some of the thumbs?

AWelshCorgi commented 9 years ago

I made a pull request that adds an option to disable that here:

https://github.com/codrops/ThumbnailGridExpandingPreview/pull/13

StabbyCutyou commented 9 years ago

Looks like it got merged! You can now disable the box.