1jQuery.noConflict(); 2jQuery(document).ready(function($) { 3 $(document).ready(function(){ 4 5 //JQuery ready is quicker than onload 6 $(".contenttable tr").mouseover(function() {$(this).addClass("over");}).mouseout(function() {$(this).removeClass("over");}); 7 $(".contenttable tr:nth-child(odd)").addClass("alt"); 8 var jetzt = new Date(); 9 $.tools.dateinput.localize('de', { 10 months: 'Januar,Februar,März,April,Mai,Juni,Juli,August,September,Oktober,November,Dezember', 11 shortMonths: 'Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Okt,Nov,Dez', 12 days: 'Sonntag,Montag,Dienstag,Mittwoch,Donnerstag,Freitag,Samstag', 13 shortDays: 'So,Mo,Di,Mi,Do,Fr,Sa' 14 15 }); 16 $(":date").dateinput({ 17 format: 'dd. mmmm yyyy', 18 max: jetzt, 19 firstDay: 1, 20 lang: 'de' 21 }); 22 23 24 25 $(function() 26 { 27 $('a[href=#oben]').click(function(){ 28 $('html, body').animate({scrollTop:0}, 'slow'); 29 return false; 30 }); 31 }); 32 33 34 // Dummy-Bild einf�gen 35 $("#contentbereich .teaserPicture a").each(function(){ 36 if ($(this).children().length == 0){ 37 $(this).append("<img src='fileadmin/templates/images/platzhalter.gif' />") 38 } 39 }); 40 41 42 // Dummy-Bild einf�gen 43 $(".homeSlider ul.news li .teaserPicture a").each(function(){ 44 if ($(this).children().length == 0){ 45 $(this).append("<img src='fileadmin/templates/images/platzhalterHome.gif' />") 46 } 47 }); 48 49 $(document).ready(function () { 50 $('.dropdownSlide').css('display', 'none') 51 $(".menueId ul li").mouseenter(function() { 52 $(this).find(".dropdownSlide").stop(true, true).slideDown(400); 53 }).mouseleave(function() { 54 $(this).find(".dropdownSlide").stop(true, true).slideUp(200); 55 }); 56 $(".menueId ul li ul li").find("ul").css('display', 'none') 57 $(".menueId ul li ul li").mouseenter(function() { 58 $(this).find("ul").stop(true, true).slideDown(400); 59 }).mouseleave(function() { 60 $(this).find("ul").stop(true, true).slideUp(200); 61 }); 62 }); 63 64 // hide / show MainNavi 65 $(".nav_responsive_activate").click(function(){ 66 $(".responsiveMenue").addClass("show"); 67 $("#center").css("margin-top", "230px"); 68 $(".nav_responsive_active").show(); 69 $(this).hide(); 70 }); 71 72 $(".nav_responsive_active").click(function(){ 73 $(".responsiveMenue").removeClass("show"); 74 $("#center").css("margin-top", "135px"); 75 $(".nav_responsive_activate").show(); 76 $(this).hide(); 77 }); 78 79 // hide / show subnavi 80 $(".activatesub").click(function(){ 81 $("#subnavi").addClass("show"); 82 $(".activesub").show(); 83 $(this).hide(); 84 }); 85 86 $(".activesub").click(function(){ 87 $("#subnavi").removeClass("show"); 88 $(".activatesub").show(); 89 $(this).hide(); 90 }); 91 92 93 $("#homelayout02 h2").click(function() { 94 if ($("#homelayout02").hasClass("sliderClosed1")){ 95 $("#homelayout02").animate({ 96 height: '67px' 97 }, 2000, function() { 98 // Animation complete. 99 }); 100 $("#homelayout02").removeClass("sliderClosed1"); 101 } 102 else { 103 $("#homelayout02").animate({ 104 height: '460px' 105 }, 2000, function() { 106 // Animation complete. 107 }); 108 $("#homelayout02").addClass("sliderClosed1"); 109 } 110 }); 111 112 113 $("#homelayout03 h2").click(function() { 114 if ($("#homelayout03").hasClass("sliderClosed1")){ 115 $("#homelayout03").animate({ 116 height: '67px' 117 }, 2000, function() { 118 // Animation complete. 119 }); 120 $("#homelayout03").removeClass("sliderClosed1"); 121 } 122 else { 123 $("#homelayout03").animate({ 124 height: '460px' 125 }, 2000, function() { 126 // Animation complete. 127 }); 128 $("#homelayout03").addClass("sliderClosed1"); 129 } 130 }); 131 132 $("#homelayout04 h2").click(function() { 133 if ($("#homelayout04").hasClass("sliderClosed1")){ 134 $("#homelayout04").animate({ 135 height: '67px' 136 }, 2000, function() { 137 // Animation complete. 138 }); 139 $("#homelayout04").removeClass("sliderClosed1"); 140 } 141 else { 142 $("#homelayout04").animate({ 143 height: '275px' 144 }, 2000, function() { 145 // Animation complete. 146 }); 147 $("#homelayout04").addClass("sliderClosed1"); 148 } 149 }); 150 151 152 153 154/* 155 * PARAMETERS: 156 * ---------------- 157 * iDelay: Duration for interval in ms -> Example 5000 158 * iFadeDelay: Duration for fading in ms -> Example 1000 159 * iCountImages: Count of the images in integer -> Example 6 160*/ 161var theIntMain = null; 162 163 var iDelayMain = 7000; 164 var iFadeDelayMain = 3000; 165 var bRandomStart = true; 166 var bNextButtonClick = true; 167 var aktivIDMain = 0; 168 var previousIDMain = 8; 169 var iCountImagesMain = 9; 170 171 var aktivIDMain2 = 8; 172 var previousIDMain2 = 7; 173 174 var idHeaderMain = $("#headerImage"); 175 var idHeaderImagesMain = $("#headerImages"); 176 //var idHeaderTextMain = $("#headermainText"); 177 var idHeaderThumbsMain = $("#layout02Thumbs"); 178 179 180 randomFX = function(X) { 181 return Math.floor(X * (Math.random() % 1)); 182 } 183 184 185 fadeshowmain = function(oldID,newID,bStart){ 186 clearInterval(theIntMain); 187 188 idHeaderThumbsMain.find("#headerThumbi"+oldID).show(); 189 //idHeaderImagesMain.find("#headerImage"+newID).stop(true, true).fadeTo(iFadeDelayMain, 1); 190 //idHeaderImagesMain.find("#headerImage"+oldID).stop(true, true).fadeTo(iFadeDelayMain, 0); 191 idHeaderImagesMain.find("#headerImage"+newID).stop(true, true).fadeIn(iFadeDelayMain); 192 193 194 idHeaderImagesMain.find("#headerImage"+oldID).stop(true, true).fadeOut(iFadeDelayMain); 195 //idHeaderTextMain.find("#headerHomeLayer"+newID).stop(true, true).fadeTo(0, 1); 196 //idHeaderTextMain.find("#headerHomeLayer"+oldID).stop(true, true).fadeTo(0, 0); 197 idHeaderThumbsMain.find("#headerThumbi"+newID).hide(); 198 199 aktivIDMain2 = aktivIDMain; 200 previousIDMain2 = previousIDMain; 201 202 previousIDMain = newID; 203 204 theIntMain = setInterval(function(){ 205 aktivIDMain++; 206 if( aktivIDMain == iCountImagesMain ) aktivIDMain = 0; 207 $("#layout02Thumbs .headerThumbInactive").eq(aktivIDMain).trigger('click'); 208 }, iDelayMain); 209 } 210 211 212 213 $("#headerImage").each(function(i) { 214 //idHeaderImagesMain.children().fadeTo(0, 0); 215 idHeaderImagesMain.children().fadeOut(0, 0); 216 217 //idHeaderTextMain.children().fadeTo(0, 0); 218 219 220 if(bRandomStart==true){ 221 aktivIDMain = randomFX(iCountImagesMain); 222 223 var c = readCookie("eberhardzell"); 224 if (c){ 225 aktivIDMain = parseInt(c) + 1; 226 if (aktivIDMain >= iCountImagesMain){ 227 aktivIDMain = 0; 228 } 229 } 230 231 if(aktivIDMain == 0) { 232 previousIDMain = iCountImagesMain-1; 233 }else{ 234 previousIDMain = aktivIDMain-1; 235 } 236 createCookie("eberhardzell", aktivIDMain, 365); 237 238 } 239 //idHeaderImagesMain.find("#headerImage"+aktivIDMain).fadeTo(0, 1); 240 idHeaderImagesMain.find("#headerImage"+aktivIDMain).fadeIn(0, 1); 241 242 243 //idHeaderTextMain.find("#headerHomeLayer"+aktivIDMain).fadeTo(0, 1); 244 fadeshowmain(previousIDMain,aktivIDMain,true); 245 }); 246 247 248 $("#layout02Thumbs .headerThumbInactive").click(function() { 249 var currentId = $(this).attr('id'); 250 var newID = currentId.substr(currentId.length-2, 2); 251 if(newID.substr(0, 1) == 'i') newID = currentId.substr(currentId.length-1, 1); 252 253 var oldID = previousIDMain; 254 255 aktivIDMain = newID; 256 fadeshowmain(oldID,newID,false); 257 }); 258 259 $("#headerButtonPrevious").click(function() { 260 var oldID = aktivIDMain; 261 previousIDMain = oldID; 262 aktivIDMain--; 263 if( aktivIDMain < 0 ) aktivIDMain = iCountImagesMain - 1; 264 var newID = aktivIDMain; 265 266 bNextButtonClick = false; 267 fadeshowmain(oldID,newID,false); 268 }); 269 270 $("#headerButtonNext").click(function() { 271 var oldID = aktivIDMain; 272 previousIDMain = oldID; 273 aktivIDMain++; 274 if( aktivIDMain == iCountImagesMain ) aktivIDMain = 0; 275 var newID = aktivIDMain; 276 277 bNextButtonClick = true; 278 fadeshowmain(oldID,newID,false); 279 }); 280 }); 281 282 283 284 285function createCookie(name,value,days){ 286 if (days){ 287 var date = new Date(); 288 date.setTime(date.getTime()+(days*24*60*60*1000)); 289 var expires = "; expires="+date.toGMTString(); 290 } 291 else var expires = ""; 292 document.cookie = name+"="+value+expires+"; path=/"; 293} 294 295function readCookie(name){ 296 var nameEQ = name + "="; 297 var ca = document.cookie.split(';'); 298 for(var i=0;i < ca.length;i++){ 299 var c = ca[i];
300 while (c.charAt(0)==' ') c = c.substring(1,c.length); 301 if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length); 302 } 303 return null; 304} 305 306function eraseCookie(name){ 307 createCookie(name,"",-1); 308} 309 310 311 312 313 314}); 315 316function MM_jumpMenu(targ,selObj,restore){ //v3.0 317 eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'"); 318 if (restore) selObj.selectedIndex=0; 319 } 320 321 322function MM_swapImgRestore() { //v3.0 323 var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc; 324} 325function MM_preloadImages() { //v3.0 326 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); 327 var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) 328 if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} 329} 330 331function MM_findObj(n, d) { //v4.01 332 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { 333 d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} 334 if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; 335 for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); 336 if(!x && d.getElementById) x=d.getElementById(n); return x; 337} 338 339function MM_swapImage() { //v3.0 340 var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3) 341 if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];} 342} 343 344jQuery(function(){ 345 jQuery("a[href='#top']").click(function(){ 346 jQuery('html, body').animate({scrollTop:0}, 'slow'); 347 return false; 348 }); 349});
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.