Subversion-Projekte lars-tiefland.zeldi.de_alt

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
2 lars 1
$(function() {
2
    $('.order_details').hide();
3
    $('.order_details_button').click(show_details);
4
    $('.order_list_button').hide().click(hide_details);
5
});
6
 
7
function show_details() {
8
    id=this.id;
9
    id_arr=id.split("_");
10
    b_nr=id_arr[3];
11
    $('#order_details_'+b_nr).load("/module/getOrderDetails.php?id="+b_nr,function(){
12
        $('#order_details_'+b_nr).show();
13
        $('#'+id).hide();
14
        $('#order_list_button_'+b_nr).show();
15
    });
16
}
17
 
18
function hide_details() {
19
    id=this.id;
20
    id_arr=id.split("_");
21
    b_nr=id_arr[3];
22
    $('#order_details_'+b_nr).hide(500);
23
    $(this).hide();
24
    $('#order_details_button_'+b_nr).show();
25
}