My favorites | Sign in
Project Home Downloads Issues
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 314: Problem creating transitions between a modal and a new modal from this
2 people starred this issue and may be notified of changes. Back to list
Status:  WontFix
Owner:  ----
Closed:  Nov 2009


 
Reported by rada...@gmail.com, Aug 19, 2009
Hi,

First of all, thank you for the amazing plug-in you have created! It's just
what I was looking for!

The question is that I'm trying to create a photo slide show, but I can't
use the photo slide you provide, but one customized.

I choose nyroModalManual function to launch the modal (first time); and the
same function to reload the modal with a new image. This is an example of
code that I've used to catch the click of an anchor, request an ajax and
launch the modal:

$('.nyroManual').click(function(e) {
	var target = $(this).parent().parent();
	var params = {album: getId($(target).attr('id'))};

	$.ajax({url:"ajax_url",
		data: params,
		success: function(data){

			$.nyroModalManual({
				content: data,
				modal: true
			});
			slidesPageBinding();
		}
	});

	e.preventDefault();
});

The thing is that it works (not at all in IE; the width of the modal
increases in each image reload until reach all window width), but I don't
know how to add an animation between loads, and how to fix IE width problem.

Thanks in advance!
Aug 22, 2009
Project Member #1 nyro...@gmail.com
in your case, I don't think using nyroModalManual call every time is a great idea.

I think you should do it this way:
1) Use nyroModal (or nyroModalManual) to open a modal showing the image clicked
trhough a normal HTML page.

2) In the page loaded, you will add all your scripts needed for your slideShow.
That's mean:
- Add rel="forceLoad" to all external scripts
- Add rev="shown" to all scripts that should be executed only once the content is
shown (maybe you won't need this one)

And then, your content should work great.

If you need more help, please provide a page where I can see the slideshow you want use.

Aug 24, 2009
#2 rada...@gmail.com
Thank you very much for your response!

I try what you tell me, but I think that I'm having almost the same result than
before... :-(

I have made the following changes:

1. I leave the first call as it is; the nyroModalManual.
2. I change the links of the pagination (<< prev   1, 2, 3, ... next >>) adding:
    2.1. A tag rel="forceLoad", 
    2.2. the class "nyroModal" and 
    2.3. the href that corresponds to the related photo of the photo slide.

I try with this changes, and:
a) I found a problem of resizing (the modal appear smaller than its content).
b) Pagination numbers appear on the upper left corner of the modal, but its numbers
never change, and doesn't match with the gallery it's been showing
c) I still having an unanimated transition between loads

I'll be very glad of providing you the URL of the site I'm working on, but I'll
prefer sending you via personal mail, because the web is under development and needs
user and password. Do you mind if I send you this data to your personal mail?

Thank you very much for your help!!!
Sep 11, 2009
Project Member #3 nyro...@gmail.com
sorry for the delay.
If you still need help, of course you can contact me by email, you'll find it here:
http://nyrodev.com/en/contact.html
Oct 13, 2009
Project Member #4 nyro...@gmail.com
Did you finally figure out how to solve your problem?
Nov 8, 2009
Project Member #5 nyro...@gmail.com
(No comment was entered for this change.)
Status: WontFix

Powered by Google Project Hosting