I am now have this jQuery code and it is working in FireFox, Safari
and Opera but not in IE 6, 7:

$(document).ready(function(){
        $("#link").click(function(){
            if ($("#divLoginBox1").is(':hidden'))
                $("#divLoginBox1").show();
            else{
                $("#divLoginBox1").hide();
            }
            return false;
        })

        $('#divLoginBox1').click(function(e) {
            e.stopPropagation();
        });
        $(document).click(function() {
            $('#divLoginBox1').hide();
        });
});

On May 2, 6:00 pm, sawmac <[EMAIL PROTECTED]> wrote:
> try this
>
> $('#divLoginBox1').click(function(e) {
>  e.stopPropagation();});
>
> $(document).click(function() {
>  $('#divLoginBox1').hide();
>
> });
>
> --dave

Reply via email to