Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- jQuery(document).ready(function() {
- // hides the slickbox as soon as the DOM is ready
- jQuery('#homeslide1').hide();
- jQuery('#homeslide2').hide();
- jQuery('#homeslide3').hide();
- jQuery('#homeslide6').hide();
- jQuery('#homeslide5').hide();
- jQuery('#homeslide4').hide();
- // shows the slickbox on clicking the noted link Â
- jQuery('#homeslide1-show').parent().hover(function() {
- jQuery('#homeslide1').fadeIn('slow');
- return false;
- }, function(){
- jQuery('#homeslide1').fadeOut('slow');
- return false;
- });
- // hides the slickbox as soon as the DOM is ready
- // shows the slickbox on clicking the noted link Â
- jQuery('#homeslide2-show').parent().hover(function() {
- jQuery('#homeslide2').fadeIn('slow');
- return false;
- }, function(){
- jQuery('#homeslide2').fadeOut('slow');
- return false;
- });
- // shows the slickbox on clicking the noted link Â
- jQuery('#homeslide3-show').parent().hover(function() {
- jQuery('#homeslide3').fadeIn('slow');
- return false;
- }, function(){
- jQuery('#homeslide3').fadeOut('slow');
- return false;
- });
- // shows the slickbox on clicking the noted link Â
- jQuery('#homeslide6-show').parent().hover(function() {
- jQuery('#homeslide6').fadeIn('slow');
- return false;
- }, function(){
- jQuery('#homeslide6').fadeOut('slow');
- return false;
- });
- // shows the slickbox on clicking the noted link Â
- jQuery('#homeslide5-show').parent().hover(function() {
- jQuery('#homeslide5').fadeIn('slow');
- return false;
- }, function(){
- jQuery('#homeslide5').fadeOut('slow');
- return false;
- });
- // shows the slickbox on clicking the noted link Â
- jQuery('#homeslide4-show').parent().hover(function() {
- jQuery('#homeslide4').fadeIn('slow');
- return false;
- }, function(){
- jQuery('#homeslide4').fadeOut('slow');
- return false;
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement