Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Jquery .mask effect

Posted on 2011-04-26
3
Medium Priority
?
652 Views
Last Modified: 2012-05-11
Hi,

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

Thanks
0
Comment
Question by:coolispaul
3 Comments
 
LVL 5

Expert Comment

by:vivekpv10
ID: 35466581
U can do it by changing z index of popup element....
0
 

Author Comment

by:coolispaul
ID: 35466602
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?

Thanks
0
 
LVL 5

Accepted Solution

by:
dnzone88 earned 2000 total points
ID: 35472632
You can use the expose's callback function
	$("#mydiv").expose({
		onClose: function(event) {
			// your code to hide element here
		}
	});

Open in new window


for more configuration option please visit here
Hope it help
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses four methods for overlaying images in a container on a web page
A while back, I ran into a situation where I was trying to use the calculated columns feature in SharePoint 2013 to do some simple math using values in two lists. Between certain data types not being accessible, and also with trying to make a one to…
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Suggested Courses

580 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