1 <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
2 <html xmlns=
"http://www.w3.org/1999/xhtml">
4 <meta http-equiv=
"Content-Type" content=
"text/html; charset=utf-8" />
5 <title>jQuery lightBox plugin
</title>
7 <link rel=
"stylesheet" type=
"text/css" href=
"../style-projects-jquery.css" />
9 <!-- Arquivos utilizados pelo jQuery lightBox plugin -->
10 <script type=
"text/javascript" src=
"js/jquery.js"></script>
11 <script type=
"text/javascript" src=
"js/jquery.lightbox-0.5.js"></script>
12 <link rel=
"stylesheet" type=
"text/css" href=
"css/jquery.lightbox-0.5.css" media=
"screen" />
13 <!-- / fim dos arquivos utilizados pelo jQuery lightBox plugin -->
15 <!-- Ativando o jQuery lightBox plugin -->
16 <script type=
"text/javascript">
18 $('#gallery a').lightBox();
21 <style type=
"text/css">
22 /* jQuery lightBox plugin - Gallery style */
24 background-color: #444;
28 #gallery ul
{ list-style: none
; }
29 #gallery ul li
{ display: inline
; }
31 border: 5px solid
#3e3e3e;
32 border-width: 5px 5px 20px;
34 #gallery ul
a:hover img
{
35 border: 5px solid
#fff;
36 border-width: 5px 5px 20px;
39 #gallery ul
a:hover
{ color: #fff; }
45 <h2 id=
"example">Example
</h2>
46 <p>Click in the image and see the
<strong>jQuery lightBox plugin
</strong> in action.
</p>
50 <a href=
"photos/image1.jpg" title=
"Utilize a flexibilidade dos seletores da jQuery e crie um grupo de imagens como desejar. $('#gallery').lightBox();">
51 <img src=
"photos/thumb_image1.jpg" width=
"72" height=
"72" alt=
"" />
55 <a href=
"photos/image2.jpg" title=
"Utilize a flexibilidade dos seletores da jQuery e crie um grupo de imagens como desejar. $('#gallery a').lightBox();">
56 <img src=
"photos/thumb_image2.jpg" width=
"72" height=
"72" alt=
"" />
60 <a href=
"photos/image3.jpg" title=
"Utilize a flexibilidade dos seletores da jQuery e crie um grupo de imagens como desejar. $('#gallery a').lightBox();">
61 <img src=
"photos/thumb_image3.jpg" width=
"72" height=
"72" alt=
"" />
65 <a href=
"photos/image4.jpg" title=
"Utilize a flexibilidade dos seletores da jQuery e crie um grupo de imagens como desejar. $('#gallery a').lightBox();">
66 <img src=
"photos/thumb_image4.jpg" width=
"72" height=
"72" alt=
"" />
70 <a href=
"photos/image5.jpg" title=
"Utilize a flexibilidade dos seletores da jQuery e crie um grupo de imagens como desejar. $('#gallery a').lightBox();">
71 <img src=
"photos/thumb_image5.jpg" width=
"72" height=
"72" alt=
"" />