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)