title: Animate on mouseover an <li> element
body: <p>I have a .ctp file that looks something like this :</p>
  
  <pre><code>&lt;body id="bodyId"&gt;
      &lt;div id="header"&gt;
          &lt;div class="row"&gt;
              &lt;div class="col-xs-4"&gt;&lt;/div&gt;
              &lt;div class="col-xs-offset-6" id="header_menuId"&gt;
                  &lt;ul class="nav nav-pills"&gt;
                      &lt;li&gt;&lt;a href="#"&gt;Home&lt;/a&gt;
                      &lt;/li&gt;
                      &lt;li&gt;&lt;a href="#"&gt;Login&lt;/a&gt;
                      &lt;/li&gt;
                      &lt;li&gt;&lt;a href="#"&gt;SignUp&lt;/a&gt;
                      &lt;/li&gt;
                      &lt;li&gt;&lt;a href="#" data-toggle="modal" data-target="#myModal"&gt;Search&lt;/a&gt;
                      &lt;/li&gt;
                  &lt;/ul&gt;
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/div&gt;
      &lt;div id="content"&gt;
          &lt;?php echo $this-&gt;Session-&gt;flash(); ?&gt;
          &lt;?php echo $this-&gt;fetch('content'); ?&gt;
      &lt;/div&gt;
      &lt;div id="footer"&gt;&lt;/div&gt;
      &lt;?php echo $this-&gt;element('sql_dump'); ?&gt;
  &lt;/body&gt;
  </code></pre>
  
  <p>Now, in this I wanted my li elements to popup little bit every time I scroll my mouse over any of them. However, I have been failing to do so. My jquery code looks like this :</p>
  
  <pre><code>$(function () {
      $("#header_menuId").children("li").each(function () {
          $(this).mouseover(function () {
              ($this).animate({
                  height: '+=150px',
                  width: '+=150px'
              });
          });
      });
  });
  </code></pre>
  
  <p>It  doesn't seem to work anyway I try it. Since, I am new to CakePHP and JQuery, may be I am missing some thing here. I tried using mouseenter() as well instead of mouseover(). The .js file is properly connected with my view. I checked it by creating a simple function that I called on mouse click on a particular element.</p>