| [ Index ] |
PHP Cross Reference of Drupal 6 (yi-drupal) |
[Summary view] [Print] [Text view]
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "xhtml11.dtd"> 2 3 <html> 4 <head> 5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 6 7 <title>Highslide JS</title> 8 9 <!-- 10 1 ) Reference to the files containing the JavaScript and CSS. 11 These files must be located on your server. 12 --> 13 14 <script type="text/javascript" src="../highslide/highslide.js"></script> 15 <link rel="stylesheet" type="text/css" href="../highslide/highslide.css" /> 16 17 18 <!-- 19 2) Optionally override the settings defined at the top 20 of the highslide.js file. The parameter hs.graphicsDir is important! 21 --> 22 23 <script type="text/javascript"> 24 hs.graphicsDir = '../highslide/graphics/'; 25 hs.wrapperClassName = 'wide-border'; 26 </script> 27 28 </head> 29 30 <body> 31 32 <div> 33 <!-- 34 3) This is how you mark up the thumbnail image with an anchor tag around it. 35 The anchor's href attribute defines the URL of the full-size image. 36 --> 37 <a href="../images/full-image.jpg" class="highslide" onclick="return hs.expand(this)"> 38 <img src="../images/thumbnail.jpg" alt="Highslide JS" 39 title="Click to enlarge" height="120" width="107" /></a> 40 41 <!-- 42 4 (optional). This is how you mark up the caption. The caption must be directly after the anchor above.. 43 --> 44 45 <div class="highslide-caption"> 46 This caption can be styled using CSS. 47 </div> 48 49 </div> 50 </body> 51 </html>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Mon Jul 9 18:01:44 2012 | Cross-referenced by PHPXref 0.7 |