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 179: Website CSS & nyromadal
2 people starred this issue and may be notified of changes. Back to list
Status:  WontFix
Owner:  ----
Closed:  Jul 2009


 
Reported by lberti...@gmail.com, Feb 26, 2009
Hi,

I've just started to use nyromodal and i like it. However i dont understand
something :

I have a simple link which opens a nyromodal but it doesnt use my website
CSS so it's a bit ugly, how to i force nyromodal to use the whole website
CSS for the modal it opens ?

Exemple :

I have a <div class="toto"></div> which displays perfectly on my website,
but which doesnt look the same within a nyromodal.

Thanks
Feb 27, 2009
Project Member #1 nyro...@gmail.com
Could you check if your not opening it in an iframe?

Then, could you send a link where I can see it please?
Mar 2, 2009
#2 lberti...@gmail.com
I do not use an iframe call, i use the default manual call, with a url as a parameter.

I'll try to get you a screen of the result.

Thanks
Mar 2, 2009
Project Member #3 nyro...@gmail.com
A screenshot won't reallt help me, I understood what's going on.
The code or the URL will really help instead.
Labels: a
Mar 2, 2009
#4 lberti...@gmail.com
$('#my_link').click(function(e) {
    $.nyroModalManual({
      url: 'my_link.html'
    });
    return false;
  });

Does that help ?

I tried something i've read on your blog too (the google example) but it didnt work
either.
Mar 2, 2009
#5 lberti...@gmail.com
Hmm i realize i dont use the e.preventDefault(); as in the examples...does it come
from here?
Mar 2, 2009
Project Member #6 nyro...@gmail.com
I don't think so as you use return false;

Could you check with Firebug if you content isn't loaded in an iframe?
Could you also try to add the following setting:
forcetype: 'ajax'
Labels: -a
May 14, 2009
Project Member #7 nyro...@gmail.com
any news about this issue?
Jul 9, 2009
Project Member #8 nyro...@gmail.com
(No comment was entered for this change.)
Status: WontFix

Powered by Google Project Hosting