This is some sample text
$(document).ready(function () {
var pageEditing = 'false';
if (pageEditing == 'true') {
$('#ctl19_ctl00_ctl00animationSandbox').html('
Animation Widget - use Page Preview to view
');
$('#ctl19_ctl00_ctl00animationSandbox').show();
}
else {
ctl19_ctl00_ctl00setInitialParameters();
}
});
function ctl19_ctl00_ctl00testAnim() {
var anim = $('#ctl19_ctl00_ctl00_hdn_animation').val();
//$('#ctl19_ctl00_ctl00animationSandbox').bind("animationend", function () {
// alert("User clicked on 'foo.'");
//});
$('#ctl19_ctl00_ctl00animationSandbox').removeClass().addClass(anim + ' ts-animated').one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend', function () {
$(this).removeClass();
});
};
function ctl19_ctl00_ctl00setInitialParameters() {
var imageUrl = $('#ctl19_ctl00_ctl00_hdn_imageUrl').val();
$('#ctl19_ctl00_ctl00animationSandbox img').attr('src', imageUrl);
var text = $('#ctl19_ctl00_ctl00_hdn_text').val();
text = text.replace(/\n/gm, '
');
$('#ctl19_ctl00_ctl00animationText').html(text);
var textSize = $('#ctl19_ctl00_ctl00_hdn_textSize').val();
$('#ctl19_ctl00_ctl00animationSandbox h4').css('font-size', textSize + 'px');
var textColor = $('#ctl19_ctl00_ctl00_hdn_textColor').val();
$('#ctl19_ctl00_ctl00animationText').css('color', textColor);
var picSize = $('#ctl19_ctl00_ctl00_hdn_picSize').val();
if (picSize == 'None') {
$('#ctl19_ctl00_ctl00animationSandbox img').hide();
}
else {
// #310 Bug Fix, animation images not responsive
$('#ctl19_ctl00_ctl00animationSandbox img').css('max-width', picSize + 'px');
$('#ctl19_ctl00_ctl00animationSandbox img').css('height', 'auto');
$('#ctl19_ctl00_ctl00animationSandbox img').css('width', '100%');
}
var loop = $('#ctl19_ctl00_ctl00_hdn_loop').val();
//ctl19_ctl00_ctl00setAttributes('iteration-count', loop);
var duration = $('#ctl19_ctl00_ctl00_hdn_duration').val();
ctl19_ctl00_ctl00setAttributes('duration', '' + duration + 's');
var delay = $('#ctl19_ctl00_ctl00_hdn_delay').val();
//* ctl19_ctl00_ctl00setAttributes('delay', '' + delay + 's'); *//
ctl19_ctl00_ctl00delayedStart(delay)
var border = $('#ctl19_ctl00_ctl00_hdn_border').val();
if (border == '0') {
}
else {
var borderParameter = '' + border + 'px solid ' + textColor;
$('#ctl19_ctl00_ctl00animationSandbox').css('border', borderParameter);
$('#ctl19_ctl00_ctl00animationSandbox').css('padding', '8px');
}
var animation = $('#ctl19_ctl00_ctl00_hdn_animation').val();
var pageSelected = $('#System.Web.UI.WebControls.HiddenField').val();
if (pageSelected == 0) {
}
else {
$('#ctl19_ctl00_ctl00animationSandbox').css('cursor', 'pointer');
$('#ctl19_ctl00_ctl00animationSandbox').click(function () {
$(this).fadeOut(1000);
var link = $('#ctl19_ctl00_ctl00_hdn_link').val();
location.assign(link);
return false;
});
}
var center = $('#ctl19_ctl00_ctl00_hdn_center').val();
if (center == '1') {
var as = $('#ctl19_ctl00_ctl00animationSandbox');
var p = as.detach();
p.appendTo('body');
as.css({
'position': 'fixed',
'left': '50%',
'top': '50%'
});
as.css({
'margin-left': -as.outerWidth() / 2 + 'px',
'margin-top': -as.outerHeight() / 2 + 'px'
});
}
var beforeFirstShowing = $('#ctl19_ctl00_ctl00_hdn_beforeFirstShowing').val();
if (beforeFirstShowing == 'show') {
$('#ctl19_ctl00_ctl00animationSandbox').show();
}
}
function ctl19_ctl00_ctl00delayedStart(wait) {
setTimeout(ctl19_ctl00_ctl00delayedStartDoIt, wait * 1000)
}
function ctl19_ctl00_ctl00delayedStartDoIt() {
// Always show the animation itself
$('#ctl19_ctl00_ctl00animationSandbox').show();
ctl19_ctl00_ctl00testAnim();
// set a timer which will tell us when the animation completes (we hope)
var duration = $('#ctl19_ctl00_ctl00_hdn_duration').val();
setTimeout(ctl19_ctl00_ctl00delayedStartDoItAgain, duration * 1000)
}
function ctl19_ctl00_ctl00delayedStartDoItAgain() {
// an animation just completed
var beforeSequequentShowings = $('#ctl19_ctl00_ctl00_hdn_beforeSubsequentShowings').val();
if (beforeSequequentShowings == "noshow") {
$('#ctl19_ctl00_ctl00animationSandbox').fadeOut(200);
}
var loop = $('#ctl19_ctl00_ctl00_hdn_loop').val();
// if we only do this once -- we are done
if (loop == '1') {
return;
}
var wait = $('#ctl19_ctl00_ctl00_hdn_delay').val();
if (beforeSequequentShowings == 'skip') {
wait = 0; // no wait on subsequent showings
}
else {
if (beforeSequequentShowings == 'show') {
}
else {
$('#ctl19_ctl00_ctl00animationSandbox').fadeOut(200);
}
}
ctl19_ctl00_ctl00delayedStart(wait);
}
function ctl19_ctl00_ctl00centerIt () {
$('#ctl19_ctl00_ctl00animationSandbox').css('position', 'fixed');
$('#ctl19_ctl00_ctl00animationSandbox').css('top', '50%');
$('#ctl19_ctl00_ctl00animationSandbox').css('left', '50%');
$('#ctl19_ctl00_ctl00animationSandbox').center();
}
function ctl19_ctl00_ctl00setAttributes(what, value) {
//#yourElement {
// -vendor-animation-duration: 3s;
//-vendor-animation-delay: 2s;
//-vendor-animation-iteration-count: infinite;
//}
ctl19_ctl00_ctl00setAttribute('moz', what, value);
ctl19_ctl00_ctl00setAttribute('o', what, value);
ctl19_ctl00_ctl00setAttribute('webkit', what, value);
ctl19_ctl00_ctl00setAttribute('ms', what, value);
}
function ctl19_ctl00_ctl00setAttribute(browser, what, value) {
var part1 = '-' + browser + '-animation-' + what;
var part2 = value;
//alert(part1);
//alert(part2);
$('#ctl19_ctl00_ctl00animationSandbox').css(part1, value);
}
This is some sample text
$(document).ready(function () {
var pageEditing = 'false';
if (pageEditing == 'true') {
$('#ctl19_ctl02_ctl00animationSandbox').html('
Animation Widget - use Page Preview to view
');
$('#ctl19_ctl02_ctl00animationSandbox').show();
}
else {
ctl19_ctl02_ctl00setInitialParameters();
}
});
function ctl19_ctl02_ctl00testAnim() {
var anim = $('#ctl19_ctl02_ctl00_hdn_animation').val();
//$('#ctl19_ctl02_ctl00animationSandbox').bind("animationend", function () {
// alert("User clicked on 'foo.'");
//});
$('#ctl19_ctl02_ctl00animationSandbox').removeClass().addClass(anim + ' ts-animated').one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend', function () {
$(this).removeClass();
});
};
function ctl19_ctl02_ctl00setInitialParameters() {
var imageUrl = $('#ctl19_ctl02_ctl00_hdn_imageUrl').val();
$('#ctl19_ctl02_ctl00animationSandbox img').attr('src', imageUrl);
var text = $('#ctl19_ctl02_ctl00_hdn_text').val();
text = text.replace(/\n/gm, '
');
$('#ctl19_ctl02_ctl00animationText').html(text);
var textSize = $('#ctl19_ctl02_ctl00_hdn_textSize').val();
$('#ctl19_ctl02_ctl00animationSandbox h4').css('font-size', textSize + 'px');
var textColor = $('#ctl19_ctl02_ctl00_hdn_textColor').val();
$('#ctl19_ctl02_ctl00animationText').css('color', textColor);
var picSize = $('#ctl19_ctl02_ctl00_hdn_picSize').val();
if (picSize == 'None') {
$('#ctl19_ctl02_ctl00animationSandbox img').hide();
}
else {
// #310 Bug Fix, animation images not responsive
$('#ctl19_ctl02_ctl00animationSandbox img').css('max-width', picSize + 'px');
$('#ctl19_ctl02_ctl00animationSandbox img').css('height', 'auto');
$('#ctl19_ctl02_ctl00animationSandbox img').css('width', '100%');
}
var loop = $('#ctl19_ctl02_ctl00_hdn_loop').val();
//ctl19_ctl02_ctl00setAttributes('iteration-count', loop);
var duration = $('#ctl19_ctl02_ctl00_hdn_duration').val();
ctl19_ctl02_ctl00setAttributes('duration', '' + duration + 's');
var delay = $('#ctl19_ctl02_ctl00_hdn_delay').val();
//* ctl19_ctl02_ctl00setAttributes('delay', '' + delay + 's'); *//
ctl19_ctl02_ctl00delayedStart(delay)
var border = $('#ctl19_ctl02_ctl00_hdn_border').val();
if (border == '0') {
}
else {
var borderParameter = '' + border + 'px solid ' + textColor;
$('#ctl19_ctl02_ctl00animationSandbox').css('border', borderParameter);
$('#ctl19_ctl02_ctl00animationSandbox').css('padding', '8px');
}
var animation = $('#ctl19_ctl02_ctl00_hdn_animation').val();
var pageSelected = $('#System.Web.UI.WebControls.HiddenField').val();
if (pageSelected == 0) {
}
else {
$('#ctl19_ctl02_ctl00animationSandbox').css('cursor', 'pointer');
$('#ctl19_ctl02_ctl00animationSandbox').click(function () {
$(this).fadeOut(1000);
var link = $('#ctl19_ctl02_ctl00_hdn_link').val();
location.assign(link);
return false;
});
}
var center = $('#ctl19_ctl02_ctl00_hdn_center').val();
if (center == '1') {
var as = $('#ctl19_ctl02_ctl00animationSandbox');
var p = as.detach();
p.appendTo('body');
as.css({
'position': 'fixed',
'left': '50%',
'top': '50%'
});
as.css({
'margin-left': -as.outerWidth() / 2 + 'px',
'margin-top': -as.outerHeight() / 2 + 'px'
});
}
var beforeFirstShowing = $('#ctl19_ctl02_ctl00_hdn_beforeFirstShowing').val();
if (beforeFirstShowing == 'show') {
$('#ctl19_ctl02_ctl00animationSandbox').show();
}
}
function ctl19_ctl02_ctl00delayedStart(wait) {
setTimeout(ctl19_ctl02_ctl00delayedStartDoIt, wait * 1000)
}
function ctl19_ctl02_ctl00delayedStartDoIt() {
// Always show the animation itself
$('#ctl19_ctl02_ctl00animationSandbox').show();
ctl19_ctl02_ctl00testAnim();
// set a timer which will tell us when the animation completes (we hope)
var duration = $('#ctl19_ctl02_ctl00_hdn_duration').val();
setTimeout(ctl19_ctl02_ctl00delayedStartDoItAgain, duration * 1000)
}
function ctl19_ctl02_ctl00delayedStartDoItAgain() {
// an animation just completed
var beforeSequequentShowings = $('#ctl19_ctl02_ctl00_hdn_beforeSubsequentShowings').val();
if (beforeSequequentShowings == "noshow") {
$('#ctl19_ctl02_ctl00animationSandbox').fadeOut(200);
}
var loop = $('#ctl19_ctl02_ctl00_hdn_loop').val();
// if we only do this once -- we are done
if (loop == '1') {
return;
}
var wait = $('#ctl19_ctl02_ctl00_hdn_delay').val();
if (beforeSequequentShowings == 'skip') {
wait = 0; // no wait on subsequent showings
}
else {
if (beforeSequequentShowings == 'show') {
}
else {
$('#ctl19_ctl02_ctl00animationSandbox').fadeOut(200);
}
}
ctl19_ctl02_ctl00delayedStart(wait);
}
function ctl19_ctl02_ctl00centerIt () {
$('#ctl19_ctl02_ctl00animationSandbox').css('position', 'fixed');
$('#ctl19_ctl02_ctl00animationSandbox').css('top', '50%');
$('#ctl19_ctl02_ctl00animationSandbox').css('left', '50%');
$('#ctl19_ctl02_ctl00animationSandbox').center();
}
function ctl19_ctl02_ctl00setAttributes(what, value) {
//#yourElement {
// -vendor-animation-duration: 3s;
//-vendor-animation-delay: 2s;
//-vendor-animation-iteration-count: infinite;
//}
ctl19_ctl02_ctl00setAttribute('moz', what, value);
ctl19_ctl02_ctl00setAttribute('o', what, value);
ctl19_ctl02_ctl00setAttribute('webkit', what, value);
ctl19_ctl02_ctl00setAttribute('ms', what, value);
}
function ctl19_ctl02_ctl00setAttribute(browser, what, value) {
var part1 = '-' + browser + '-animation-' + what;
var part2 = value;
//alert(part1);
//alert(part2);
$('#ctl19_ctl02_ctl00animationSandbox').css(part1, value);
}
|
Internet Service chart (above) by ViaSat
locally installed by Discovery Audio Video
Discovery San Marcos, TX is an authorized direct dealer for ViaSat and Dish Network TV
|
var ctl19_ctl05_ctl00_ii = {"hoaid":140026,"blobid":4031581,"pictureUrl":"/uploads/64229/2018-10-05-10-23-www_exede_com.png","version":"3","maxWidth":"","maxHeight":"","allowStretchHoriz":"false","allowStretchVert":"false","captionDir":"","heading":"Internet Service chart (above) by ViaSat \r\nlocally installed by Discovery Audio Video","caption":"Discovery San Marcos, TX is an authorized direct dealer for ViaSat and Dish Network TV","captionHorizPosition":"center","captionVertPosition":"bottom","talkspot_shaded":"","setLink":{"linkPrefix":"\u003ca style=\"cursor: pointer; \" href=\"http://www.davsat.com/internet-services-exede-starband\" \u003e","linkSuffix":"\u003c/a\u003e","thumbpicurl":""},"modifiedDate":"2018-11-14-19-11-1","fullWidth":"false","capLogoSize":"100","logo":"","logoAlign":"","logoTag":"","widthAttr":"","heightAttr":"","altText":"Discovery San Marcos, TX is an authorized direct dealer for ViaSat and Dish Network TV","dataAttribute":"","jsToKillPadding":"","capColor":"#e31f1f","capHeadingSize":"1.66666666666667","capCaptionSize":"1","imgTag":"\u003cimg id=\"ctl19_ctl05_ctl00_img\" src=\"/uploads/64229/2018-10-05-10-23-www_exede_com.png?z=2018-11-14-19-11-1\" class=\"img-responsive img-fluid blob-simple-pic\" data-thumbnail=\"/uploads/64229/2018-10-05-10-23-www_exede_com.png?version=3\" style=\"margin: 0px auto !important; ;\" alt=\"Discovery San Marcos, TX is an authorized direct dealer for ViaSat and Dish Network TV\" /\u003e","captionTag":"","captionAlign":"","captionTemplate":"","masterTemplate":"\u003cdiv class=\"container-fluid tsMdb \" style=\"padding-left: 0px; padding-right: 0px; overflow:hidden; \"\u003e\r\n \u003cdiv class=\"row\"\u003e\r\n \u003cdiv class=\"col-md-12\"\u003e\r\n \u003ca style=\"cursor: pointer; \" href=\"http://www.davsat.com/internet-services-exede-starband\" \u003e\r\n \u003cdiv class=\"mx-auto\" style=\"\"\u003e\r\n \u003cimg id=\"ctl19_ctl05_ctl00_img\" src=\"/uploads/64229/2018-10-05-10-23-www_exede_com.png?z=2018-11-14-19-11-1\" class=\"img-responsive img-fluid blob-simple-pic\" data-thumbnail=\"/uploads/64229/2018-10-05-10-23-www_exede_com.png?version=3\" style=\"margin: 0px auto !important; ;\" alt=\"Discovery San Marcos, TX is an authorized direct dealer for ViaSat and Dish Network TV\" /\u003e\r\n \u003c/div\u003e\r\n \u003c/div\u003e\r\n \u003c/a\u003e\r\n \u003c/div\u003e\r\n \u003cdiv class=\"flex-center \"\u003e\r\n \u003cdiv class=\"d-inline-block mx-auto \"\u003e\r\n \r\n\u003c!-- captionVerticalCenter --\u003e\r\n\u003ctable style=\"width: 100%\"\u003e\r\n \u003ctr\u003e\r\n \u003ctd\u003e\r\n \u003cspan class=\"d-flex justify-content-center\"\u003e\r\n \r\n \u003c/span\u003e\r\n \u003c/td\u003e\r\n \u003c/tr\u003e\r\n \u003ctr\u003e\r\n \u003ctd\u003e\r\n \u003cspan class=\"d-flex justify-content-center\" style=\"font-size: 1.66666666666667vw; color: #e31f1f;\"\u003eInternet Service chart (above) by ViaSat \r\nlocally installed by Discovery Audio Video\u003c/span\u003e\r\n \u003cspan class=\"d-flex justify-content-center\" style=\"font-size: 1vw; color: #e31f1f;\"\u003eDiscovery San Marcos, TX is an authorized direct dealer for ViaSat and Dish Network TV\u003c/span\u003e\r\n \u003c/td\u003e\r\n \u003c/tr\u003e\r\n\u003c/table\u003e\r\n\u003c!-- captionVerticalCenter --\u003e\r\n\r\n \u003c/div\u003e \r\n \u003c/div\u003e\r\n\u003c/div\u003e\r\n"};