1jQuery.noConflict(); 2jQuery(document).ready(function($) { 3 $(document).ready(function(){ 4 //JQuery ready is quicker than onload 5 6 7 $(".contenttable tr").mouseover(function() {$(this).addClass("over");}).mouseout(function() {$(this).removeClass("over");}); 8 $(".contenttable tr:nth-child(odd)").addClass("alt"); 9 var jetzt = new Date(); 10 $.tools.dateinput.localize('de', { 11 months: 'Januar,Februar,März,April,Mai,Juni,Juli,August,September,Oktober,November,Dezember', 12 shortMonths: 'Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Okt,Nov,Dez', 13 days: 'Sonntag,Montag,Dienstag,Mittwoch,Donnerstag,Freitag,Samstag', 14 shortDays: 'So,Mo,Di,Mi,Do,Fr,Sa' 15 16 }); 17 $(":date").dateinput({ 18 format: 'dd. mmmm yyyy', 19 max: jetzt, 20 firstDay: 1, 21 lang: 'de' 22 }); 23 24 // KALENDER DATEINPUT Start 25 $(".formobjektCalenderSmall").dateinput({ 26 trigger: true, 27 lang: 'de', 28 firstDay: 1, 29 //min: -1, 30 format: 'dd.mm.yyyy' 31 32 }) 33 $(".formobjektCalenderSmall").bind("onShow onHide", function() { 34 $(this).parent().toggleClass("active"); 35 }); 36 // KALENDER DATEINPUT ende 37 38 $(function(){ 39 40 41 $('a[href=#oben]').click(function(){ 42 $('html, body').animate({scrollTop:0}, 'slow'); 43 return false; 44 }); 45 46 }); 47 48 /*-----------------------------------------------Javascript für Projekt start-------------------------------------------------------------------------------*/ 49 slider = $('.bgSlider').bxSlider({ 50 mode: 'fade', 51 auto: true, 52 easing: 'linear', 53 pager: false, 54 nextText:'', 55 prevText:'' 56 }); 57 58 var pausePlayButton = "<div id='playpausebuttonbg' title='Animationen anhalten' tabindex='0'><div id='playpausebutton' class='pause'></div></div>"; 59 $('#headerImages').append(pausePlayButton); 60 var togglePausePlay = function() { 61 if($('#playpausebutton').hasClass("pause")) 62 { 63 $('#playpausebutton').removeClass("pause") 64 $('#playpausebutton').addClass("play") 65 $('#playpausebuttonbg').attr("title", "Animationen fortsetzen"); 66 67 slider.stopAuto(); 68 } 69 else{ 70 $('#playpausebutton').removeClass("play") 71 $('#playpausebutton').addClass("pause") 72 $('#playpausebuttonbg').attr("title", "Animationen anhalten"); 73 74 slider.startAuto(); 75 } 76 return false; 77 }; 78 $('#playpausebuttonbg').click(togglePausePlay); 79 $('#playpausebuttonbg').keydown(function(e){ 80 if(e.which == 13) 81 { 82 togglePausePlay(); 83 } 84 }); 85 86 var stopPausePlay = function() { 87 $('#playpausebutton').removeClass("pause") 88 $('#playpausebutton').addClass("play") 89 $('#playpausebuttonbg').attr("title", "Animationen fortsetzen"); 90 91 slider.stopAuto(); 92 return false; 93 } 94 $('.bx-prev').click(stopPausePlay); 95 $('.bx-prev').keydown(function(e){ 96 if (e.which == 13) { 97 stopPausePlay(); 98 } 99 }); 100 $('.bx-next').click(stopPausePlay); 101 $('.bx-next').keydown(function(e){ 102 if (e.which == 13) { 103 stopPausePlay(); 104 } 105 }); 106 107 108 /*-----------------------------------------------Javascript für Projekt end-------------------------------------------------------------------------------*/ 109 110 111 112 113// ---------------- Responsive Navi begin -------------------// 114 $(document).ready(function () { 115 116 var bodyWidth = jQuery(window).width(); 117 if(bodyWidth < 767) { 118 $('a.nohref, a.pfeilSub').attr('href','#'); 119 120 $('.menueId ul li a').click(function() { 121 /*Anzhal der li zählen*/ 122 var list =$(this).next("ul").children("li").length; 123 /*Wenn es mehr als 0 li's gibt soll er ul und li auf display block machen */ 124 if (list>0){ 125 $(this).next("ul").toggle(); 126 $(this).next("ul").children("li").show(); 127 } 128 else { 129 130 } 131 }); 132 $('.menueId ul li ul li a').click(function() { 133 /*Anzhal der li zählen*/ 134 var ullist =$(this).find("ul li ul li").length; 135 /*Wenn es mehr als 0 li's gibt soll er ul und li auf display block machen */ 136 if (ullist>0){ 137 $(this).next("ul").toggle(); 138 $(this).next("ul").children("li").show(); 139 } 140 else { 141 142 } 143 }); 144 } 145 }); 146 $("#responsiveSidemenue .menueId a:empty").text("").remove(); 147 148 $(".activatesub").click(function(){ 149 $("#subnavi").addClass("show"); 150 $(".activesub").show(); 151 $(this).hide(); 152 }); 153 154 $(".activesub").click(function(){ 155 $("#subnavi").removeClass("show"); 156 $(".activatesub").show(); 157 $(this).hide(); 158 }); 159 // hide / show MainNavi 160 $(".nav_responsive_activate").click(function(){ 161 $("#responsiveSidemenue .mainMenueId, #responsiveSidemenue").removeClass("show"); 162 $("#wrap").removeClass("fade"); 163 $("body").removeClass("fadeb"); 164 $(".nav_responsive_active").show(); 165 $(this).hide(); 166 }); 167 168 $(".nav_responsive_active").click(function(){ 169 $("#responsiveSidemenue .mainMenueId, #responsiveSidemenue").addClass("show"); 170 $("body").addClass("fadeb"); 171 $("#wrap").addClass("fade"); 172 $(".nav_responsive_activate").show(); 173 $(this).hide(); 174 }); 175 $( "#wrap" ).click(function() { 176 $("#responsiveSidemenue .mainMenueId, #responsiveSidemenue").removeClass("show"); 177 $("body").removeClass("fadeb"); 178 $("#wrap").removeClass("fade"); 179 $(".nav_responsive_active").show(); 180 $(".nav_responsive_activate").hide(); 181 }); 182 183// ---------------- Responsive Navi end -------------------// 184 185 186 187 188 189 /* ### Menü FallBack ### */ 190 $('.menueId ul.navId ul li:nth-child(4n+5)').addClass('clearleft'); 191 192 /* minigal start */ 193 194 //Klasse .minigal wird mit Klasse .minigalXY erweitert 195 $(".minigal").attr('class', function(index) { 196 return 'minigal minigal' + index; 197 }); 198 199 $('.minigal').each(function(i) { 200
201 //Variablen werden gesetzt und hochgecountet 202 var prev = 'prev'+ i +' browse left'; 203 var next = 'next'+ i +' browse right'; 204 var selector = '.minigal' + i; 205 206 $('<div id="image_wrap'+ i +'"><a href="#" titel="#" rel="lightbox[bigImg'+ i +']" class="bigImg"><img src="fileadmin/templates/images/clear.gif" /><div class="caption"></div></a></div>').prependTo($(selector)); 207 208 $(selector + " .ce-gallery").wrap('<div class="scrollWrap"><div class="scrollable"><div class="items"></div></div></div>'); 209 210 $('<a class="' + prev + '"></a>').insertBefore($(selector + ' .scrollable')); 211 $('<a class="' + next + '"></a>').insertAfter($(selector + ' .scrollable')); 212 $(selector + ' .scrollable').removeAttr("rel"); 213 $(selector + ' .scrollable a, ' + selector + ' .scrollable img').removeAttr("alt"); 214 $(selector + ' .scrollable').removeAttr("title"); 215 $(selector + ' .scrollable a').removeAttr("href"); 216 $(function() { 217 var count = $(selector+' .ce-row').length; 218 for(var c = 0; c<=count;c+=3){ 219 $(selector+' .ce-row').slice(c, c+3).wrapAll('<div class="itemsinnerwrap"></div>'); 220 } 221 222 //initalisierung für jedes einzelne Scrollable Objekt 223 $(selector+' .items').scrollable({vertical: true, prev: '.prev'+i, next: '.next'+i }); 224 225 $(selector+' .items img').click(function() { 226 // see if same thumb is being clicked 227 //if ($(this).hasClass("active")) { return; } 228 // calclulate large image's 229 var url = $(this).attr("src").replace("_t", ""); 230 // get handle to element that wraps the image and make it semi-transparent 231 var wrap = $(selector + ' #image_wrap'+i).fadeTo("fast", 0.7); 232 // the large image 233 var img = new Image(); 234 // call this function after it's loaded 235 img.onload = function() { 236 // make wrapper fully visible 237 wrap.fadeTo("fast", 1); 238 // change the image 239 wrap.find("img").attr("src", url); 240 }; 241 // begin loading the image 242 img.src = url; 243 // activate item 244 $(selector+' .items img').removeClass("active"); 245 246 $(this).addClass("active"); 247 $(selector+ ' #image_wrap'+i+' a.bigImg').each(function() { 248 var src = $(selector+ ' .active').attr('src'); 249 //console.info(src); 250 $(this).attr('href', src); 251 var title = $(selector+ ' .active').attr('title'); 252 $(this).attr('title', title); 253 var caption = $(selector+ ' .active').attr('title'); 254 //console.info (caption); 255 //$(this).class('caption', caption); 256 $(".caption").html(caption); 257 }); 258 // when page loads simulate a "click" on the first image 259 //}); 260 }).filter(":first").click(); 261 }); 262 }); 263 /* minigal end */ 264 265 266 267 268 // Dummy-Bild einf�gen 269 270 $("#contentbereich .teaserPicture a").each(function(){ 271 if ($(this).children().length == 0){ 272 $(this).append("<img src='fileadmin/templates/images/platzhalter.jpg' />") 273 } 274 }); 275 276 277 278 // Dummy-Bild einf�gen 279 $("#homeLayout01 .hometeaser a").each(function(){ 280 if ($(this).children().length == 0){ 281 $(this).append("<img src='fileadmin/templates/images/platzhalterHome.jpg' />") 282 } 283 }); 284 285 286 287 288 289 $(document).ready(function () { 290 291 292 293 294 295 296 297 /* 298 299 $(function(){ 300 $(".jcarousel-clip").css('margin-left',(($(window).width()-1083)/ 2)+((1083*2)*-1)) 301 }); 302 303 $(window).resize(function() { 304 $(".jcarousel-clip").css('margin-left',(($(window).width()-1083)/ 2)+((1083*2)*-1)) 305 }); 306 307 308 $(function(){ 309 $(".jcarousel-prev").css('left',(($(window).width()-1089)/ 2)+5); 310 }); 311 312 $(window).resize(function() { 313 $(".jcarousel-prev").css('left',(($(window).width()-1089)/ 2)+5); 314 }); 315 316 $(function(){ 317 $(".jcarousel-next").css('right',(($(window).width()-1089)/ 2)+4); 318 }); 319 320 $(window).resize(function() { 321 $(".jcarousel-next").css('right',(($(window).width()-1089)/ 2)+4); 322 }); 323 */ 324 325 /*---------News img display:none start---------*/ 326 327 $( ".newsNone:first-child" ).addClass( "news" ); 328 $( ".news:first-child" ).removeClass( "newsNone" ); 329 330 /*---------News img display:none end---------*/ 331 332 333 334 335 336 }); 337 338 339 340 }); 341 342 343 344 345function createCookie(name,value,days){ 346 if (days){ 347 var date = new Date(); 348 date.setTime(date.getTime()+(days*24*60*60*1000)); 349 var expires = "; expires="+date.toGMTString(); 350 } 351 else var expires = ""; 352 document.cookie = name+"="+value+expires+"; path=/"; 353} 354 355function readCookie(name){ 356 var nameEQ = name + "="; 357 var ca = document.cookie.split(';'); 358 for(var i=0;i < ca.length;i++){ 359 var c = ca[i];
360 while (c.charAt(0)==' ') c = c.substring(1,c.length); 361 if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length); 362 } 363 return null; 364} 365 366function eraseCookie(name){ 367 createCookie(name,"",-1); 368} 369 370 371function AllMessages() { 372 for(var x=0;x<document.SEARCH.elements.length;x++) { 373 var y=document.SEARCH.elements[x]; 374 if(y.name!='ALLMSGS') y.checked=document.SEARCH.ALLMSGS.checked; 375 } 376} 377 378 379}); 380 381function MM_jumpMenu(targ,selObj,restore){ //v3.0 382 eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'"); 383 if (restore) selObj.selectedIndex=0; 384 } 385 386 387function MM_swapImgRestore() { //v3.0 388 var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc; 389} 390function MM_preloadImages() { //v3.0 391 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); 392 var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) 393 if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} 394} 395 396function MM_findObj(n, d) { //v4.01 397 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { 398 d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} 399 if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; 400 for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); 401 if(!x && d.getElementById) x=d.getElementById(n); return x; 402} 403 404function MM_swapImage() { //v3.0 405 var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3) 406 if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];} 407} 408 409$(function(){ 410 $('a[href=#top]').click(function(){ 411 $('html, body').animate({scrollTop:0}, 'slow'); 412 return false; 413 }); 414});
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.