javascripthtmllightboxshadowbox

Can't seem to get shadowbox to work


Ive ran into a problem getting anything with shadowbox to work. Here is the top of the page:

<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Beginning Android</title>
<link rel="stylesheet" type="text/css" href="shadowbox.css">
<script type="text/javascript" src="shadowbox.js"></script>
<script type="text/javascript">
Shadowbox.init();
</script>
</head>

And here is the pic I'm trying to run.

<p class="NormalText"><center><a href="android-robot-logo2.jpg" rel="shadowbox"><imgsrc="android-robot-logo2.jpg"/></a>
 </center></p>

Any help is greatly appreciated. Thanks


Solution

  • <imgsrc="android-robot-logo2.jpg"/>
    

    Should be:

    <img src="android-robot-logo2.jpg"/>
    

    Try validating you html first.