Sorting by

×

Clark County Event Center at the Fairgrounds


Clark County Event Center at the Fairgrounds

We are closely monitoring information shared by the Centers for Disease Control and Prevention (CDC) and the Clark County Health Department about COVID-19 (Coronavirus). Learn More > ‘; $(‘.homepage .header .count-outer’).append(covidMessage); $(‘.homepage .multi-outer’).prepend(covidMessage); }); ]]>

‘} , maxItemsVisible: 4 , isResponsive: false , hasDescription: true , textContainer: true , link: ‘all’ //options are ‘all’, ‘text’, ‘image’, ‘imageAndText’, or ” , attributeOrder: { 1: ‘image’, 2: ‘title’, 3: ‘date’, 4: ‘description’, 5: ‘buttons’ } , multiFeatureLoaded: function(){ $(‘.all-events-btn’).text(‘VIEW FULL CALENDAR’).wrap(‘]]>’); // use function below if “more” text needs to appear at end of description text $(‘#multiScheduleFeature .featureItem’).each(function() { var itemDescripton = $(this).find(‘.featureItemDescription’); var itemTitle = $(this).find(‘.featureItemTitle’); // // uncomment below if you need to slice the date string up into something shorter like “Oct 31″ var eventDate = $(this).find($(‘span.featureItemDate’)); var datesMonth = eventDate.text().slice(0,4); var datesDay = eventDate.text().slice(4,7).replace(‘,’,”); eventDate.text(datesMonth); eventDate.append(“”+datesDay+””); // // uncomment below if you need to limit the characters in the description text var characterLimit =65; var itemDescriptonText = itemTitle.text(); if ( itemDescriptonText.length > characterLimit ) { var trimmedText = itemDescriptonText.substring(0,characterLimit) ; itemTitle.text(trimmedText); } /*var discriptionLimit = 120; var itemDescriptonText = itemDescripton.text(); if ( itemDescriptonText.length > discriptionLimit ) { var trimmedText = itemDescriptonText.substring(0,discriptionLimit); itemDescripton.text(trimmedText); }*/ }); } }); }); discriptionLimit ) { var trimmedText = itemDescriptonText.substring(0,discriptionLimit); itemDescripton.text(trimmedText); } }); }, itemsPerPanel: 1, hasImages: true, lazyLoadImages: true, imageIsBackground: true, link: [], // [], [‘all’], [‘image’, ‘title’, ‘description’] maxItemsVisible: 4, moreButton: { visible: true, text: ‘MORE’ }, scriptPath: SITEBASEURL + ‘services/widgetservice.asmx/GetWidgetModuleItemData’, showDescription: true, slideshow: false, // for documentation on Owl Slider: https://owlcarousel2.github.io/OwlCarousel2/docs/started-welcome.html slideshowOptions: { items: 1, loop: true, margin: 10, dots: false, navText: [‘Prev’,’Next’], nav: true }, textOverImage: true }); }); ]]> discriptionLimit ) { var trimmedText = itemDescriptonText.substring(0,discriptionLimit); itemDescripton.text(trimmedText); } }); }, itemsPerPanel: 4, hasImages: true, lazyLoadImages: true, imageIsBackground: true, link: [‘image’], // [], [‘all’], [‘image’, ‘title’, ‘description’] maxItemsVisible:1, moreButton: { visible: true, text: ‘MORE’ }, scriptPath: SITEBASEURL + ‘services/widgetservice.asmx/GetWidgetModuleItemData’, showDescription: true, slideshow: true, // for documentation on Owl Slider: https://owlcarousel2.github.io/OwlCarousel2/docs/started-welcome.html slideshowOptions: { items:1, loop: true, margin: 10, nav: true, navText: [‘Prev’,’Next’] }, textOverImage: false }); }); ]]> 0) { for(var i = tweetNumber-1; i >= 0; i–){ if(twitterLatestTweets[i] != null && twitterLatestTweets[i] != undefined && twitterLatestTweets[i] != ”){ var latestTweet = twitterLatestTweets[i]; var linkedTweet = linkify_entities(latestTweet); getTweetDate(latestTweet.created_at); var linkedTweetElement = $(”+ tweetDate + linkedTweet +’]]>’);

$(‘#twitterfeedContainer’).prepend(linkedTweetElement);
}

}

var userName = latestTweet.user.name;
var screenName = latestTweet.user.screen_name;
var followerCount = latestTweet.user.followers_count;
var userDescription = latestTweet.user.description;
var profileBannerURL = latestTweet.user.profile_banner_url;
var profilePicURL = latestTweet.user.profile_image_url_https.replace(“_normal”,”);

if ( followerCount >= 100 ) {
var userBanner = ‘

Followers’ + followerCount + ‘

‘;
} else {
var userBanner = ”;
}

var screenNameLink = ”;
var userProfilePic = ‘‘;

$(‘#twitterfeedContainer’).prepend(” + userBanner + ” + userProfilePic + screenNameLink + ‘

‘ + userDescription + ‘

‘ + ”);

$(‘#twitterfeedContainer’).append(‘More Tweets‘);

$(‘#twitterfeedTab’).addClass(‘show-tab’);

}
}
}

twitterPanelLoaded();

};

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);
})
}
});

discriptionLimit ) { var trimmedText = itemDescriptonText.substring(0,discriptionLimit); itemDescripton.text(trimmedText); } }); }, itemsPerPanel: 4, hasImages: true, lazyLoadImages: true, imageIsBackground: true, link: [‘image’], // [], [‘all’], [‘image’, ‘title’, ‘description’] maxItemsVisible:1, moreButton: { visible: true, text: ‘MORE’ }, scriptPath: SITEBASEURL + ‘services/widgetservice.asmx/GetWidgetModuleItemData’, showDescription: true, slideshow: false, // for documentation on Owl Slider: https://owlcarousel2.github.io/OwlCarousel2/docs/started-welcome.html slideshowOptions: { items: 1, loop: true, margin: 10, navText: [‘Prev’,’Next’], nav: true }, textOverImage: false }); }); ]]> discriptionLimit ) { var trimmedText = itemDescriptonText.substring(0,discriptionLimit); itemDescripton.text(trimmedText); } }); }, itemsPerPanel: 1, hasImages: true, lazyLoadImages: true, imageIsBackground: true, link: [‘all’], // [], [‘all’], [‘image’, ‘title’, ‘description’] maxItemsVisible: 4, moreButton: { visible: true, text: ‘MORE’ }, scriptPath: SITEBASEURL + ‘services/widgetservice.asmx/GetWidgetModuleItemData’, showDescription: true, slideshow: false, // for documentation on Owl Slider: https://owlcarousel2.github.io/OwlCarousel2/docs/started-welcome.html slideshowOptions: { items: 1, loop: true, margin: 10, navText: [‘Prev’,’Next’], nav: true }, textOverImage: true }); }); ]]> Back to
Top


Source