" "Aquileo | Wings Event Center
Facebook Twitter Instagram

Sign up for email updates from Wings Event Center

'); } $('#searchBoxClicker').off('click keydown').on('click keydown', function(e){ if (e.type === 'click' || e.key === 'Enter' || e.key === ' ') { e.preventDefault(); $('.clonedSearchBox').remove(); const $trigger = $(this); const getWidth = $(window).width(); if(getWidth
X
`; $('.header').append(clonedSearchHtml); const $container = $('.clonedSearchBox'); const $input = $container.find('input'); const $submit = $container.find('.searchSubmitButton'); const $closeBtn = $('#closeClonedSearch'); $trigger.attr('aria-expanded', 'true'); $('.clonedSearchBox #searchBoxClicker').remove(); $input.focus(); function closeClonedSearchPopup() { $container.remove(); $trigger.attr('aria-expanded', 'false'); $trigger.focus(); } // Handle Esc key $container.on('keydown', function(event) { if (event.key === 'Escape') { closeClonedSearchPopup(); } }); // Handle Close via the X button $closeBtn.on('click keydown', function(event) { if (event.type === 'click' || event.key === 'Enter' || event.key === ' ') { event.preventDefault(); closeClonedSearchPopup(); } if (event.key === 'Tab' && !event.shiftKey) { event.preventDefault(); $input.focus(); } }); // Handle Shift-Tab on first item $input.on('keydown', function(event) { if (event.key === 'Tab' && event.shiftKey) { event.preventDefault(); $closeBtn.focus(); } }); $input.on('keydown', function(event) { if (event.key === 'Enter') { $submit.click(); } }); } } }); } })
'); // $('#twitterfeedContainer').prepend(linkedTweetElement); // } // } // $('#twitterfeedContainer').prepend('') // //Display the latest tweet // /*var latestTweet = twitterLatestTweets[0]; // var linkedTweet = linkify_entities(latestTweet) // var linkedTweetElement = $('
'+ linkedTweet +'
') // $('#twitterfeedContainer').append(linkedTweetElement)*/ // } // } // } // twitterPanelLoaded(); // }; // //service call has failed // var getTwitterFeedDataError = function (data) { // console.log('Twitter Feed failed to retrieve data' // , '\n' + 'Status: ' + data.status + ' ' + data.statusText // , '\n' + data.responseText); // }; // $(document).ready(function() { // /* $.ajax({ // type: "POST", // url: SITEBASEURL + 'services/thirdparty/twitter/twitterservice.asmx/GetLatestTweets', // data: "{'tweetCount': "+tweetNumber+"}", // contentType: "application/json; charset=utf-8", // dataType: "json", // success: getTwitterFeedDataSuccess, // error: getTwitterFeedDataError // }); // twitterPanelLoaded = function(){$('.twitterFeedItem').each(function(){ // var el = $(this) // $('.twitterWidgetImageLink', this).prependTo(el); // }) // } // });*/
Back to
Top