Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
nzdl:collage [2017/09/25 14:12]
kjdon created
nzdl:collage [2017/09/25 14:25] (current)
kjdon [Using an Image Directory]
Line 25: Line 25:
 Outside Greenstone, a collage can be implemented on a directory of images. These images may be associated with different locations on the internet. The image directory should contain a file called externallinks,​ of the format: Outside Greenstone, a collage can be implemented on a directory of images. These images may be associated with different locations on the internet. The image directory should contain a file called externallinks,​ of the format:
  
-    ​[image name] [hyperlink]+<​code>  ​[image name] [hyperlink]</​code>​
  
 For example: For example:
  
-    ​nzdl-ad.gif http://​www.nzdl.org/​+<​code>​nzdl-ad.gif http://​www.nzdl.org/​</​code>​
  
-Images in the directory are matched with the names in the externallinks file, and when an image is clicked the corresponding URL is displayed.+Images in the directory are matched with the names in the //externallinks// file, and when an image is clicked the corresponding URL is displayed.
  
 To run the collage, an html page should be created that displays the collage applet. Assuming that this html page resides in the same directory as the GsdlCollageApplet.jar file, here is an example page: To run the collage, an html page should be created that displays the collage applet. Assuming that this html page resides in the same directory as the GsdlCollageApplet.jar file, here is an example page:
  
 +<​code>​
     <​html> ​     <​html> ​
       <​head> ​       <​head> ​
Line 61: Line 62:
     </​body> ​     </​body> ​
     </​html> ​     </​html> ​
 +</​code>​
  
-Where http://​www.mycollage.com/​images/​ is the directory of images that includes the externallinks file.+Where //http://​www.mycollage.com/​images/ // is the directory of images that includes the //externallinks// file.
  
 =====Applet Parameters===== =====Applet Parameters=====
Line 79: Line 81:
   *     //​isJava2//​ - controls whether or not the user's browser supports java2 capabilities. Default value is auto; however, it can also be set to true or false. ​   *     //​isJava2//​ - controls whether or not the user's browser supports java2 capabilities. Default value is auto; however, it can also be set to true or false. ​
  
-A further parameter, when using a directory of images, is the startingURL.+A further parameter, when using a directory of images, is the //startingURL//.
  
 =====How the code works===== =====How the code works=====