| Issue 172: | Wish - Modalbox unlikly Window behavior! | |
| 2 people starred this issue and may be notified of changes. | Back to list |
|
hello. i would love to configure nyroModal so that it is behaving like the CSS Overlay @ www.method.com that would be really cool! because if the Modal Window isn't flying above the Content / the Rest of the Page it would be more integrated into the Page Layout! thx. J
Feb 20, 2009
Project Member
#1
william....@gmail.com
Feb 20, 2009
i take that back. you cannot easily do that because the modal window can only exist in one location at once, see my attached file as an example. i still say that this would be a cool addition.
Feb 20, 2009
it is calling a function i added to try to remove the modal quicker. added to
jquery.nyroModal-1.4.2
// Remove the modal function completely
$.nyroModalEndRemove = function() {
if(modal.full){
modal.ready = false;
modal.anim = true;
modal.closing = true;
endRemove();
}
};
Feb 20, 2009
$('#block11,#block33').click(function(e) {
$.nyroModalEndRemove()
$.nyroModalManual({
blocker:'#blocker3',
content: 'hello, the page just loaded i am located left'
});
return false;
});
for code above
replace '$.nyroModalEndRemove'
with
jQuery.fx.off = true;
$.nyroModalRemove();
jQuery.fx.off = false;
and get same effect without needing that extra nyroModalEndRemove function i custom
created
|
||||||