title: My jquery plugin is not working on IE
body: <p>i'm creating a gallery slider it is working fine on most of the browsers but not working on IE
  i have tested it on google chrome and firefox no errors found there and it is working as it should be<br>
  please show me where is my error</p>
  
  <p>`(function($){</p>
  
  <pre><code>$.fn.AD_Slider = function(options)
  {
      parent = this;
      parent.append('&lt;span id="AD_slider_holder"&gt;&lt;/span&gt;')
      $('#AD_slider_holder')
              .css
              (
                  {
                      'position': 'absolute',
                      'bottom': '0px',
                      'left':'0px'
                  }
              )
      no_of_items = 0;
      var settings = $.extend(
          {
              item_width: 200,
              animation_time: 1000,
              wait_time: 1000,
              slider_width:400,
              height:300
          },
          options
      );
      this.css
      (
          {
              'position':'relative',
              'width':  settings.slider_width + 'px',
              'height': settings.height + 'px',
              'border':'1px solid',
              'overflow':'hidden'
          }
      )
      $(this).children('div').each(function(){
          parent.children('#AD_slider_holder').append('&lt;div /&gt;');
          parent.children('#AD_slider_holder')
              .each(
                  function()
                  {
                      $(this).children('div')
                          .css
                          (
                              {
                                  'width':'10px',
                                  'height':'10px',
                                  'border':'1px solid',
                                  'margin':'5px',
                                  'float':'left'
                              }
                          )
                  }
              )
          $(this).css
          (
              {
                  'position': 'absolute',
                  'top': '0px',
                  'left': '0px',
                  'width':settings.item_width,
              }
          );  
          $(this).hide();
  
      })
      parent.children('#AD_slider_holder').each(
      function(){
          $(this).children('div').click(
              function()
              {
                  clearTimeout(animator_time_out);
                  animate_next(parent,$(this).index());
              }
          );
      })
      animate_next(this);
  };
  function animate_next(parent,index_no)
  {
      if(!index_no)
      {
          index_no = 0;
      }
      no_of_elements = parent.children('div').length;
      if(no_of_elements == index_no)
      {
          index_no = 0;
      }
      parent.children('div').fadeOut(); 
      parent.children('div:eq('+index_no+')').fadeIn(2000);
      parent
          .children('#AD_slider_holder')
              .each
              (
                  function()
                  {
                      $(this).children().css({'background':'none'})
                  }
              )
      parent.children('#AD_slider_holder')
          .each(
              function()
              {
                  $(this).children('div:eq('+index_no+')')
                      .css
                      (
                          {
                              'background':'red'
                          }
                      )
              }
          )
      index_no++;
      animator_time_out = setTimeout(function(){animate_next(parent,index_no)},5000)
  }
  </code></pre>
  
  <p>})( jQuery );`</p>
  
  <p>i'm using the latest jquery </p>