Team:TU-Eindhoven/Template:SetHeader

From 2013.igem.org

(Difference between revisions)
Line 2: Line 2:
$('.tue-header').each(function(){
$('.tue-header').each(function(){
     var $this = $(this);
     var $this = $(this);
-
     $this.css("background","url('</html>{{filepath: TU-Eindhoven_Images_Header{{{nr}}}.jpg | nowiki }}<html>') repeat-x center top !important");
+
     $this.css("backgroundImage","url('</html>{{filepath: TU-Eindhoven_Images_Header{{{nr}}}.jpg | nowiki }}<html>') !important");
     alert("url('</html>{{filepath: TU-Eindhoven_Images_Header{{{nr}}}.jpg | nowiki }}<html>') repeat-x center top !important");
     alert("url('</html>{{filepath: TU-Eindhoven_Images_Header{{{nr}}}.jpg | nowiki }}<html>') repeat-x center top !important");
});
});
</script></html>
</script></html>

Revision as of 14:43, 4 September 2013