File: lightgallery.html

package info (click to toggle)
node-lightgallery 1.9.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 3,756 kB
  • sloc: javascript: 2,878; makefile: 9
file content (27 lines) | stat: -rw-r--r-- 1,058 bytes parent folder | download | duplicates (2)
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
27
<!doctype html>
  <html>
  <head>
    <meta charset="utf-8">
    <title>jQuery lightgallery Test Suite</title>
    <!-- Load local jQuery. -->
    <script src="//cdn.jsdelivr.net/jquery/1.7/jquery.min.js"></script>
    <!-- Load local QUnit. -->
    <link rel="stylesheet" href="../bower_components/qunit/qunit/qunit.css" media="screen">
    <script src="../bower_components/qunit/qunit/qunit.js"></script>
    <!-- Load local lib and tests. -->
    <script src="../src/js/lightgallery.js"></script>
    <script src="lightgallery_test.js"></script>
    <!-- Removing access to jQuery and $. But it'll still be available as _$, if
         you REALLY want to mess around with jQuery in the console. REMEMBER WE
         ARE TESTING A PLUGIN HERE, THIS HELPS ENSURE BEST PRACTICES. REALLY. -->
    <script>window._$ = jQuery.noConflict(true);</script>
  </head>
  <body>
    <div id="qunit"></div>
    <ul id="lightgallery">
      <li data-src="images/4.jpg">
            <a href="#"><img src="images/thumb4.jpg" /></a>
      </li>
    </ul>
  </body>
</html>