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 477: Manual load ajax content from url, but not in an iframe
2 people starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


 
Reported by dekker.p...@gmail.com, May 15, 2010
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?
I use the manual nyromodal function call, but it always load in an iframe
instead of just a 'normal' div wrapper. I tried putting the option "type:
'ajax'", but it didn't work

What version of the product are you using? On what operating system?
1.6.2 on Vista, Firefox

Please provide any additional information below.


May 25, 2010
Project Member #1 nyro...@gmail.com
Is your url setting starting with http?
If so, nyroModal is designed to work this way.
Instead of the type setting, you can try using the forceType setting.

BTW, if you still have some trouble, you could post some of your code to get more help?
Oct 26, 2010
#2 daniel.f...@gmail.com
I have the same exact problem. My link is dynamic and starts with http. Below is my HTML and code

<a id="ftcontactus" href="#">contact us</a>

<script type="text/javascript">
    $("#ftcontactus").click(function(e) {
        e.preventDefault();

        $.nyroModalManual({
            url: '<?php echo site_url('contactus') ?>',
            modal: true,
            type: 'form',
            forceType: 'form'
        });

I try different combination of type and forceType and sometimes the page just goes black or display the message below:

The requested content cannot be loaded.
Please try again later.
Close

Hope you can help


Powered by Google Project Hosting