Jump to content
Sign in to follow this  
Petr

Скрипт отменяет другие

Recommended Posts

Данный скрипт почему то не дает исполнятся другим скриптам на странице... Почемуууу??

(function($){

$(document).ready(function(){
//////////////////////////////////////////////////////////////////////////////////////////////////////////////		
	   
  // -------------------------------------------------------------------------------------------------------
  // Acilir Menu
  // -------------------------------------------------------------------------------------------------------
 
  if ( ! ( $.browser.msie && ($.browser.version == 6) ) ){
   $("ul#topnav li:has(ul)").addClass("dropdown");
  }
 
  $("ul#topnav li.dropdown").hover(function () {
			
   $('ul:first', this).css({visibility: "visible",display: "none"}).slideDown('normal');
  }, function () {
  
   $('ul:first', this).css({visibility: "hidden"});
  });
 
 
  $("div.prod_hold").hover(function () {
			
   $('.info', this).css({visibility: "visible",display: "none"}).slideDown('normal');
  }, function () {
  
   $('.info', this).css({visibility: "hidden"});
  });
 
  $("li.cat_hold").hover(function () {
			
   $('.info', this).fadeIn(300);
  }, function () {
  
   $('.info', this).fadeOut(200);
  });
 
  $("li.side_cart").hover(function () {
			
   $('#cart', this).fadeIn(500);
  
   $('#cart').addClass('active');
 
  $.ajax({
   url: 'index.php?route=checkout/cart/update',
   dataType: 'json',
   success: function(json) {
    if (json['output']) {
	 $('#cart .content').html(json['output']);
    }
   }
  });  
 
  $('#cart').bind('mouseleave', function() {
   $(this).removeClass('active');
  }); 
  
  
  }, function () {
  
   $('#cart', this).fadeOut(200);
  });

  $(".main_menu li").hover(function () {
			
   $('.secondary', this).fadeIn(500);
  }, function () {
  
   $('.secondary', this).fadeOut(200);
  });
 

 
  // -------------------------------------------------------------------------------------------------------
  // Tipsy - tooltips jQuery eklentisi
  // -------------------------------------------------------------------------------------------------------
 
  $('a.wish_button, a.compare_button, a#button-cart, a.twitter_follow').tipsy({gravity: 's', fade: true, title: function() { return this.getAttribute('original-title').toUpperCase(); }});
  $('#service_links li a').tipsy({gravity: 'e', fade: true, title: function() { return this.getAttribute('original-title').toUpperCase(); }});
 
 
  // -------------------------------------------------------------------------------------------------------
  // slayt ogeleri
  // -------------------------------------------------------------------------------------------------------
 
  $("ul.categories li, #sidebar ul.secondary_menu li").hover(function(){
  $("a", this).stop().animate({left:"15px"},{queue:false,duration:200});
  }, function() {
  $("a", this).stop().animate({left:"0px"},{queue:false,duration:200});
  });
 
  // -------------------------------------------------------------------------------------------------------
  // solma ogeleri
  // -------------------------------------------------------------------------------------------------------
 
  $(".banner a img").hover(function() {
  $(this).stop()
  .animate({opacity: 0.6}, "medium")
  }, function() {
  $(this).stop()
  .animate({opacity: 1}, "medium")
  });
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
});

})(window.jQuery);
//  Asagida olmayan jQuery scriptler

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.