Skip to:
Content
Pages
Categories
Search
Top
Bottom

bbMenu 2.0 alpha help needed (kinda advanced)

  • Well I have read and searched many articles to fix my issue, but still no luck. I have problems uploading the order of the lists when you press submit using bbmenu.

    I know I have to use the serialize option from interface (jQuery), the question only is HOW? How do I get the order updated using it?

    Some stuff I’ve read:

    SortSerialize

    This function returns the hash and an object (can be used as arguments for $.post) for every sortables in the page or specific sortables. The hash is based on the ‘id’ attributes of container and items.

    Code sample:

    serial = $.SortSerialize('sortable1');
    alert(serial.hash);

    And some interesting stuff here:

    The save button function uses the SortSerialize function and some regExp to
    get a comma-delimited list of the movie IDs and sends it to a generic
    webservice:
    $("[EMAIL PROTECTED]").click(function(){
    var serial = $.SortSerialize();
    //alert( serial );
    var idList = serial.hash.replace(/sortableList[]=/gi,'').replace(/
    &/g,',');
    //alert( idList );
    var collectionId = new String( $("[EMAIL PROTECTED]
    $=hiddenCollectionId]").val() );
    if (collectionId != "undefined") {
    $.ajax({
    type: "GET",
    url: "Handlers/Movies.ashx",
    dataType: "html",
    data: "action=savecollection&overwrite=true&collectionId=" +
    collectionId + "&iList=" + idList,
    success: function(msg){
    $("span#updatemsg").html( msg );
    }
    });
    }
    return false;
    });

    (cool: $.ajax is included in jQuery?)

    Any 1 can help me figure this out? The jQuery forum (google groups) is just too sucky (no post appears when I want to add my question) to get any help from.

    To see what I have now download:

    http://www.sourceskins.com/bbmenu2.0alpha.zip

    How to use this Alpha build?

    You MUST have bbmenu 1.2 installed. When installed and running succesfull, deactiate the plugin. Now upload this alpha build and activate it. You can now drag and drop the menu tabs (using jQuery yeah), but saving wont work (the save button is “empty”).

    Thx for the help

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar