[jQuery] nyroModal dynamic href question

[jQuery] nyroModal dynamic href question


I use nyroModal and is very nice and really easy for basic use. What I would
like to do is for each link I have to get the href, width, and high from
database and apply to the setting of the link. Let’s say I have the
following html code
”#” blablala
I tried something like
$('a.nyro').click(function(e){
e.preventDefault();
CallWebServicetoGetJsonObject($(this).attr('id'),
function(obj)
{
alert('h : ' + obj.H + 'W : ' + obj.W + 'Href : ' +
obj.URL); <-- OK i get the correct values
$.fn.nyroModalManual({height:obj.H,width:obj.W,href:
adio.URL})

}
);
});
but i don't get any modal form. Of course it works great if i add the heref
to the tag. any help would be greatly appreciated.
--
View this message in context: http://www.nabble.com/nyroModal-dynamic-href-question-tp17808281s27240p17808281.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.