Issue 33: Not work Calling Manual Ajax
Status:  Fixed
Owner: ----
Closed:  Jun 2008
Reported by frankd...@gmail.com, Jun 23, 2008
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=');
Jun 23, 2008
Project Member #1 nyro...@gmail.com
The plugin wasn't develop to be sued this way.
I'll implement to make working your first test with the url setting.
Status: Accepted
Jun 24, 2008
Project Member #2 nyro...@gmail.com
The 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
});

Status: Fixed
Jun 25, 2008
#3 frankd...@gmail.com
very good implementation
work perfect

thank nyro
congratulations for your iniciative!!

Sep 10, 2008
#4 njection@gmail.com
Can 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;
    });
});

Sep 11, 2008
Project Member #5 nyro...@gmail.com
Your code should work, isn't it?
Oct 16, 2008
#6 njection@gmail.com
Yea.. 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?
Oct 16, 2008
Project Member #7 nyro...@gmail.com
We found a quick fix with the current version.
The next release (coming soon) will solve this issue.