Hello!
Iam using two scripts - Nicescroll and fancybox, but I have a problem, only one of them are working. Maybe someone on this forum could help me to solve this problem, I'am a starter in webpage creating and Iam learning.
Heres my code, maybe theres a mistake?
- <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js"></script>
- <script src="jquery.nicescroll.js"></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" />
- <script>
- $(document).ready(function() {
- $("#boxscroll").css({"overflow-x":"hidden"});
- var nicesx = $("#boxscroll").niceScroll({horizrailenabled:false, touchbehavior:false,cursorcolor:"#ffff00",cursoropacitymax:0.6,cursorwidth:7});
-
- $("a#example8").fancybox({
- 'titlePosition' : 'over'
- });
- });
- </script>
- <link rel="stylesheet" href="style.css" />
Thank You and excuse me for my english! :)