<script src="js/prototype.js" type="text/javascript"></script> <script src="js/scriptaculous.js?load=effects,builder" type="text/javascript"></script> <script src="js/lightbox.js" type="text/javascript"></script> <link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" />次にアンカータグでサムネイル画像と拡大画像を指定します。
<a href="bt.gif" rel="lightbox"><img src="bt_thumb.gif" /></a>以下、例です。
<html> <head> <title></title> </head> <script src="js/prototype.js" type="text/javascript"></script> <script src="js/scriptaculous.js?load=effects,builder" type="text/javascript"></script> <script src="js/lightbox.js" type="text/javascript"></script> <link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" /> <body> </body> </html>