Just Need a Little Help (sharepoint)
  • 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() { }
    });


    }
  • This is an invalid link:
    Located at: http://intranet/firmhappenings/Picnic%202010/Forms/AllItems.aspx

    Can't do much to help you out, sorry.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Login with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter