public
Description: An implementation of Facebox for Lowpro and Prototype
Homepage:
Clone URL: git://github.com/brianjlandau/lowpro-fbox.git
lowpro-fbox / test.html
100755 26 lines (23 sloc) 0.915 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<!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" xml:lang="en" lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  <title>Facebox 1.2</title>
  <link href="facebox.css" media="screen" rel="stylesheet" type="text/css" />
  <script type="text/javascript" charset="utf-8" src="prototype.js"></script>
  <script src="effects.js" type="text/javascript" charset="utf-8"></script>
  <script type="text/javascript" charset="utf-8" src="lowpro.js"></script>
  <script type="text/javascript" charset="utf-8" src="lowprofbox.js"></script>
</head>
 
<body>
  <div id="test">
    <p><a id="fbox" href="stairs.jpg">Test</a></p>
  </div>
  <script type="text/javascript" charset="utf-8">
    Event.addBehavior({
      'a#fbox' : Facebox
    });
  </script>
</body>
</html>