2011-11-09 01:34:15 +00:00
|
|
|
var $j = jQuery.noConflict();
|
|
|
|
$j(document).ready(function(){
|
2012-02-07 17:01:00 +00:00
|
|
|
$j('#user-block-hide').hide();
|
|
|
|
$j('#user-block1 span').click(
|
2011-11-09 01:34:15 +00:00
|
|
|
function() {
|
|
|
|
$j(this).toggleClass("active");
|
2012-02-07 17:01:00 +00:00
|
|
|
$j("#user-block-hide").slideToggle(300);
|
2011-11-09 01:34:15 +00:00
|
|
|
}
|
|
|
|
);
|
2012-02-06 18:53:25 +00:00
|
|
|
|
|
|
|
// caching selections to speed up response
|
|
|
|
var tabs = $j('.tabs');
|
|
|
|
var tabsId = $j('#tabs');
|
|
|
|
var tabs1 = $j('.tabs1');
|
|
|
|
var tabs2 = $j('.tabs2');
|
|
|
|
var tabs3 = $j('.tabs3');
|
|
|
|
var contentBlockContent = $j('#content-block-content');
|
|
|
|
var tabsDash1 = $j('.tabs-1');
|
|
|
|
var tabsDash2 = $j('.tabs-2');
|
|
|
|
var tabsDash3 = $j('.tabs-3');
|
|
|
|
|
|
|
|
tabs1.click(function(){
|
|
|
|
tabs.find('.active').removeClass('active');
|
2011-12-14 21:49:36 +00:00
|
|
|
$j('li.tabs1').addClass('active');
|
2012-02-06 18:53:25 +00:00
|
|
|
contentBlockContent.find('.active').removeClass('active');
|
|
|
|
tabsDash1.addClass('active').show(300);
|
|
|
|
tabsDash2.hide(200);
|
|
|
|
tabsDash3.hide(200);
|
|
|
|
tabsId.removeClass('wantto').removeClass('ungluing').addClass('unglued');
|
2011-11-09 01:34:15 +00:00
|
|
|
});
|
2012-02-06 18:53:25 +00:00
|
|
|
tabs2.click(function(){
|
|
|
|
tabs.find('.active').removeClass('active');
|
2011-12-14 21:49:36 +00:00
|
|
|
$j('li.tabs2').addClass('active');
|
2012-02-06 18:53:25 +00:00
|
|
|
contentBlockContent.find('.active').removeClass('active');
|
|
|
|
tabsDash2.addClass('active').show(300);
|
|
|
|
tabsDash1.hide(200);
|
|
|
|
tabsDash3.hide(200);
|
|
|
|
tabsId.removeClass('unglued').removeClass('wantto').addClass('ungluing');
|
2011-11-09 01:34:15 +00:00
|
|
|
});
|
2012-02-06 18:53:25 +00:00
|
|
|
tabs3.click(function(){
|
|
|
|
tabs.find('.active').removeClass('active');
|
2011-12-14 21:49:36 +00:00
|
|
|
$j('li.tabs3').addClass('active');
|
2012-02-06 18:53:25 +00:00
|
|
|
contentBlockContent.find('.active').removeClass('active');
|
|
|
|
tabsDash3.addClass('active').show(300);
|
|
|
|
tabsDash2.hide(200);
|
|
|
|
tabsDash1.hide(200);
|
|
|
|
tabsId.removeClass('unglued').removeClass('ungluing').addClass('wantto');
|
2011-11-09 01:34:15 +00:00
|
|
|
});
|
|
|
|
$j('.empty-wishlist span.bounce-search').click(function(){
|
|
|
|
$j('div.js-search-inner').effect("bounce", 500, function() {
|
|
|
|
$j('div.js-search-inner input[type="text"]').focus();
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|