Template:Team:DukeMBar/CSS

From 2014.igem.org

(Difference between revisions)
Line 107: Line 107:
             if (k > -1) {
             if (k > -1) {
                 slip.style.width = items[k].offsetWidth + "px";
                 slip.style.width = items[k].offsetWidth + "px";
-
                 //slip.style.left = items[k].offsetLeft + "px";
+
                 slip.style.left = items[k].offsetLeft + "px";
-
                 sse1.move(items[k]); //comment out this line and uncomment the line above to disable initial animation
+
                 //sse1.move(items[k]); //uncomment this line and comment the line above to enable initial animation
             }
             }
             else {
             else {
Line 216: Line 216:
   <div id="sses1">
   <div id="sses1">
     <ul>
     <ul>
-
       <li><a href="#apr">Javascript Menus</a></li>
+
       <li><a href="#apr">April</a></li>
-
       <li><a href="#mayjun">Horizontal Menus</a></li>
+
       <li><a href="#mayjun">May/June</a></li>
-
       <li><a href="#jul">Web Menus</a></li>
+
       <li><a href="#jul">July</a></li>
     </ul>
     </ul>
   </div>
   </div>

Revision as of 16:40, 14 October 2014