i got this code for requesting content from .php Files from my server:
function contentloader(dataid) {
$("#content").load("controller.php?id="+dataid+"", {}, function() { $(this).fadeIn(900); });
}
Links in my template working with "javascript:contentloader('sitename');" for example:
<a href=javascript:contentloader('home');>Home</a>
The content loads, but the fade-effect doesn't work, and i have no clue why. Maybe you can help me. Thank you very much.