Đặt vé xe buýt trực tuyến bằng PHP / MySQLi

1 /*!
2  * Vallenato
1.0
3  * A Simple JQuery Accordion
4  *
5  * Designed
by Switchroyale
6  *
7  * Use Vallenato
for whatever you want, enjoy!
8  */

9
10 $(document).ready(function()
11 {
12     
//Add Inactive Class To All Accordion Headers
13     $(
'.accordion-header').toggleClass('inactive-header');
14     
15     
//Set The Accordion Content Width
16     
var contentwidth = $('.accordion-header').width();
17     $(
'.accordion-content').css({'width' : contentwidth });
18     
19     
//Open The First Accordion Section When Page Loads
20     $(
'.accordion-header').first().toggleClass('active-header').toggleClass('inactive-header');
21     $(
'.accordion-content').first().slideDown().toggleClass('open-content');
22     
23     
// The Accordion Effect
24     $(
'.accordion-header').click(function () {
25         
if($(this).is('.inactive-header')) {
26             $(
'.active-header').toggleClass('active-header').toggleClass('inactive-header').next().slideToggle().toggleClass('open-content');
27             $(
this).toggleClass('active-header').toggleClass('inactive-header');
28             $(
this).next().slideToggle().toggleClass('open-content');
29         }
30         
31         
else {
32             $(
this).toggleClass('active-header').toggleClass('inactive-header');
33             $(
this).next().slideToggle().toggleClass('open-content');
34         }
35     });
36     
37     
return false;
38 });


Gõ tìm kiếm nhanh...