2011-12-16 17:16:30 +00:00
|
|
|
var $j = jQuery.noConflict();
|
|
|
|
$j(document).ready(function(){
|
|
|
|
var collapser = document.getElementById("collapser");
|
|
|
|
if(collapser) {
|
|
|
|
$j('#expander a').replaceWith('<a href="#"><span>sign up</span></a>');
|
|
|
|
}
|
|
|
|
$j('#expander').click(function(){
|
|
|
|
$j('#js-topsection').css({"opacity": "0.15"});
|
2012-05-21 19:49:24 +00:00
|
|
|
$j('#js-header').css({"opacity": "0.15"});
|
|
|
|
$j('#js-header a').css({"cursor": "default"});
|
2012-05-21 16:09:45 +00:00
|
|
|
$j('.launch_top').css({"opacity": "0.15"});
|
2011-12-16 17:16:30 +00:00
|
|
|
$j('#main-container').css({"opacity": "0.15"});
|
|
|
|
$j('#js-rightcol').css({"visibility":"hidden"});
|
2012-05-15 23:31:17 +00:00
|
|
|
$j('#expandable').css({"position": "absolute", "z-index": "100", "left":"50%", "margin-left": "-115px"}).fadeTo("slow", 1);
|
2011-12-16 17:16:30 +00:00
|
|
|
});
|
|
|
|
$j('#collapser').click(function(){
|
|
|
|
$j('#js-topsection').fadeTo("slow", 1);
|
2012-05-21 19:49:24 +00:00
|
|
|
$j('#js-header').fadeTo("slow", 1);
|
|
|
|
$j('#js-header a').css({"cursor": "pointer"});
|
2012-05-21 16:09:45 +00:00
|
|
|
$j('.launch_top').fadeTo("slow", 1);
|
2011-12-16 17:16:30 +00:00
|
|
|
$j('#main-container').fadeTo("slow", 1);
|
|
|
|
$j('#js-rightcol').css({"visibility":"visible"});
|
|
|
|
$j('#expandable').css({"display": "none"});
|
|
|
|
});
|
|
|
|
});
|