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 269: Question because I can not use the modal...
2 people starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  Jul 2009


 
Reported by manuelgo...@gmail.com, Jun 23, 2009
Hi, I don't know why but I can't use nyro modal at my project.

I am working with PHP at netbeans, and testing things on Opera and FF. I
just have a simple page, where I include jquery, nyro-modal and this
javascript:

$(document).ready(function(){
    $('.edit-user').click(edit_user);
});

function edit_user(){
    $.nyroModalManual({content : "<p>TTTTTEEEEeeEESSSSSSSSTTT</p>", bgColor
: 'red'});
}

I'm not using any CSS, but I include nyro-modal.css. My problem is that
when I click at an input button, which has a calss attribute called
edit-user, the modal backgraound appears, but not the modal window content.
I mean, everything turns red, but no content appears. I have use this modal
at another project, but I defenitlly can't use it here.

Does somenoe ever have this problem..¿?¿ no content displayed....¿?¿?

Sory for my question, but I tried to read and try many ways, but I really
couldn't make it works. 

Just in case it helps, I paste modal debug which appears when enable debug
option at nyroModal.js. Here is it:

showContentOrLoading
endBackground
calculateSize
wrapContent
fillContent
showContentOrLoading
endBackground
initModal
showModal

Thanks very much!
Jun 24, 2009
Project Member #1 nyro...@gmail.com
Is it still break when you're stopping the event like that:
function edit_user(e){
    e.preventDefault();
    $.nyroModalManual({
        content : "<p>TTTTTEEEEeeEESSSSSSSSTTT</p>",
        bgColor: 'red'
    });
}

Jun 24, 2009
#2 manuelgo...@gmail.com
Thanks! I tried this but it didn't fix my problem...

I attach an screen view of my problem...
nyro-modal.png
112 KB   View   Download
Jul 9, 2009
Project Member #3 nyro...@gmail.com
could you try by replacing red with his hexadecimal equivalent (#ff0000) please.
Is it possible to send me a link where I can see this page? Maybe there is something
else wrong on it...
Jul 9, 2009
#4 manuelgo...@gmail.com
I appreciate your time, thanks.

I uploaded a testing project... here is its url: http://
prueba.bazarebama.pablo.com.uy/nyro-test/

Thanks again!
Jul 10, 2009
Project Member #5 nyro...@gmail.com
You have to upgrade jquery to the last version 1.3.2.
Right now you're using the version 1.2.3
Jul 10, 2009
#6 manuelgo...@gmail.com
Sory, but, as you cuold see, I am much new to Javascript, PHP, JQuery and all 
those... 

THANKS very much because that was exactly my problem!

Manuel
Jul 11, 2009
Project Member #7 nyro...@gmail.com
That's fine, Hope you'll have a great experience with nyroModal ;)
Status: Fixed

Powered by Google Project Hosting