Vanilla 2
Discussions
Activity
Sign In
prettyPhoto support
Just Need a Little Help (sharepoint)
dforsman
July 2010
Info from: http://mphacker.spaces.live.com/blog/cns!8040CC624DDC5404!688.entry
My picture gallery is called: Picnic 2010
Located at: http://intranet/firmhappenings/Picnic%202010/Forms/AllItems.aspx
Need some help with the paths.
_spBodyOnLoadFunctionNames.push("LoadPhotoListData");
function LoadPhotoListData() {
var soapEnv =
" \
\
\
Picnic 2010 \
\
\
\
\
\
\
\
\
\
\
";
jQuery.ajax({
url: "http://intranet/_vti_bin/lists.asmx",
type: "POST",
dataType: "xml",
data: soapEnv,
complete: processResult,
contentType: "text/xml; charset=\"utf-8\""
});
}
function processResult(xData, status) {
jQuery(xData.responseXML).find("z\\:row").each(function() {
var url = $(this).attr("ows_FileRef");
url = url.substring(url.indexOf(';#') + 2);
var title = $(this).attr("ows_Title");
if (title == undefined)
title = $(this).attr("ows_NameOrTitle");
var liHtml = " ";
jQuery("#myThumbs").append(liHtml);
});
jQuery("a[rel^='prettyPhoto']").prettyPhoto({
animationSpeed: 'normal', /* fast/slow/normal */
padding: 40, /* padding for each side of the picture */
opacity: 0.35, /* Value betwee 0 and 1 */
showTitle: true, /* true/false */
allowresize: true, /* true/false */
counter_separator_label: '/', /* The separator for the gallery counter 1 "of" 2 */
theme: 'light_rounded', /* light_rounded / dark_rounded / light_square / dark_square */
callback: function() { }
});
}
mlseim
July 2010
This is an invalid link:
Located at: http://intranet/firmhappenings/Picnic%202010/Forms/AllItems.aspx
Can't do much to help you out, sorry.
Add a Comment
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Apply for Membership
Categories
All Discussions
2,644
General
305
Showoff your stuff!
8
prettyComments support
7
prettySociable support
43
WP-prettyphoto support
179
prettyCheckboxes support
40
prettyGallery support
74
prettyMobile support
34
prettyPhoto support
1,937
prettyLoader support
12
INK - Support forum
5
Powered by Vanilla