Hallo,
ich habe meiner Insatallation ein JQuery Script hinzugefügt mit dem ich bei langen Webseiten wieder nach oben komme.
Nun wird ja mitCode:$(document).ready(function(){ $(function () { var scrollDiv = document.createElement('Div'); $(scrollDiv).attr('id', 'totop').html('Λ').appendTo('.pagenavfree'); $('#totop').wrapInner('a'); $(window).scroll(function () { if ($(this).scrollTop() != 0) { $('#totop').fadeIn(); } else { $('#totop').fadeOut(); } }); $('#totop').click(function () { $('body,html').animate({ scrollTop: 0 }, 800); }); }); }); $(document).ready(function(){$("img").fadeIn(600); });
ein A-Element in das Div eingebunden.Code:$('#totop').wrapInner('a');
Das Problem ist nun das hier automatisch ein blindes Gif eingebunden wird welches ich als Menüicon beim Startbild verwendet habe um per CSS mein Logo einzubinden.
Vielleicht hat ja jemand eine Idee woran das liegt?HTML-Code:<div id="totop"> <a href="http://localhost/joomla1.5_js/"> <img align="left" alt="home" src="/joomla1.5_js/images/stories/blindes.gif">Λ</img> </a> </div>
Viele Grüße


LinkBack URL
About LinkBacks
Zitieren
Lesezeichen