I'm seeing some inconsistent results when using hide() in
" (document).ready(function()" when using IE. My goal is to try to
hide the other list items in my unordered list and only display one of
them when the page loads. I've posted my code below. Works great in
firefox! Any ideas on how to get the list to hide before the page
loads would be great.


var newsitems;
var curritem=0;

$(document).ready(function(){

  $('#selector a:first').addClass('newsSelect1');

  newsitems = $("#ticker li").hide().size();

  $("#ticker li:eq("+curritem+")").show();

  var int = setInterval(ticknews,5000);
 });

Reply via email to