ASP.NET Repeater Causing JQuery Image Slider

Posted by Bry4n on Stack Overflow See other posts from Stack Overflow or by Bry4n
Published on 2010-04-28T01:28:22Z Indexed on 2010/04/28 1:43 UTC
Read the original article Hit count: 391

Filed under:
|
|

I have a jquery Image slider in a content page that worked fine. Once I converted it into a asp repeater the first image of the repeater would display twice, then run normally.

Any idea on why the repeater is causing this?

I think I discovered that the first image link

<ItemTemplate>
 <a href='<%#Eval("Url")%>'>
 <img src='<%#Eval("Image")%>' alt="Spring Break 2011"
  rel='<h3><%#Eval("Title")%></h3><%#Eval("Caption")%>'/></a>
</ItemTemplate>

I have to place class="show" in the first item only. Does anyone know how to implement this during the first time it goes through. Hmm

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about ASP.NET