Team:Waterloo/Gallery

From 2014.igem.org

(Difference between revisions)
Line 8: Line 8:
   #contentSub, #footer-box, #catlinks, #search-controls, #p-logo, .printfooter, .firstHeading,.visualClear {display: none;} /*-- hides default wiki settings --*/
   #contentSub, #footer-box, #catlinks, #search-controls, #p-logo, .printfooter, .firstHeading,.visualClear {display: none;} /*-- hides default wiki settings --*/
</style>
</style>
-
 
<div id="gallery">
<div id="gallery">
Line 43: Line 42:
   //Align headings
   //Align headings
   function alignHeadings(){
   function alignHeadings(){
-
  var remainingWidth = $("div#topbar").width();
+
    var remainingWidth = $("div#topbar").width();
     var allheadings = $("ul#headings >li");
     var allheadings = $("ul#headings >li");
     allheadings.css("display", "block");
     allheadings.css("display", "block");
Line 51: Line 50:
   }
   }
-
   (function(){
+
   $("#gallery").jGallery({
-
    $("#gallery").jGallery({
+
    "transition":"moveToRight_moveFromLeft",
-
      "transition":"moveToRight_moveFromLeft",
+
    "transitionBackward":"moveToLeft_moveFromRight",
-
      "transitionBackward":"moveToLeft_moveFromRight",
+
    "transitionCols":"1",
-
      "transitionCols":"1",
+
    "transitionRows":"1",
-
      "transitionRows":"1",
+
    "thumbnailsPosition":"bottom",
-
      "thumbnailsPosition":"bottom",
+
    "thumbType":"image",
-
      "thumbType":"image",
+
    "backgroundColor":"#000",
-
      "backgroundColor":"#000",
+
    "textColor":"#fff",
-
      "textColor":"#fff",
+
    "mode":"standard"
-
      "mode":"standard"
+
   });
-
   }))();
+
   $(document).ready(alignHeadings);
   $(document).ready(alignHeadings);

Revision as of 07:37, 17 October 2014