Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>jQuery is only finding the first row in the list view marked with an id of slideshow. From <a href="http://api.jquery.com/id-selector/" rel="nofollow">http://api.jquery.com/id-selector/</a>: </p> <blockquote> <p>For id selectors, jQuery uses the JavaScript function document.getElementById(), which is extremely efficient.</p> <p>Each id value must be used only once within a document. If more than one element has been assigned the same ID, queries that use that ID will only select the first matched element in the DOM. This behavior should not be relied on, however; a document with more than one element using the same ID is invalid.</p> </blockquote> <p>Try using a class instead to select your elements.</p> <p>I didn't try this, but just trying to get you in the right direction... change:</p> <pre><code>&lt;div id="slideshow"&gt; &lt;asp:Image ID="Image1" runat="server" ImageUrl='&lt;%# Eval ("Image1") %&gt;' Width="250px" Height="190px" CssClass="active" /&gt; &lt;asp:Image ID="Image5" runat="server" ImageUrl='&lt;%# Eval ("Image2") %&gt;' Width="250px" Height="190px" /&gt; &lt;asp:Image ID="Image4" runat="server" ImageUrl='&lt;%# Eval ("Image3") %&gt;' Width="250px" Height="190px" /&gt; &lt;/div&gt; </code></pre> <p>to</p> <pre><code>&lt;div class="slideshow"&gt; &lt;asp:Image ID="Image1" runat="server" ImageUrl='&lt;%# Eval ("Image1") %&gt;' Width="250px" Height="190px" CssClass="active" /&gt; &lt;asp:Image ID="Image5" runat="server" ImageUrl='&lt;%# Eval ("Image2") %&gt;' Width="250px" Height="190px" /&gt; &lt;asp:Image ID="Image4" runat="server" ImageUrl='&lt;%# Eval ("Image3") %&gt;' Width="250px" Height="190px" /&gt; &lt;/div&gt; </code></pre> <p>and anywhere your jquery has <code>#slideshow</code> to <code>.slideshow</code></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload