Issue 323: I want to call manually a gallery
Status:  Fixed
Owner: ----
Closed:  Sep 2009
Reported by megato...@gmail.com, Aug 30, 2009
What steps will reproduce the problem?
1. I have about 40 thumbs with links to fullsize pic
2.
3.

What is the expected output? What do you see instead?
I want to call the gallery manually by a link

$.nyroModalManual({type: 'gallery', gallery: 'fotos_start'});
works quite fine, but first call show the index home page in modal, click 
on next starts the correct gallery...


Aug 31, 2009
Project Member #1 nyro...@gmail.com
I thing the solution would be to manually trigger the click event. To do so:
1) add nyroModal class to all your thumb link
2) Your code to start the gallery will be:
  $('#myFirstImage').click();

Please let me know if it's work.
Aug 31, 2009
#2 megato...@gmail.com
sorry i didnt mention that the thumbs should NOT opens in a modal but only have the 
rel="gal", so a click on a thumb will open a different site, and click on a 
link "show" should start the gallery...
is that possible?
Sep 1, 2009
#3 megato...@gmail.com
Ah ok i finally got it.
I made additionally hidden links with nyromodal class and then call:

$("#start_show").click(function() {$('#start_1').click();});

start_show is the id of the clickable link, and start_1 the id of the first image of 
the gallery.

THX!
Sep 1, 2009
Project Member #4 nyro...@gmail.com
great, thanks for sharing!
Don't hesitate to send a link once it's live ;)
Status: Fixed