Advertisement
Guest User

Untitled

a guest
Feb 23rd, 2011
807
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.11 KB | None | 0 0
  1. jQuery(document).ready(function() {
  2.  
  3. // hides the slickbox as soon as the DOM is ready
  4. jQuery('#homeslide1').hide();
  5. jQuery('#homeslide2').hide();
  6. jQuery('#homeslide3').hide();
  7. jQuery('#homeslide6').hide();
  8. jQuery('#homeslide5').hide();
  9. jQuery('#homeslide4').hide();
  10.  
  11. // shows the slickbox on clicking the noted link Â
  12. jQuery('#homeslide1-show').parent().hover(function() {
  13. jQuery('#homeslide1').fadeIn('slow');
  14. return false;
  15. }, function(){
  16. jQuery('#homeslide1').fadeOut('slow');
  17. return false;
  18. });
  19.  
  20.  
  21.  
  22. // hides the slickbox as soon as the DOM is ready
  23.  
  24.  
  25. // shows the slickbox on clicking the noted link Â
  26. jQuery('#homeslide2-show').parent().hover(function() {
  27. jQuery('#homeslide2').fadeIn('slow');
  28. return false;
  29. }, function(){
  30. jQuery('#homeslide2').fadeOut('slow');
  31. return false;
  32. });
  33.  
  34.  
  35.  
  36. // shows the slickbox on clicking the noted link Â
  37. jQuery('#homeslide3-show').parent().hover(function() {
  38. jQuery('#homeslide3').fadeIn('slow');
  39. return false;
  40. }, function(){
  41. jQuery('#homeslide3').fadeOut('slow');
  42. return false;
  43. });
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50. // shows the slickbox on clicking the noted link Â
  51. jQuery('#homeslide6-show').parent().hover(function() {
  52. jQuery('#homeslide6').fadeIn('slow');
  53. return false;
  54. }, function(){
  55. jQuery('#homeslide6').fadeOut('slow');
  56. return false;
  57. });
  58.  
  59.  
  60.  
  61. // shows the slickbox on clicking the noted link Â
  62. jQuery('#homeslide5-show').parent().hover(function() {
  63. jQuery('#homeslide5').fadeIn('slow');
  64. return false;
  65. }, function(){
  66. jQuery('#homeslide5').fadeOut('slow');
  67. return false;
  68. });
  69.  
  70.  
  71.  
  72. // shows the slickbox on clicking the noted link Â
  73. jQuery('#homeslide4-show').parent().hover(function() {
  74. jQuery('#homeslide4').fadeIn('slow');
  75. return false;
  76. }, function(){
  77. jQuery('#homeslide4').fadeOut('slow');
  78. return false;
  79. });
  80.  
  81.  
  82. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement