Subversion-Projekte lars-tiefland.shop_ns

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
5 lars 1
            $(function()
2
            {
3
                $('.order_details').hide();
4
                $('.order_details_button').click(show_details);
5
                $('.order_list_button').hide().click(hide_details);
6
            });
7
            function show_details()
8
            {
9
                id=this.id;
10
                id_arr=id.split("_");
11
                b_nr=id_arr[3];
12
                $('#order_details_'+b_nr).load("/module/getOrderDetails.php?id="+b_nr);
13
                $('#order_details_'+b_nr).show(500);
14
                $(this).hide();
15
                $('#order_list_button_'+b_nr).show();
16
            }
17
            function hide_details()
18
            {
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
            }