Hallo,
ich habe eben "Smooth Scroll" eingebunden und getestet und das ging leider nur als ich jQuery.noConflict() aus der jquery Datei von WP entfernt habe.
Entsteht hier irgendwo ein Konflikt oder was hat das zu bedeuten?
Den folgenden "Smooth Scroll" Code habe ich von hier: http://css-tricks.com/examples/SmoothPageScroll/
Code
$(function() {
$('a[href*=#]:not([href=#])').click(function() {
if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) {
var target = $(this.hash);
target = target.length ? target : $('[name=' + this.hash.slice(1) +']');
if (target.length) {
$('html,body').animate({
scrollTop: target.offset().top
}, 1000);
return false;
}
}
});
});
Alles anzeigen