<div class="page old_fullfixed"> <article> <header style="background-image:url(/uploads/52a1ba72ecfd5.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 Card Video</span></h1> </div> <div class="container toggleContent"> <p class="summary">On behalf of everyone at Hastings Hotels we would like to wish you a very Merry Christmas and a Happy New Year. Please take a few moments to enjoy our Christmas Card!</p> <p class="byline"> </p> <p> <iframe width="760" height="515" src="//www.youtube.com/embed/9v_LSyrVUzQ" frameborder="0" allowfullscreen=""> </iframe> </p> </div> </div><!-- main--> </article> </div><!-- /page-->
close

Share

Tweet Facebook
Home close

CROWN ONLINE DECEMBER 2013

< >