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 169: Lack of contact
3 people starred this issue and may be notified of changes. Back to list
Status:  WontFix
Owner:  ----
Closed:  Feb 2009


 
Reported by moep...@gmail.com, Feb 16, 2009
Hello, i have no clue where to ask questions. I dont see a contact
possibility on the nyromodal page so i do it here.

I am trying to open a nyromodal though an click event of a hidden DOM
event. The manual gives as example <a href="#DOMOBJECT" class="nyromodal">
but what is its equivalent on a other tag like a input? 


Feb 16, 2009
Project Member #1 nyro...@gmail.com
here is the right place to ask a question.
I don't want to provide private support by email as it could be useful for somebody else.

Regarding your question (which I'm not sure to well understand), you have to create a
block element (usually a div) with the id="DOMOBJECT" and it should work.

If you need more information, please provide more information like your code or a link.
Feb 16, 2009
#2 Mamali.S...@gmail.com
If i understand you correctly you would like to call nyromodal when clicking an input
tag. in this case you can code something like:

$('#inputID').click(function(e){
e.preventDefault();
 $.nyroModalManual({
      bgColor: '#3333cc',
      other option etc.
    });

return false;
});

check out for Manual call for other options. 

Feb 17, 2009
#3 moep...@gmail.com
Yes i understand but to show a dom object, normaly with a link you use the HREF to
hide and show a dom object. In case of the input, where in the nyroModalManual do you
refer to the hidden DOM object?
Feb 17, 2009
Project Member #4 nyro...@gmail.com
You have to use the url setting:
$('#inputID').click(function(e){
e.preventDefault();
 $.nyroModalManual({
      bgColor: '#3333cc',
      url: '#DOMOBJECT',
      // other option etc.
    });
return false;
});

Feb 17, 2009
#5 moep...@gmail.com
aaaaah in the URL. Thank you very much it works now
Feb 25, 2009
#6 jit...@gmail.com
Hello,
I also have a question.. and got nowhere to ask it... (is there any forum for nyromodal?)

my question is - how can i cancel the loading/hiding animation?
I've read the entire documentation.. and I know that its possible (from the
documentation page: "If you want simply show the element without any animation, you
can simply do an show in the element and execute the callback")..
The explanation was not clear to me... could you please show a snippet of code that
shows how can it be accomplished?

I'd also like to thank the developer(s) of nyromodal for this great plugin!


Many thanks in advance!
Feb 25, 2009
Project Member #7 nyro...@gmail.com
THIS is the right place to ask questions about nyroModal.

If you want remove the loading animation and the hiding animation, here is what you
can do:
$.nyroModalSettings({
	showLoading: function(elts, settings, callback) {
		callback();
	},
	showContent: function(elts, settings, callback) {
		elts.contentWrapper
			.css({
				width: settings.width+'px',
				height: settings.height+'px',
				marginTop: settings.marginTop+'px',
				marginLeft: settings.marginLeft+'px'
			})
			.show();
			elts.loading.fadeOut(200, callback);
	},
	hideContent: function(elts, settings, callback) {
		elts.contentWrapper.hide();
		callback();
	}
});

I don't know if it's exactly what you want.

(Please next time create your own issue)
Status: WontFix
Feb 26, 2009
#8 jit...@gmail.com
Thank you! that's exactly what I needed!
And I'm sorry for not opening a new issue...
I commented to this thread, because its not a bug/feature request, just a request for
help...
Sorry for that!

Powered by Google Project Hosting