Signin  Pricing  Examples  Support

Libraries > likebar.js

likebar.js - Search Live Website Code
It's like doing CTRL+F on millions of websites' source code



NerdyData is a search engine for source code. Search the source code of 200 million websites.


JAVASCRIPT FILE http://www.antena2.com.co/sites/all/themes/antena2/js/likebar.js

Function Explorer





Libraries on www.antena2.com.co


likebar.js

es_0f7bd07d073de25651bd3e2dd86379c3.js



Explore More


dom_2.0.2-b3.js

event_2.0.0-b2.js

script.js

yahoo_2.0.0-b2.js

likebar.js
				

  var box_down = false;
  function slide_up(){
    if (box_down == true){
      $("#top_side").animate({
        top: '-33',
        opacity: 1
      },{queue: false, duration: "slow"}, "easein");
      box_down = false;
    }
  }
  function slide_down(){
    if (box_down == false){
      $("#top_side").animate({
        top: '+0',
        opacity: 1
      },{queue: false, duration: "slow"}, "easein");
      box_down = true;
    }
  }
  if (jQuery.browser.msie == true && jQuery.browser.version <= 6){
    /* IE6 Hack - Start */
    $(document).ready(function(){
      function resize_for_ie6(){
        $("#top_side").width($(".ie6_wrapper").width()-20); 
      }
      resize_for_ie6();
      $(".ie6_wrapper").resize(function (){
        resize_for_ie6();
      });
      $(".ie6_wrapper").scroll(function(event_info){
        debugging = $(".ie6_wrapper").scrollTop();
        check_scroll_position = $(".ie6_wrapper").scrollTop();
        if(check_scroll_position<=30){
          setTimeout("slide_up()", 500);
          //slide_up();
        }else{
          setTimeout("slide_down()", 500);
          //slide_down();
        }
        
        $('#event_info_text').html('<div>.scroll called.</div>'+debugging); 
        return false;
      });
    });
    /* IE6 Hack - End */
  }else{
    $(document).ready(function(){
      $(window).scroll(function(event_info){
        debugging = $(window).scrollTop();
        check_scroll_position = $(window).scrollTop();
        if(check_scroll_position<=30){
          slide_up();
        }else{
          slide_down();
        }
        
        $('#event_info_text').html('<div>.scroll called.</div>'+debugging); 
        return true;
      });
    });
  }


A B C D E F G H I J K L M N O P Q R S T U V W X Y Z