Team:EPF-Lausanne/Template/Footer

From 2012.igem.org

(Difference between revisions)
Line 8: Line 8:
$("a").filter(
$("a").filter(
function(){
function(){
-
var str = $(this).attr("href");
+
var str = $(this).attr("href");console.log("Filtering URL", str);
if(!str)
if(!str)
return false;
return false;
Line 14: Line 14:
}
}
).each(
).each(
-
function(i, domObj){console.log("Editing URL", i, domObj);
+
function(i, domObj){
$(domObj).attr("href", $(domObj).attr("href")+toAdd);
$(domObj).attr("href", $(domObj).attr("href")+toAdd);
}
}

Revision as of 23:42, 3 June 2012