Thu Mar 23 2017
Copied to clipboard! Copy reply
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
// test: hide cddl - lp/offer
$(function(){
	var test_html = '<style type="text/css"> .cddl_test_link_container{ padding: 10px; background-color: #392E0B; color: #fff; text-align: center; text-transform: uppercase; font-size: 14px; font-family: gothamlight; } .cddl_test_link{ cursor: pointer; } .cddl_test_link b{ font-weight: normal; font-family: gothambook; } .rs_classic, .oct_2016_gold_bg{ display: none; } .show_cddl_mobile_test{ display: block; } @media(min-width: 560px){ .cddl_test_link_container{ display: none; } .rs_classic, .oct_2016_gold_bg{ display: block; } } </style> <div class="cddl_test_link_container"> <span class="cddl_test_link">Looking for our <b>CD-ROM</b> products?</span> </div>';
	$(test_html).insertAfter('.oct_2016_blue_bg');

	$('.cddl_test_link').on('click', function(){
		$('.cddl_test_link_container').slideUp();
		$('.rs_classic, .oct_2016_gold_bg').slideDown();
	});
});