Subversion Repositories SmartDukaan

Rev

Rev 4656 | Rev 6086 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4656 Rev 5145
Line 1... Line 1...
1
var $items = $('#vtab>ul>li');
1
var $items = $('#vtab>ul>li');
2
 
2
 
3
$items.click(function() {
3
$items.click(function() {
4
    $items.removeClass('selected');
4
    $items.removeClass('selected');
5
    $(this).addClass('selected');
5
    $(this).addClass('selected');
6
    //alert($(this).text());
-
 
7
    trackEventWithGA('Payment Option', $(this).text(), "");
6
    trackEventWithGA('Payment Option', $(this).text(), "");
8
    var index = $items.index($(this));
7
    var index = $items.index($(this));
9
    $('#vtab>div').hide().eq(index).show();
8
    $('#vtab>div').hide().eq(index).show();
10
}).eq(0).click();
9
}).eq(0).click();
11
 
10