Template:Peking2012 Color Epilogue

From 2012.igem.org

(Difference between revisions)
m
m
Line 220: Line 220:
for (var it=1;it<menutitle.length;++it)
for (var it=1;it<menutitle.length;++it)
{
{
-
   menuhtml += '<li><a href="#title' + it + '">' + menutitle[it].innerHTML.replace("<br />","") + "</a></li>";
+
   menuhtml += '<li><a href="#title' + it + '">' + menutitle[it].innerHTML.replace(/^<>$/g,"") + "</a></li>";
}
}
naviMenu.innerHTML = menuhtml;
naviMenu.innerHTML = menuhtml;

Revision as of 14:35, 16 September 2012

  • Totop Totop