Skip to content

visibility hidden/visble on start/end #520

@ShionNoAries

Description

@ShionNoAries

Got a problem on my page when lightbox disappears. Some of my invisibles elements was visible against my will.
Visibly on start, the lightbox do that :
$('select, object, embed').css({ visibility: 'hidden' });
and on end :
$('select, object, embed').css({ visibility: 'visible' });
Regardless if elements was visible before the lightbox appears.

Somethings like that can i think resolve this i think :
this.hidenedElements = $('select, object, embed').filter(function() { return !($(this).css('visibility') == 'hidden' || $(this).css('display') == 'none'); });

And use this globale variable to hide and show elements.
I start to use jquery today, so i'm not totally sure about what i wrote.

Sorry about my english and thanks for reading me.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions