jQuery(document).ready(function () {
var abc_quicklinkblur = true;
var abc_quicklinkblur_intensity = 10; // Choose int in px between 1-10
var abc_quicklinkblur_opacity = 0.8; // As an IE-Fallback
if(abc_quicklinkblur==true) {
jQuery('.abc-quicklink-caption').foggy({
blurRadius: abc_quicklinkblur_intensity,
opacity: abc_quicklinkblur_opacity,
cssFilterSupport: true
});
}
jQuery('.fancybox-inline').children('a').fancybox();
jQuery('div.abc-quicklink-wrapper, div.abc-quicklink-wrapper-sm').hoverIntent(function () {
old_height = jQuery(this).children('div.abc-quicklink-caption').height();
jQuery(this).children('div.abc-quicklink-caption, div.abc-quicklink-caption-overlay').animate({
"height": jQuery(this).height()+"px"
});
jQuery(this).children('div.abc-quicklink-wrapper div.abc-quicklink-caption-content').animate({
"bottom": "167px"
});
jQuery(this).children('div.abc-quicklink-wrapper-sm div.abc-quicklink-caption-content').animate({
"bottom": "167px"
});
}, function () {
jQuery(this).children('div.abc-quicklink-caption, div.abc-quicklink-caption-overlay').animate({
"height": old_height+"px"
});
jQuery(this).children('div.abc-quicklink-caption-content').animate({
"bottom": "0px"
});
});
jQuery('p.form-submit').wrap('
');
jQuery('').prependTo('#newsubmitwrapper');
jQuery('#edit_profile').val('Mein Profil jetzt aktualisieren');
jQuery('.wppb-back').addClass('button').text('« zurück zur Mitgliederübersicht');
jQuery('.page-id-180 .wppb-back-span').first().hide();
jQuery('.netzwerk-kachel-infos-3 span').each(function () {
cssclass = jQuery(this).attr('class');
jQuery(this).wrap('');
jQuery(''+jQuery(this).data('label')+'').prependTo('div.'+cssclass+'-wrap');
});
jQuery('.wppb-textarea').each(function () {
var str = jQuery(this).html();
var n = str.indexOf('Bitte maximal 100 Zeichen eingeben.');
if(n=='3' || str=='') {
jQuery(this).html('Keine Angabe');
}
});
jQuery('#url').parent('p').hide();
jQuery('p a.download-button').each(function () {
jQuery(this).parent('p').addClass('download-button-outer');
});
jQuery('a.deactive').click(function (e) {
e.preventDefault();
return false;
});
});
/*
if(jQuery('.page-id-6470').length>0)
{
$(function() {
var origTitle, animatedTitle, timer;
function animateTitle(newTitle)
{
var currentState = false;
origTitle = document.title; // save original title
timer = setInterval(startAnimation, 2000);
function startAnimation()
{
n = new Date();
m = n.getMinutes();
h = n.getHours();
if(h<18)
{
animatedTitle = "Um 18:00 gehts los! | " + origTitle;
}
else {
if( h==18 )
animatedTitle = "Jetzt LIVE: Wolfgang Brickwedde | " + origTitle;
if( h==18 && m>44 )
animatedTitle = "Gleich: Tom Klußmann | " + origTitle;
if(h==18 && m>49)
animatedTitle = "Jetzt LIVE: Tom Klußmann | " + origTitle;
if(h==19 && m>32)
animatedTitle = "Gleich: Jürgen Kurz | " + origTitle;
if( h==19 && m>37 )
animatedTitle = "Jetzt LIVE: Jürgen Kurz | " + origTitle;
if( h==20 )
animatedTitle = "Gleich: Donat Matthews | " + origTitle;
if( h==20 && m>02 )
animatedTitle = "Jetzt LIVE: Donat Matthews | " + origTitle;
if( h==20 && m>54 )
animatedTitle = "Gleich: Benjamin Kuttler | " + origTitle;
if( h==21 || (h==20 && m>57) )
animatedTitle = "Jetzt LIVE: Benjamin Kuttler | " + origTitle;
}
// animate between the original and the new title
document.title = currentState ? origTitle : animatedTitle;
currentState = !currentState;
}
}
function restoreTitle() {
clearInterval(timer);
document.title = origTitle;
}
// Change page title on blur
$(window).blur(function() {
animateTitle();
});
// Change page title back on focus
$(window).focus(function() {
restoreTitle();
});
});
}
*/