| Issue 269: | Question because I can not use the modal... | |
| 2 people starred this issue and may be notified of changes. | Back to list |
|
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
Thanks! I tried this but it didn't fix my problem... I attach an screen view of my problem...
Jul 9, 2009
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
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
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
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
That's fine, Hope you'll have a great experience with nyroModal ;)
Status:
Fixed
|
||||||||
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' }); }