Template:Slider

From 2014.igem.org

(Difference between revisions)
Line 7: Line 7:
         var p=p||{};
         var p=p||{};
-
         var m=p&&p.slideshow_time_interval?p.slideshow_time_interval:"2000";
+
         var m=p.slideshow_time_interval?p.slideshow_time_interval:"2000";
-
         var q=p&&p.slideshow_window_width?p.slideshow_window_width:$("body").width();
+
         var q=p.slideshow_window_width?p.slideshow_window_width:$("body").width();
-
         var r=p&&p.slideshow_window_height?p.slideshow_window_height:$("body").width()/1.58;
+
         var r=p.slideshow_window_height?p.slideshow_window_height:$("body").width()/1.58;
-
         var sf=p&&p.soldeshow_foreColor?p.soldeshow_foreColor:"#000";
+
         var sf=p.soldeshow_foreColor?p.soldeshow_foreColor:"#000";
-
         var stc=p&&p.slideshow_title_color?p.slideshow_title_color:"#17CCCC";
+
         var stc=p.slideshow_title_color?p.slideshow_title_color:"#17CCCC";
-
         var d=p&&p.directory?p.directory:"images/";
+
         var d=p.directory?p.directory:"images/";
r_temp=q/2.4;
r_temp=q/2.4;
q += "px";
q += "px";

Revision as of 16:22, 16 October 2014