what is problem?
$.fn.nyroModalManual({url: '?m=indicar&modo=ajax&tipo=cont', width: 350 , height: 300 });
$.fn.nyroModalManual({ajax: {url: '?m=indicar&modo=ajax&tipo=cont'}, width: 350 , height: 300 });
how to call manual with ajax?
with Thickbox i uses: tb_show('Comentar / Deixar um comentário','?m=comentar&modo=ajax&tipo=cont&width=350&height=');
Comment #1
Posted on Jun 23, 2008 by Swift PandaThe plugin wasn't develop to be sued this way. I'll implement to make working your first test with the url setting.
Comment #2
Posted on Jun 25, 2008 by Swift PandaThe version 1.2.8 allow to do that now. Basically, you can do it like that: $.nyroModalManual({ url: '?m=indicar&modo=ajax&tipo=cont', width: 350, height: 300 });
Comment #3
Posted on Jun 25, 2008 by Happy Monkeyvery good implementation work perfect
thank nyro congratulations for your iniciative!!
Comment #4
Posted on Sep 10, 2008 by Helpful RabbitCan I have the URL as a query string: example
$(function() { $('#manual').click(function(e) { e.preventDefault(); jsvar1 = addresscode; jsvar2 = citycode; jsvar3 = statecode; var loc = pin; objLatLong = loc; jarv10 = objLatLong.Latitude; jarv11 = objLatLong.Longitude; var url1 = "addtrap.aspx?add=" + jsvar1 + "&city=" + jsvar2 + "&state=" + jsvar3 + "&lat=" + jarv10 + "&lon=" + jarv11 + "&lvl=1"
$.nyroModalManual({
url: url1
});
return false;
});
});
Comment #5
Posted on Sep 11, 2008 by Swift PandaYour code should work, isn't it?
Comment #6
Posted on Oct 16, 2008 by Helpful RabbitYea.. I figured it out. There was something else that was wrong. How would I get the modal to appear in an iframe by using the above script?
Comment #7
Posted on Oct 16, 2008 by Swift PandaWe found a quick fix with the current version. The next release (coming soon) will solve this issue.
Status: Fixed
Labels:
Type-Defect
Priority-Medium