Team:TU Munich/Templates/Layout

From 2010.igem.org

(Difference between revisions)
Line 39: Line 39:
nextParent.slideToggle("slow");
nextParent.slideToggle("slow");
}
}
 +
 +
 +
var prevElem = $(this).prev();
 +
while(prevElem!= null) {
 +
if(!prevElem.is("p.trigger")) {
 +
prevElem = prevElem.prev();
 +
}
 +
else {
 +
break;
 +
}
 +
}
 +
if(prevElem.is("p.trigger")) {
 +
prevElem.toggleClass("activeToggle");
 +
}
 +
return false; //Prevent the browser jump to the link anchor
return false; //Prevent the browser jump to the link anchor
Line 90: Line 105:
background: none;
background: none;
}
}
-
.wiki_div
+
.wiki_div, .wiki_div td, .wiki_div dd, .wiki_div ul
{
{
text-align: justify;
text-align: justify;

Revision as of 09:55, 21 October 2010