views:

39

answers:

2

Hi guys, 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

+1  A: 
<imgsrc="android-robot-logo2.jpg"/>

Should be:

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

Try validating you html first.

GaVrA
It is... thats just a wrap around. Thanks for trying. Any other ideas?
Tanner
Also validating comes back with no errors in the script itself.
Tanner
A: 

I officially feel like a retard. Dreamweaver was using html 1 strict. Switched to html 5 and everything works.

Tanner