[ Index ]

PHP Cross Reference of Drupal 6 (yi-drupal)

title

Body

[close]

/sites/all/libraries/highslide/examples/ -> no-border.html (source)

   1  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "xhtml11.dtd">
   2  <html xmlns="http://www.w3.org/1999/xhtml">
   3  <head>
   4  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
   5  <title>Highslide JS</title>
   6  
   7  <!--
   8      1 ) Reference to the files containing the JavaScript and CSS.
   9      These files must be located on your server.
  10  -->
  11  
  12  <script type="text/javascript" src="../highslide/highslide.js"></script>
  13  <link rel="stylesheet" type="text/css" href="../highslide/highslide.css" />
  14  <!--[if lt IE 7]>
  15  <link rel="stylesheet" type="text/css" href="../highslide/highslide-ie6.css" />
  16  <![endif]-->
  17  
  18  
  19  
  20  <!--
  21      2) Optionally override the settings defined at the top
  22      of the highslide.js file. The parameter hs.graphicsDir is important!
  23  -->
  24  
  25  <script type="text/javascript">
  26  //<![CDATA[

  27  hs.registerOverlay({
  28      html: '<div class="closebutton" onclick="return hs.close(this)" title="Close"></div>',
  29      position: 'top right',
  30      fade: 2 // fading the semi-transparent overlay looks bad in IE
  31  });
  32  
  33  
  34  hs.graphicsDir = '../highslide/graphics/';
  35  hs.wrapperClassName = 'borderless';
  36  //]]>

  37  </script>
  38  
  39  </head>
  40  
  41  <body>
  42  <div>
  43  <!--
  44      3) This is how you mark up the thumbnail image with an anchor tag around it.
  45      The anchor's href attribute defines the URL of the full-size image.
  46  -->
  47  <a href="../images/full-image.jpg" class="highslide" onclick="return hs.expand(this)">
  48      <img src="../images/thumbnail.jpg" alt="Highslide JS"
  49          title="Click to enlarge" height="120" width="107" /></a>
  50  
  51  <!--
  52      4 (optional). This is how you mark up the caption. The caption must be directly
  53      after the anchor above.
  54  -->
  55  
  56  <div class="highslide-caption">
  57      This caption can be styled using CSS.
  58  </div>
  59  
  60  </div>
  61  </body>
  62  </html>


Generated: Mon Jul 9 18:01:44 2012 Cross-referenced by PHPXref 0.7