google-code-export / nyromodal

Automatically exported from code.google.com/p/nyromodal
1 stars 1 forks source link

Trying to load a modal from within an iframe while passing the url as a parameter #544

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I need a little help in how to manually launch a nyromodal window, at present I 
keep getting an error message saying "Object doesn't support this property or 
method"

My code is:

    function LaunchModal(loadurl){
      $.nyroModalManual({
        url: loadurl
      });
    }

This is called from within an iframe with:

     parent.LaunchModal('product-popup.php?id=1123')

What I'm trying to do is pass the url to load from within the iframe 

Original issue reported on code.google.com by tamlite...@gmail.com on 5 Nov 2010 at 3:29