1$(document).ready(function() { 2 if(!FlashDetect.installed){ 3 $("#header .static").show(); 4 $("#header .flash").hide(); 5 $("a.animationSwitch").hide(); 6 7 } 8 9 $("a.animationSwitch").click(function(event) { 10 event.preventDefault(); 11 var currentHeader; 12 if ($("#header .flash").is(":visible")) { 13 currentHeader = "static"; 14 $("#header .static").show(); 15 $("#header .flash").hide(); 16 $("a.animationSwitch").html("Animation starten"); 17 $.cookie("CURRENTHEADER", "static",{ expires: 7, path: '/'}); 18 19 } 20 else if ($("#header .static").is(":visible")) { 21 22 if(!FlashDetect.installed){ 23 $("#header .static").show(); 24 $("#header .flash").hide(); 25 currentHeader = "static"; 26 $("a.animationSwitch").hide(); 27 $.cookie("CURRENTHEADER", "static",{ expires: 7,path: '/' }); 28 29 } 30 else { 31 $("#header .flash").show(); 32 $("#header .static").hide(); 33 currentHeader = "flash"; 34 $("a.animationSwitch").html("Animation anhalten"); 35 $.cookie("CURRENTHEADER", "flash",{ expires: 7, path : '/' }); 36 37 } 38 39 } 40 41 42 }); 43});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.