Click here to Skip to main content
15,171,873 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Friends, here i want to rotate the column named "Description" in SPlist where if i am trying with the image URL i am getting it. but while i am trying the same with label i am rotating only Div can any one help on this please and my need is that i want to slide Description column in SPList please suggest me

<html xmlns="">
        <script type="text/javascript" language="javascript">
            window.onload = function () {
                var rotator = document.getElementById("rotator");
                var images = rotator.getElementsByTagName("img");
                for (var i = 1; i < images.length; i++) {
                    images[i].style.display = "none";
                } var counter = 1; setInterval(function () {
                    for (var i = 0; i < images.length; i++) {
                        images[i].style.display = "none";
                    images[counter].style.display = "block";
                    if (counter == images.length) { counter = 0; }
                }, 1000);


        <form id="form1">
             <div id="rotator">
                 <asp:Repeater ID="repAnnouncements" runat="server"

             <asp:Image ID="imgLink" ImageUrl='<%# Eval("Picture") %>' runat="server" Width="100px" Height="100px"/>





This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900