Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't get the facybox to close in IE #8

Closed
Terratuner opened this issue Sep 2, 2011 · 3 comments
Closed

Can't get the facybox to close in IE #8

Terratuner opened this issue Sep 2, 2011 · 3 comments

Comments

@Terratuner
Copy link

Hi,

I'm not so good with jquery, but I'm having trouble with closing the facybox in IE. (Have tested it in IE6 -> 9)

I use this function:
$('a[rel=closefacybox]').click(function(){
$(this).trigger('close.facybox');
});
The manual close function (or whatever the correct term is) works fine in Firefox and Chrome. Someone else out there experienced the same?

@Terratuner Terratuner reopened this Sep 2, 2011
@bitbonsai
Copy link
Owner

You can just call like this:

$('a[rel=closefacybox]').click(function(){
    $.facybox.close()
});

@Terratuner
Copy link
Author

Strange... It still won't close.. I also tried to use a more direct selector, like so:
$('a#closefacybox[rel=closefacybox]').click(function(){
$.facybox.close();
});
But still doesn't work in any IE version.

Does it work if you test it?

Apprechiate your help!:-)

@bitbonsai
Copy link
Owner

Can you give me the URL, so I can test that out with IE's developer toolbar?

Mauricio Wolff
: m@bitbonsai.com (mailto:m@bitbonsai.com)
: http://bitbonsai.com
: http://twitter.com/bitbonsai

On segunda-feira, 5 de setembro de 2011 at 08:15, Terratuner wrote:

Strange... It still won't close.. I also tried to use a more direct selector, like so:
$('a#closefacybox[rel=closefacybox]').click(function(){
$.facybox.close();
});
But still doesn't work in any IE version.

Does it work if you test it?

Apprechiate your help!:-)

Reply to this email directly or view it on GitHub:
#8 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants