Jquery .mask effect

Posted on 2011-04-26
Last Modified: 2012-05-11

I am using the .mask effect to make the screen turn black.
How can i hide/show an element when a link is clicked and ensure it is in front of the mask?

I want to recreate the lightbox effect

Question by:coolispaul
    LVL 5

    Expert Comment

    U can do it by changing z index of popup element....

    Author Comment

    ah i found a method that works better called expose()

    the only problem i have now is being able to hide an element when the dimming is turned off.

    Any ideas?

    LVL 5

    Accepted Solution

    You can use the expose's callback function
    		onClose: function(event) {
    			// your code to hide element here

    Open in new window

    for more configuration option please visit here
    Hope it help

    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
    Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
    In this Micro Tutorial viewers will learn how to create a CSS image sprite (In a later tutorial, viewers will learn how to use CSS and HTML to create a navigation menu using this sprite) Open a new Photoshop document with a width of (Icon width)x(N…
    The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now