Difference between revisions of "Team:Cambridge-JIC"

Line 63: Line 63:
 
$("section.dotslide").each(function(){
 
$("section.dotslide").each(function(){
 
if($(this).attr("id") != "footer-sec") {
 
if($(this).attr("id") != "footer-sec") {
 +
    if($(this).attr("id") != "footer-sec2") {
 
     $("#sidebar").append("<div onclick=\"scrollsection("+ix+")\" class=\"sidebar-item\""+(ix==0?" style=\"background: #555\"":"")+"></div>")
 
     $("#sidebar").append("<div onclick=\"scrollsection("+ix+")\" class=\"sidebar-item\""+(ix==0?" style=\"background: #555\"":"")+"></div>")
}
+
}}
 
ix++
 
ix++
 
})
 
})

Revision as of 17:52, 17 September 2015