I have a site that runs n Vivvo CMS. It is based mainly on Prototype. I would like to implement on site this function, but is jQuery based. Allthough i use jQuery.noconflict, it still doesn't run.
I would like to convert the code below from jQuery to Prototype, can anyone help me?
$(document).ready(function(){
 $(window).scroll(function(){
  // get the height of #wrap
  var h = $('#wrap').height();
  var y = $(window).scrollTop();
  if( y > (h*.25) && y < (h*.75) ){
   // if we are show keyboardTips
   $("#tips").fadeIn("slow");
  } else {
   $('#tips').fadeOut('slow');
  }
 });
});
Thank you.
 
     
     
    