Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on May 8th, 2013  |  syntax: PHP  |  size: 2.70 KB  |  views: 52  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <html>
  2. <head>
  3.  
  4.  <meta charset="utf-8">
  5.     <?php if ( $description = settings('description')): ?>
  6.     <meta name="description" content="<?php echo $description; ?>" />
  7.     <?php endif; ?>
  8.  
  9. <!-- inizio codice iipimage -->
  10.  <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
  11.   <meta name="apple-mobile-web-app-capable" content="yes" />
  12.   <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
  13.   <meta http-equiv="X-UA-Compatible" content="IE=9" />
  14.  
  15.   <link rel="stylesheet" type="text/css" media="all" href="../../../iipimage/css/iip.css" />
  16. <!--[if lt IE 9]>
  17.   <link rel="stylesheet" type="text/css" media="all" href="../../../iipimage/css/ie.css" />
  18. <![endif]-->
  19.  
  20.   <link rel="shortcut icon" href="../../../iipimage/images/iip-favicon.png" />
  21.   <link rel="apple-touch-icon" href="../../../iipimage/images/iip.png" />
  22.  
  23.   <script type="text/javascript" src="../../../iipimage/javascript/jquery-1.9.1.min.js"></script>
  24.   <script type="text/javascript" src="../../../iipimage/javascript/mootools-core-1.3.2-full-nocompat.js"></script>
  25.   <script type="text/javascript" src="../../../iipimage/javascript/mootools-more-1.3.2.1.js"></script>
  26.   <script type="text/javascript" src="../../../iipimage/javascript/protocols.js"></script>
  27.   <script type="text/javascript" src="../../../iipimage/javascript/iipmooviewer-2.0.js"></script>
  28.  
  29. <!--[if lt IE 7]>
  30.   <script src="http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE7.js">IE7_PNG_SUFFIX = ".png";</script>
  31. <![endif]-->
  32.  
  33. <script type="text/javascript">
  34.  
  35.  // The iipsrv server path (/fcgi-bin/iipsrv.fcgi by default)
  36.     var server = '../../../fcgi-bin/iipsrv.fcgi';
  37.  
  38.     // The *full* image path on the server. This path does *not* need to be in the web
  39.     // server root directory. On Windows, use Unix style forward slash paths without
  40.     // the "c:" prefix
  41.  
  42.  
  43.     var images = '/home/fabio/tiffPiramidali/001.ptif';
  44.  
  45.  
  46.     // Copyright or information message
  47.     var credit = '&copy; copyright or information message';
  48.  
  49.     // Create our viewer object
  50.     // See documentation for more details of options
  51.     var iipmooviewer = new IIPMooViewer( "viewer", {
  52.                 image: images,
  53.                 server: server,
  54.                 credit: credit,
  55.                 scale: 20.0,
  56.                 showNavWindow: true,
  57.                 showNavButtons: true,
  58.                 winResize: true,
  59.                 protocol: 'iip'
  60.     });
  61.  
  62.   </script>
  63.  
  64.   <style type="text/css">
  65.     body{ height: 100%; }
  66.     div#viewer{ width: 60%; height: 60%; }
  67.   </style>
  68.  
  69. <title>prova pos</title>
  70. </head>
  71.  
  72. <body>
  73.  
  74. <div>LOREM IPSUM</div>
  75. <div id="viewer"></div>
  76.  
  77. </body>
  78. </html>
clone this paste RAW Paste Data