View Single Post

  #3 (permalink)  
Old 25-04-2008, 03:30 PM
sticker sticker is offline
Coder
 
Join Date: Apr 2008
Posts: 77
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
sticker will become famous soon enough
Default

Quote:
Originally Posted by MickyWall View Post
try this

Code:
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
 <title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" />
 <script type="text/javascript" src="js/prototype.js"></script>
<script type="text/javascript" src="js/scriptaculous.js?load=effects,builder"></script>
<script type="text/javascript" src="js/lightbox.js"></script>

</head>
 
<body>
<a href="http://forums.techguy.org/images/image-1.jpg" rel="lightbox" title="my caption">image #1</a>
<p>TEST</p>
<p>&nbsp; </p>
</body>
</html> 
I changed it to my local file and it worked!! (kinda!)

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" />
<script type="text/javascript" src="js/prototype.js"></script>
<script type="text/javascript" src="js/scriptaculous.js?load=effects,builder"></script>
<script type="text/javascript" src="js/lightbox.js"></script>

</head>

<body>
<a href="image-1.jpg" rel="lightbox" title="my caption">image #1</a>
<p>TEST</p>
<p>&nbsp; </p>
</body>
</html>

The only problem is on the refreshed web page there still only exists a text link "image #1"

The thumnail for the image is called "thumb-1.jpg"

Do you know how I incorporate the thumbnail into the equation?!!

I'm using Dreamweaver...

Thanks for the prompt reply by the way!
Reply With Quote