lightbox troubleshooting...

I have the following html below but it doesn't show the box when I click on "Open Lightbox" (this image is from tutorial video I am watching)lighbox
<!DOCTYPE html>
<html><head><title>Lighbox Demo</title>
	<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
	<style type="text/css">
	body
	{
		font-family: Heletica, Arial;
	}
	.backdrop
	{
		position:absolute;
		top: 0px;
		left: 0px;
		width: 100%;
		height: 100%;
		background: #000;
		opacity: .0;
		filter: alpha(opacity=0);
		z-index: 50;
		display: none;
	}
	.box
	{
		position:absolute;
		top: 20%;
		left: 30%;
		width: 500px;
		height: 300px;
		background: #ffffff;
		z-index: 51;
		padding: 10px;
		-webkit-border-radius: 5px;
		-moz-border-radius: 5px;
		border-radius: 5px;
		-webkit-box-shado: 0px 0px 0px #444444;
		-moz-box-shado: 0px 0px 0px #444444;
		box-shado: 0px 0px 0px #444444;
		display: none;
	}	
	.close
	{
		float:right;
		margin-right: 6px;
		cursor:pointer;
	}
	</style>
	<script type="text/javascript">
		$(document).ready(function(){
			$('lightbox').click(function(){
				$('.backdrop, .box').css('display', 'block');
			});
		});
	</script>
</head>
<body>
<h1> Webpage...</h1>
<a href="#" class="lightbox">Open Lightbox</a>

		<div class="backdrop"></div>
		<div class="box"><div class="close"></div>This is the lightbox!!!</div>
 		
	<!--	
		<a id="A2" href="EEDynamicImage.html?img=location.png" target="_blank"><abbr title="Location map...">90024</abbr></a><br><br>
		<a id="A5" href="EEDynamicImage.html?img=dpic.png" target="_blank"><abbr title="Certificate...">Design Professional Insur. Co</abbr></a>
 -->
 
</body>
</html>

Open in new window

I have not downloaded anything related to lightbox yet if that is why I am not able to see this border.
LVL 34
Mike EghtebasDatabase and Application DeveloperAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Rainer JeschorCommented:
Hi,
should be just a simple typo:
replace
$('lightbox').click(function(){

Open in new window

with
$('.lightbox').click(function(){

Open in new window

(the missing dot for class selector)

HTH
Rainer
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Mike EghtebasDatabase and Application DeveloperAuthor Commented:
Thank you.

I also had couple typos at

            -webkit-box-shadow: 0px 0px 5px #444444;
            -moz-box-shadow: 0px 0px 5px #444444;
            box-shadow: 0px 0px 5px #444444;
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
jQuery

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.