2010
Dec
22


Java and JavaScript are two completely different languages in both concept and design!







Java (developed by Sun Microsystems)
is a powerful and much more complex programming language - in the same category as C and C++.
JavaScript is the most popular scripting
language on the internet, and works in all major browsers, such as Internet Explorer, Firefox,
Chrome, Opera, and Safari.




Java (developed by Sun Microsystems)
is a powerful and much more complex programming language - in the same category as C and C++.
JavaScript is the most popular scripting
language on the internet, and works in all major browsers, such as Internet Explorer, Firefox,
Chrome, Opera, and Safari.



Java (developed by Sun Microsystems)
is a powerful and much more complex programming language - in the same category as C and C++.
JavaScript is the most popular scripting
language on the internet, and works in all major browsers, such as Internet Explorer, Firefox,
Chrome, Opera, and Safari.


The End

使用教学
  • 需要的JS档案有:vjUI_Scrollbar.js
  • 需要的CSS档案有:scrolling.css 此CSS主要是设定卷轴的图片档,长宽等等。
  • 设定div的id ,example : parentID:"xxx"
语法范例
  1. <div id="div" class="div" style="height: 320px; width: 680px; overflow: hidden; padding: 0px 0pt 0pt 10px;">内容</div>  
  2. <script>  
  3. $(document).ready(function(){  
  4.     scroll =new vjUI_Scrillbar({parentID:"div",width:320,scrollArrowWidth:49,scrollArrowHeight:44,scrollHandleHeight:35,scrollGap:0},{});  
  5. });  
  6. </script> 

回應 (Leave a comment)