MieZiiS_JanX Posted July 17, 2013 Report Share Posted July 17, 2013 Labdien! Man ir 2 jQuery plugini, bet abi reizē negrib darboties. Varbūt kāds, kas darbojas ar jQuery var izpalīdzēt un dot padomu kā izlabot šo problēmu? <script src="jquery.min.js"></script> <script src="jquery.nicescroll.js"></script> <script> $(document).ready(function() { $("#boxscroll").css({"overflow-x":"hidden"}); var nicesx = $("#boxscroll").niceScroll({horizrailenabled:false, touchbehavior:false,cursorcolor:"#ffff00",cursoropacitymax:0.6,cursorwidth:7}); }); </script> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script> <script> !window.jQuery && document.write('<script src="jquery-1.4.3.min.js"><\/script>'); </script> <script type="text/javascript" src="./fancybox/jquery.mousewheel-3.0.4.pack.js"></script> <script type="text/javascript" src="./fancybox/jquery.fancybox-1.3.4.pack.js"></script> <link rel="stylesheet" type="text/css" href="./fancybox/jquery.fancybox-1.3.4.css" media="screen" /> <link rel="stylesheet" href="style.css" /> <script type="text/javascript"> $(document).ready(function() { $("a#example8").fancybox({ 'titlePosition' : 'over' }); }); </script> Link to comment Share on other sites More sharing options...
DoubleT Posted July 17, 2013 Report Share Posted July 17, 2013 1. why the hell tu includo 2 jQuery bibliotēkas? https://gist.github.com/anonymous/6022085 pamēģini šo. es nezinu, kas tas nicescroll ir, bet pieņemu, ka abām reizē jāstrādā Link to comment Share on other sites More sharing options...
MieZiiS_JanX Posted July 17, 2013 Author Report Share Posted July 17, 2013 (edited) Paldies, nezinu, 1. reizi izmantoju jQuery pluginus lol hmm nomainiju uz tavu variantu, bet tapat nedarbojas Edited July 17, 2013 by MieZiiS_JanX Link to comment Share on other sites More sharing options...
GOMA smile Posted December 17, 2013 Report Share Posted December 17, 2013 (edited) kas tā pa dirsu ? <script> !window.jQuery && document.write('<script src="jquery-1.4.3.min.js"><\/script>'); </script> Bet ja nopietni tad Inspect, mozillai ir labs plugins firebug.. Atveram viņu, ieslēdzam "Console" Refreshojam(F5) sadaļu kur kkas neiet... Un tev 90%parādīs kas pa kļūdu... Vai arī, ja tas nav pret noteikumiem tad iemet šeit linku... no projekta @DupleT kapēc tā ? var nicesx = $("#boxscroll").niceScroll({horizrailenabled:false, touchbehavior:false,cursorcolor:"#ffff00",cursoropacitymax:0.6,cursorwidth:7}); kapēc ne šitā ? $("#boxscroll").niceScroll({horizrailenabled:false, touchbehavior:false,cursorcolor:"#ffff00",cursoropacitymax:0.6,cursorwidth:7}); Bet tas laikam jau vienalga Edited December 17, 2013 by GOMA smile Link to comment Share on other sites More sharing options...
Recommended Posts