orion3dgames / gridder

A jQuery plugin that displays a thumbnail grid expanding preview similar to the effect seen on Google Images.
http://orion3dgames.github.io/gridder/
461 stars 130 forks source link

Open item from a url on another page #71

Open Exlore opened 5 years ago

Exlore commented 5 years ago

I am trying to open one of the gridder items via a URL. So say URL is on homepage and the gridder gallery is on an internal page. How would I go about this?

Thanks

Exlore commented 5 years ago

I am thinking along the lines of:

var url = "http://url.com/page?showPanel14"; $('#content14').trigger('click');

Exlore commented 5 years ago

$(document).ready(function(){ var url = "http://url.com/page?showPanel"; $('.divname img')[0].click(); });

link: href="http://url.com/page?showPanel" Works for me.