Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11571

Announcement item and images in slideshow

$
0
0

Hi,

I am trying to display Image from picture library and announcement items in carousal.

In the announcement list, I have added a column for URL of that picture.

Using content query web part, I am trying to achieve this.

While editing in the Itemstyle.xsl I have written below code.

<div id = "slide">

<img src="{$SafeImageUrl}" title="{@ImageUrlAltText}" width="400" height="200" alt="Image for Slide show"/><span></span>
             <a onclick="ShowNews('http://waaen0c/Lists/Carousel/DispForm.aspx?ID={@ID}','Carousel');">
              <xsl:value-of select="@Title" /><!-- this is title of that announcement -->
</a>    -->  

        </div>

For the Id slide, I have written, Jquery for slideshow.

It should display 5 items in slide show.

Now the problem is, in the above code, it displays 1st picture as 1st slide and title as 2nd slide.

Rest all are not coming in slideshow, displays just one by one.

Please let me know, where I am doing mistake.


Viewing all articles
Browse latest Browse all 11571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>