Hi Ryan.

I've found out that this is a known problem with IE. Try reading here
for more background: 
http://codylindley.com/Webdev/315/ie-hiding-option-elements-with-css-and-dealing-with-innerhtml

So far, I haven't found a good solution.

Best of luck.
James


On Mar 29, 1:25 am, "Ryan W." <[EMAIL PROTECTED]> wrote:
> 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