title: Understanding Backbone.js event handler
body: <p>So here is my view:</p>
  
  <pre><code>$(function() {
  var ImageManipulation = Backbone.View.extend({
  
      el: $('body'),
      tagName: "img",
  
      events: {
          'mouseover img': 'fullsize',
          'click img#current': 'shrink'
      },
      initialize: function() {
          _.bindAll(this, 'render', 'fullsize', 'shrink');
  
          //var message = this.fullsize;
          //message.bind("test", this.fullsize);
      },
      render: function() {
  
      },
      fullsize: function() {
          console.log("in fullsize function");
          console.log(this.el);
          $('.drop-shadow').click(function() {
              console.log(this.id);
              if (this.id != 'current') {
                  $('.individual').fadeIn();
                  $(this).css('position', 'absolute');
                  $(this).css('z-index', '999');
                  $(this).animate({
                      top: '10px',
                      height: '432px',
                  }, 500, function() {
                      this.id = "current";
                      console.log("animation complete");
                      return true;
                  });
              };
          });
      },
      shrink: function() {
          $('.individual').fadeOut();
          $('#current').animate({
              height: '150px',
          }, 500, function() {
              this.id = "";
              $(this).css('position', 'relative');
              $(this).css('z-index', '1');
              console.log("animation complete");
              return true;
          });
      }
  });
  var startImages = new ImageManipulation();
  });
  </code></pre>
  
  <p>What I don't understand is how to change the el to make 'this' take over the click function I have in full-size.  I would much rather have the click jQuery function removed and have the mouseover function be another click, but I cant seem to figure out how to assign 'this' to the particular image that is being clicked. I hope my question makes sense.</p>