<div class="page old_fullfixed"> <article> <header style="background-image:url(/uploads/52a1abcc19e3a.JPG);"> </header> <div class="main"> <p id="toggle"> <a href="#">Hide text</a> </p> <script type="text/javascript"> $(document).ready(function() { BN.registerPlugin('showHide', function(){ if ($('body').hasClass('concentrix')) { return; } $('p#toggle').hide(); var postionLink = function() { $('p#toggle').hide(); window.setTimeout(function() { var top = ( $('.intro h1').length ) ? ~~($('.intro h1').offset().top) : 70; var h = $('p#toggle').height(); $('p#toggle').css('top', top - h); $('p#toggle').fadeIn('fast'); }, 1000); }; $(window).resize(function() { postionLink(); }); postionLink(); // $('p#toggle').show(); $('p#toggle a').bind('click', function() { $('.toggleContent').toggle('slow', function(){ var text = ( $(this).is(':visible') ) ? 'Hide Text' : 'Show Text'; if ($(this).is(':visible')) { $('p#toggle a').text('Hide Text') .removeClass('hidden') .addClass('invisible'); postionLink(); } else { $('p#toggle a').text('Show Text') .removeClass('invisible') .addClass('hidden'); } }); return false; }); }); }); </script> <div class="intro toggleContent"> <h1><span>Christmas Gifts</span></h1> </div> <div class="container toggleContent"> <p class="summary">BUY A CHRISTMAS GIFT VOUCHER BEFORE THE 13TH DECEMBER AND BE ENTERED INTO THE DRAW TO WIN AND OVERNIGHT STAY FOR 2 AT THE SLIEVE DONARD RESORT AND SPA</p> <p class="byline"> </p> <hr id="horizontalrule"> <p> <a href="http://www.hastingshotels.com/gift-vouchers.html?utm_source=crown&amp;utm_medium=crowndec&amp;utm_campaign=crown" target="_blank"><img src="/uploads/52a1ab57d9387.jpg" style="opacity: 1; width: 552px; " alt=""></a> </p> </div> </div><!-- main--> </article> </div><!-- /page-->
close

Share

Tweet Facebook
Home close

CROWN ONLINE DECEMBER 2013

< >