<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Annoucements Slider using SP Web Services</title>
	<atom:link href="http://davecavins.com/2009/07/annoucement-slider-using-web-services/feed/" rel="self" type="application/rss+xml" />
	<link>http://davecavins.com/2009/07/annoucement-slider-using-web-services/</link>
	<description>web design, SharePoint customization &#38; random stuff</description>
	<lastBuildDate>Wed, 28 Mar 2012 18:07:42 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Ed MacIntosh</title>
		<link>http://davecavins.com/2009/07/annoucement-slider-using-web-services/comment-page-2/#comment-467</link>
		<dc:creator>Ed MacIntosh</dc:creator>
		<pubDate>Fri, 30 Dec 2011 14:18:01 +0000</pubDate>
		<guid isPermaLink="false">http://davecavins.com/?p=146#comment-467</guid>
		<description>Sorry it appears my comment posted wierd. feel free to e-mail me for more info.</description>
		<content:encoded><![CDATA[<p>Sorry it appears my comment posted wierd. feel free to e-mail me for more info.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ed MacIntosh</title>
		<link>http://davecavins.com/2009/07/annoucement-slider-using-web-services/comment-page-1/#comment-466</link>
		<dc:creator>Ed MacIntosh</dc:creator>
		<pubDate>Fri, 30 Dec 2011 14:12:51 +0000</pubDate>
		<guid isPermaLink="false">http://davecavins.com/?p=146#comment-466</guid>
		<description>I had an update to your code to make it easier for less advanced users to use as well as allow the web part to be used on any page. Previous posted version only worked on default.aspx

Hope it helps. 

Ed

//List must be the Announcement list
//Change path to the site or subsite Make sure to leave off the &quot;/default.aspx&quot;
mySiteUrl = &quot;http://SharePoint.myserver.com/sites/EAE&quot;
//Create local copies of the jquery-1.3.2.min.js and easySlider1.5.js files below



&lt;!-- NO EDIT BELOW HERE --&gt;
 
    $(document).ready(function() {
        var soapEnv =
            &quot; \
                 \
                      \
                        Announcements \
                          \
                             \
                                \
                                \
                               FieldRef Name=&#039;ID&#039; /&gt; \
                            \
                         \
                     \
                 \
            &quot;;
        $.ajax({
            url: mySiteUrl + &quot;/_vti_bin/lists.asmx&quot;,
            type: &quot;POST&quot;,
            dataType: &quot;xml&quot;,
            data: soapEnv,
            complete: processResult,
            contentType: &quot;text/xml; charset=\&quot;utf-8\&quot;&quot;
        });
    });

    function processResult(xData, status) {
        $(xData.responseXML).find(&quot;z\\:row&quot;).each(function() {
            var liHtml = &quot;&quot; + $(this).attr(&quot;ows_Title&quot;) + &quot;&lt;a title=&#039;View Item&#039; href=&#039;&quot; + mySiteUrl + &quot;/Lists/Announcements/DispForm.aspx?ID=&quot; + $(this).attr(&quot;ows_ID&quot;) + &quot;&#039; rel=&quot;nofollow&quot;&gt;View Item&lt;/a&gt;&quot; + $(this).attr(&quot;ows_Body&quot;) +&quot;&quot;;
            $(&quot;#tasksUL&quot;).append(liHtml);
        });
  $(&quot;#slider&quot;).easySlider({
   controlsBefore: &#039;&#039;,
   controlsAfter: &#039;&#039;,
   auto: true, 
   continuous: true,
   //vertical: true,
   prevText: &#039;&lt;&gt;&#039;,
   speed: 1000,
   pause: 4000
   });  
  }


#slider{border-bottom:2px solid #ccc; background:#e7e8e9; padding:1px; font-size:x-small;} 
#slider h5{font:italic medium Georgia, Times, serif; color:white; padding:3px; margin-bottom:-10px; background:#990033;}
#slider h5 span{text-transform:lowercase; padding:5px; font:x-small normal Arial, Helvetica, san-serif;}
#slider div {font-size: x-small; padding:3px;} 
#slider ul, #slider li{margin:0; padding:0; list-style:none;}
#slider li{width:600px; height:241px; overflow:hidden; padding:0px;} 
#controls2 {padding:3px 0 0 0; text-align:right; width:600px;}
#prevBtn, #nextBtn{} 
#nextBtn{}              
#prevBtn a, #nextBtn a{font-size:x-small; background-color:#ccc; color:#444; padding:2px; text-decoration:none;} 
#nextBtn a{} 

    
      
 
 
   
   
  </description>
		<content:encoded><![CDATA[<p>I had an update to your code to make it easier for less advanced users to use as well as allow the web part to be used on any page. Previous posted version only worked on default.aspx</p>
<p>Hope it helps. </p>
<p>Ed</p>
<p>//List must be the Announcement list<br />
//Change path to the site or subsite Make sure to leave off the &#8220;/default.aspx&#8221;<br />
mySiteUrl = &#8220;http://SharePoint.myserver.com/sites/EAE&#8221;<br />
//Create local copies of the jquery-1.3.2.min.js and easySlider1.5.js files below</p>
<p><!-- NO EDIT BELOW HERE --></p>
<p>    $(document).ready(function() {<br />
        var soapEnv =<br />
            &#8221; \<br />
                 \<br />
                      \<br />
                        Announcements \<br />
                          \<br />
                             \<br />
                                \<br />
                                \<br />
                               FieldRef Name=&#8217;ID&#8217; /&gt; \<br />
                            \<br />
                         \<br />
                     \<br />
                 \<br />
            &#8220;;<br />
        $.ajax({<br />
            url: mySiteUrl + &#8220;/_vti_bin/lists.asmx&#8221;,<br />
            type: &#8220;POST&#8221;,<br />
            dataType: &#8220;xml&#8221;,<br />
            data: soapEnv,<br />
            complete: processResult,<br />
            contentType: &#8220;text/xml; charset=\&#8221;utf-8\&#8221;"<br />
        });<br />
    });</p>
<p>    function processResult(xData, status) {<br />
        $(xData.responseXML).find(&#8220;z\\:row&#8221;).each(function() {<br />
            var liHtml = &#8220;&#8221; + $(this).attr(&#8220;ows_Title&#8221;) + &#8220;<a title='View Item' href='" + mySiteUrl + "/Lists/Announcements/DispForm.aspx?ID=" + $(this).attr("ows_ID") + "' rel="nofollow">View Item</a>&#8221; + $(this).attr(&#8220;ows_Body&#8221;) +&#8221;";<br />
            $(&#8220;#tasksUL&#8221;).append(liHtml);<br />
        });<br />
  $(&#8220;#slider&#8221;).easySlider({<br />
   controlsBefore: &#8221;,<br />
   controlsAfter: &#8221;,<br />
   auto: true,<br />
   continuous: true,<br />
   //vertical: true,<br />
   prevText: &#8216;&lt;&gt;&#8217;,<br />
   speed: 1000,<br />
   pause: 4000<br />
   });<br />
  }</p>
<p>#slider{border-bottom:2px solid #ccc; background:#e7e8e9; padding:1px; font-size:x-small;}<br />
#slider h5{font:italic medium Georgia, Times, serif; color:white; padding:3px; margin-bottom:-10px; background:#990033;}<br />
#slider h5 span{text-transform:lowercase; padding:5px; font:x-small normal Arial, Helvetica, san-serif;}<br />
#slider div {font-size: x-small; padding:3px;}<br />
#slider ul, #slider li{margin:0; padding:0; list-style:none;}<br />
#slider li{width:600px; height:241px; overflow:hidden; padding:0px;}<br />
#controls2 {padding:3px 0 0 0; text-align:right; width:600px;}<br />
#prevBtn, #nextBtn{}<br />
#nextBtn{}<br />
#prevBtn a, #nextBtn a{font-size:x-small; background-color:#ccc; color:#444; padding:2px; text-decoration:none;}<br />
#nextBtn a{}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: adrian</title>
		<link>http://davecavins.com/2009/07/annoucement-slider-using-web-services/comment-page-1/#comment-436</link>
		<dc:creator>adrian</dc:creator>
		<pubDate>Mon, 04 Jul 2011 00:10:52 +0000</pubDate>
		<guid isPermaLink="false">http://davecavins.com/?p=146#comment-436</guid>
		<description>Thanks Dave, this is a very neat solution.

My next challenge: Can I add a parameter to the URL&#039;s I publish so that I can link to a particular item within the slideshow (i.e. so that it becomes the first slide displayed).

E.g. The Announcement items each have an ID. Is there a way to use this in the page URL so that the first slide displayed can be changed?

Alternatively, does anyone have another way of linking to an individual item once using a slideshow?</description>
		<content:encoded><![CDATA[<p>Thanks Dave, this is a very neat solution.</p>
<p>My next challenge: Can I add a parameter to the URL&#8217;s I publish so that I can link to a particular item within the slideshow (i.e. so that it becomes the first slide displayed).</p>
<p>E.g. The Announcement items each have an ID. Is there a way to use this in the page URL so that the first slide displayed can be changed?</p>
<p>Alternatively, does anyone have another way of linking to an individual item once using a slideshow?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ethan Stuart</title>
		<link>http://davecavins.com/2009/07/annoucement-slider-using-web-services/comment-page-1/#comment-411</link>
		<dc:creator>Ethan Stuart</dc:creator>
		<pubDate>Tue, 28 Dec 2010 03:27:58 +0000</pubDate>
		<guid isPermaLink="false">http://davecavins.com/?p=146#comment-411</guid>
		<description>Hi Dave,

When I drop the code in a CEWP and change the code to reference the Easy Slider file in my doc library, I get the below error:

None Use for formatted text, tables, and images. true g_DB2EDDC37E7B4778AFA48D2DEE22877B 1 Normal true true true true true true true Modeless 
Default
Cannot import this Web Part. /_layouts/images/mscontl.gif Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c Microsoft.SharePoint.WebPartPages.ContentEditorWebPart 

I wasn&#039;t sure what to do with the Easy Slider CSS file, so that could be the cause. Any tips or ideas?

Thanks!
Ethan</description>
		<content:encoded><![CDATA[<p>Hi Dave,</p>
<p>When I drop the code in a CEWP and change the code to reference the Easy Slider file in my doc library, I get the below error:</p>
<p>None Use for formatted text, tables, and images. true g_DB2EDDC37E7B4778AFA48D2DEE22877B 1 Normal true true true true true true true Modeless<br />
Default<br />
Cannot import this Web Part. /_layouts/images/mscontl.gif Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c Microsoft.SharePoint.WebPartPages.ContentEditorWebPart </p>
<p>I wasn&#8217;t sure what to do with the Easy Slider CSS file, so that could be the cause. Any tips or ideas?</p>
<p>Thanks!<br />
Ethan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Suneet</title>
		<link>http://davecavins.com/2009/07/annoucement-slider-using-web-services/comment-page-1/#comment-407</link>
		<dc:creator>Suneet</dc:creator>
		<pubDate>Mon, 22 Nov 2010 15:12:03 +0000</pubDate>
		<guid isPermaLink="false">http://davecavins.com/?p=146#comment-407</guid>
		<description>Thanks....saved my time....i was trying this...with SharePoint 2010 CEWP....faced few...reference issues...but finally able to resolve them......</description>
		<content:encoded><![CDATA[<p>Thanks&#8230;.saved my time&#8230;.i was trying this&#8230;with SharePoint 2010 CEWP&#8230;.faced few&#8230;reference issues&#8230;but finally able to resolve them&#8230;&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marty Sharpe</title>
		<link>http://davecavins.com/2009/07/annoucement-slider-using-web-services/comment-page-1/#comment-398</link>
		<dc:creator>Marty Sharpe</dc:creator>
		<pubDate>Thu, 14 Oct 2010 18:21:46 +0000</pubDate>
		<guid isPermaLink="false">http://davecavins.com/?p=146#comment-398</guid>
		<description>Well, it ended up not being the CSS, but rather the coding for the dwp.  I had to replace
        $(xData.responseXML).find(&quot;z\\:row&quot;).each(function() {

with 

$(xData.responseXML).find(“[nodeName=z:row]“) 

Everything seems to work great now in all browsers.  Apparently Safari, Chrome and Opera do not recognize the z:row namespace that the SharePoint Lists Web Service GetListItems operation returns.

Thanks again for the work you put in!</description>
		<content:encoded><![CDATA[<p>Well, it ended up not being the CSS, but rather the coding for the dwp.  I had to replace<br />
        $(xData.responseXML).find(&#8220;z\\:row&#8221;).each(function() {</p>
<p>with </p>
<p>$(xData.responseXML).find(“[nodeName=z:row]“) </p>
<p>Everything seems to work great now in all browsers.  Apparently Safari, Chrome and Opera do not recognize the z:row namespace that the SharePoint Lists Web Service GetListItems operation returns.</p>
<p>Thanks again for the work you put in!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marty</title>
		<link>http://davecavins.com/2009/07/annoucement-slider-using-web-services/comment-page-1/#comment-397</link>
		<dc:creator>Marty</dc:creator>
		<pubDate>Wed, 13 Oct 2010 16:55:18 +0000</pubDate>
		<guid isPermaLink="false">http://davecavins.com/?p=146#comment-397</guid>
		<description>@Dave, thanks for the assistance.  I&#039;ve actually added the height and width to #slider and it now at least has the same height and width as with IE and FF, but content is still not showing (still shows in IE and FF).  I will try and play with the CSS to see if there is a reason the content is not showing.

Thanks again!</description>
		<content:encoded><![CDATA[<p>@Dave, thanks for the assistance.  I&#8217;ve actually added the height and width to #slider and it now at least has the same height and width as with IE and FF, but content is still not showing (still shows in IE and FF).  I will try and play with the CSS to see if there is a reason the content is not showing.</p>
<p>Thanks again!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: davecavins</title>
		<link>http://davecavins.com/2009/07/annoucement-slider-using-web-services/comment-page-1/#comment-396</link>
		<dc:creator>davecavins</dc:creator>
		<pubDate>Wed, 13 Oct 2010 16:46:54 +0000</pubDate>
		<guid isPermaLink="false">http://davecavins.com/?p=146#comment-396</guid>
		<description>@ Marty I have not tested the script in those browsers but it is probably an issue in the CSS.  Verify that the elements are being created on the page and then adjust the CSS.  You might need to specify a height for #slider</description>
		<content:encoded><![CDATA[<p>@ Marty I have not tested the script in those browsers but it is probably an issue in the CSS.  Verify that the elements are being created on the page and then adjust the CSS.  You might need to specify a height for #slider</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marty</title>
		<link>http://davecavins.com/2009/07/annoucement-slider-using-web-services/comment-page-1/#comment-395</link>
		<dc:creator>Marty</dc:creator>
		<pubDate>Wed, 13 Oct 2010 16:34:42 +0000</pubDate>
		<guid isPermaLink="false">http://davecavins.com/?p=146#comment-395</guid>
		<description>Thanks Dave for the very informative post.  I was just able to get the slider to work perfectly within IE and Firefox, but only the Prev and Next shows up in Safari, Opera and Chrome.  Do you have any idea why?</description>
		<content:encoded><![CDATA[<p>Thanks Dave for the very informative post.  I was just able to get the slider to work perfectly within IE and Firefox, but only the Prev and Next shows up in Safari, Opera and Chrome.  Do you have any idea why?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: davecavins</title>
		<link>http://davecavins.com/2009/07/annoucement-slider-using-web-services/comment-page-1/#comment-348</link>
		<dc:creator>davecavins</dc:creator>
		<pubDate>Thu, 03 Jun 2010 20:21:49 +0000</pubDate>
		<guid isPermaLink="false">http://davecavins.com/?p=146#comment-348</guid>
		<description>@Frank - In the past I have tried adding alerts to the script just to be sure it is firing.  I plan to rewrite this script one day because so many people have had issues with it not working.</description>
		<content:encoded><![CDATA[<p>@Frank &#8211; In the past I have tried adding alerts to the script just to be sure it is firing.  I plan to rewrite this script one day because so many people have had issues with it not working.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Frank</title>
		<link>http://davecavins.com/2009/07/annoucement-slider-using-web-services/comment-page-1/#comment-346</link>
		<dc:creator>Frank</dc:creator>
		<pubDate>Wed, 26 May 2010 23:25:08 +0000</pubDate>
		<guid isPermaLink="false">http://davecavins.com/?p=146#comment-346</guid>
		<description>I&#039;m having the same problem as @FADI.
I add the code to a CEWP and nothing is shown ,no error, no display.  Any ideas how to troubleshoot?

Thanks.</description>
		<content:encoded><![CDATA[<p>I&#8217;m having the same problem as @FADI.<br />
I add the code to a CEWP and nothing is shown ,no error, no display.  Any ideas how to troubleshoot?</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nicole</title>
		<link>http://davecavins.com/2009/07/annoucement-slider-using-web-services/comment-page-1/#comment-241</link>
		<dc:creator>Nicole</dc:creator>
		<pubDate>Mon, 15 Mar 2010 12:10:08 +0000</pubDate>
		<guid isPermaLink="false">http://davecavins.com/?p=146#comment-241</guid>
		<description>Thanks, Dave! Looks much better now. ;)
One more question: is there a way to make the sliding stop when you click or mouseover, so that people can read without having to go back all the time?</description>
		<content:encoded><![CDATA[<p>Thanks, Dave! Looks much better now. <img src='http://davecavins.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
One more question: is there a way to make the sliding stop when you click or mouseover, so that people can read without having to go back all the time?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: davecavins</title>
		<link>http://davecavins.com/2009/07/annoucement-slider-using-web-services/comment-page-1/#comment-235</link>
		<dc:creator>davecavins</dc:creator>
		<pubDate>Wed, 10 Mar 2010 14:51:18 +0000</pubDate>
		<guid isPermaLink="false">http://davecavins.com/?p=146#comment-235</guid>
		<description>There is a character limit set in the javascript.  
[sourcecode]var teaserText = teaser.slice(0,500);  [/sourcecode]
This code gets the first 500 characters of the body of the announcement.  Just change 500 to a larger number if you want to show more text.  Hope this helps.</description>
		<content:encoded><![CDATA[<p>There is a character limit set in the javascript.  </p>
<pre class="brush: plain; title: ; notranslate">var teaserText = teaser.slice(0,500);  </pre>
<p>This code gets the first 500 characters of the body of the announcement.  Just change 500 to a larger number if you want to show more text.  Hope this helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nicole</title>
		<link>http://davecavins.com/2009/07/annoucement-slider-using-web-services/comment-page-1/#comment-233</link>
		<dc:creator>Nicole</dc:creator>
		<pubDate>Wed, 10 Mar 2010 09:50:07 +0000</pubDate>
		<guid isPermaLink="false">http://davecavins.com/?p=146#comment-233</guid>
		<description>Hi Dave,

I&#039;m having a little problem: I&#039;ve adjusted the height in the CSS and I can clearly see that there is enough space for at least two more lines, but my text gets cut off in the middle of a row as if there was a maximum number of characters. Do you have an idea what the problem could be?

Thanks
Nicole</description>
		<content:encoded><![CDATA[<p>Hi Dave,</p>
<p>I&#8217;m having a little problem: I&#8217;ve adjusted the height in the CSS and I can clearly see that there is enough space for at least two more lines, but my text gets cut off in the middle of a row as if there was a maximum number of characters. Do you have an idea what the problem could be?</p>
<p>Thanks<br />
Nicole</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: davecavins</title>
		<link>http://davecavins.com/2009/07/annoucement-slider-using-web-services/comment-page-1/#comment-231</link>
		<dc:creator>davecavins</dc:creator>
		<pubDate>Tue, 23 Feb 2010 15:30:27 +0000</pubDate>
		<guid isPermaLink="false">http://davecavins.com/?p=146#comment-231</guid>
		<description>@Fadi I have used the SOAP method in environments where authenticated feeds are not supported and it worked fine. Check and make sure the list name is correct in the SOAP envelope. I like using the SOAP/wweb service method but it is very picky and easy to break.</description>
		<content:encoded><![CDATA[<p>@Fadi I have used the SOAP method in environments where authenticated feeds are not supported and it worked fine. Check and make sure the list name is correct in the SOAP envelope. I like using the SOAP/wweb service method but it is very picky and easy to break.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

