Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open item from a url on another page #71

Open
Exlore opened this issue Dec 19, 2018 · 2 comments
Open

Open item from a url on another page #71

Exlore opened this issue Dec 19, 2018 · 2 comments

Comments

@Exlore
Copy link

Exlore commented Dec 19, 2018

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
Copy link
Author

Exlore commented Dec 19, 2018

I am thinking along the lines of:

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

@Exlore
Copy link
Author

Exlore commented Dec 19, 2018

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant