//
This is some sample text
var ctl19_ctl01_ctl00json = {"imageUrl":"/images/blobs/animation/example.jpg","text":"WHARTON BOATWORKS","textSize":"50","picSize":"None","_loop":"1","animation":"fadeIn","duration":"3","delay":"0","pageSelected":"0","center":"0","textColor":"White","border":"0","showWhileWaiting":"0","beforeFirstShowing":"noshow","beforeSubsequentShowings":"show","link":"/"}; $(document).ready(function () { ctl19_ctl01_ctl00setInitialParameters(); }); function ctl19_ctl01_ctl00testAnim() { $('#ctl19_ctl01_ctl00animationSandbox').removeClass().addClass(ctl19_ctl01_ctl00json.animation + ' ts-animated').one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend', function () { $(this).removeClass(); }); }; function ctl19_ctl01_ctl00setInitialParameters() { $('#ctl19_ctl01_ctl00animationSandbox img').attr('src', ctl19_ctl01_ctl00json.imageUrl); var text = ctl19_ctl01_ctl00json.text; if ((text == null)) { $('#ctl19_ctl01_ctl00animationText').hide(); } else { text = text.replace(/\n/gm, '
'); $('#ctl19_ctl01_ctl00animationText').html(text); $('#ctl19_ctl01_ctl00animationSandbox h4').css('font-size', ctl19_ctl01_ctl00json.textSize + 'px'); $('#ctl19_ctl01_ctl00animationText').css('color', ctl19_ctl01_ctl00json.textColor); } if (ctl19_ctl01_ctl00json.picSize == 'None') { $('#ctl19_ctl01_ctl00animationSandbox img').hide(); } else { // #310 Bug Fix, animation images not responsive $('#ctl19_ctl01_ctl00animationSandbox img').css('max-width', ctl19_ctl01_ctl00json.picSize + 'px'); $('#ctl19_ctl01_ctl00animationSandbox img').css('height', 'auto'); $('#ctl19_ctl01_ctl00animationSandbox img').css('width', '100%'); } ctl19_ctl01_ctl00setAttributes('duration', '' + ctl19_ctl01_ctl00json.duration + 's'); ctl19_ctl01_ctl00delayedStart(ctl19_ctl01_ctl00json.delay) if (ctl19_ctl01_ctl00json.border == '0') { } else { var borderParameter = '' + ctl19_ctl01_ctl00json.border + 'px solid ' + ctl19_ctl01_ctl00json.textColor; $('#ctl19_ctl01_ctl00animationSandbox').css('border', borderParameter); $('#ctl19_ctl01_ctl00animationSandbox').css('padding', '8px'); } var animation = ctl19_ctl01_ctl00json.animation; if (ctl19_ctl01_ctl00json.pageSelected == 0) { } else { if (ctl19_ctl01_ctl00json.Link == '') { return false; } else { $('#ctl19_ctl01_ctl00animationSandbox').css('cursor', 'pointer'); $('#ctl19_ctl01_ctl00animationSandbox').click(function () { $(this).fadeOut(1000); location.assign(ctl19_ctl01_ctl00json.link); return false; }); } } if (ctl19_ctl01_ctl00json.center == '1') { var as = $('#ctl19_ctl01_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' }); } if (ctl19_ctl01_ctl00json.beforeFirstShowing == 'show') { $('#ctl19_ctl01_ctl00animationSandbox').show(); } } function ctl19_ctl01_ctl00delayedStart(wait) { setTimeout(ctl19_ctl01_ctl00delayedStartDoIt, wait * 1000) } function ctl19_ctl01_ctl00delayedStartDoIt() { // Always show the animation itself $('#ctl19_ctl01_ctl00animationSandbox').show(); ctl19_ctl01_ctl00testAnim(); // set a timer which will tell us when the animation completes (we hope) setTimeout(ctl19_ctl01_ctl00delayedStartDoItAgain, ctl19_ctl01_ctl00json.duration * 1000) } function ctl19_ctl01_ctl00delayedStartDoItAgain() { // an animation just completed if (ctl19_ctl01_ctl00json.beforeSubsequentShowings == "noshow") { $('#ctl19_ctl01_ctl00animationSandbox').fadeOut(200); } // if we only do this once -- we are done if (ctl19_ctl01_ctl00json._loop == '1') { return; } var wait = $('#ctl19_ctl01_ctl00').val(); if (ctl19_ctl01_ctl00json.beforeSubsequentShowings == 'skip') { wait = 0; // no wait on subsequent showings } else { if (ctl19_ctl01_ctl00json.beforeSubsequentShowings == 'show') { } else { $('#ctl19_ctl01_ctl00animationSandbox').fadeOut(200); } } ctl19_ctl01_ctl00delayedStart(wait); } function ctl19_ctl01_ctl00centerIt () { $('#ctl19_ctl01_ctl00animationSandbox').css('position', 'fixed'); $('#ctl19_ctl01_ctl00animationSandbox').css('top', '50%'); $('#ctl19_ctl01_ctl00animationSandbox').css('left', '50%'); $('#ctl19_ctl01_ctl00animationSandbox').center(); } function ctl19_ctl01_ctl00setAttributes(what, value) { //#yourElement { // -vendor-animation-duration: 3s; //-vendor-animation-delay: 2s; //-vendor-animation-iteration-count: infinite; //} ctl19_ctl01_ctl00setAttribute('moz', what, value); ctl19_ctl01_ctl00setAttribute('o', what, value); ctl19_ctl01_ctl00setAttribute('webkit', what, value); ctl19_ctl01_ctl00setAttribute('ms', what, value); } function ctl19_ctl01_ctl00setAttribute(browser, what, value) { var part1 = '-' + browser + '-animation-' + what; var part2 = value; //alert(part1); //alert(part2); $('#ctl19_ctl01_ctl00animationSandbox').css(part1, value); }
Home
(current)
FAQ
(current)
Decision
(current)
Blog
(current)
No decision is necessary at this time...
$(document).ready(function () { App.init(); $('#cycle-slideshow').cycle({ speed: 1500, manualSpeed: 100 }); });
×
Modal Heading
function IsMarketingMessageOn() { var wrk = 0; return wrk == "1" ? true : false; } function returnLoginLink() { return "https://www.talkspot.com/aspx/Blob2/Admin/Signin/SecureSignin.aspx/rp/1972730/rs/www.whartonboats.com"; } function returnRegisterLink() { return "https://www.talkspot.com/aspx/blob2/admin/signin/secureregister.aspx?tempkey="; } function raiseAsyncPostback() { //ff-bug #325 fix setTimeout(function () { __doPostBack("LinkButton_AsyncPostBack", ""); }, 1); } function getBlockOutColor() { return '#c0c0c0'; } function getSSLServer() { return 'www.talkspot.com'; } var allTagsStyle = 'border-box'; var publicMsgid = '1972730'; var publicHoaid = '120861' var publicJsVersion = '2019-09-11'; var publicIsResponsive = 'true'; var publicPageCount = (('1') * 1); var publicBlogEntryId = ''; var customer_email = ''; var customer_number = ''; var customer_avatar = '/images/Blobs/bbsPerson2.0.png?y=1015'; var customer_pending_comments = '0'; var customer_notifications = '0'; var public_hasSEOPriviledges = ''; var public_hasMailingListPriviledges = ''; var public_hasEditingPriviledges = ''; var public_domain_admin_link = ''; var public_domain_mail_link = ''; var my_editing = false; $(document).ready(function () { var public_isAdmin = 'false'; var public_isPreview = 'false' if (public_isPreview == 'false') { if (public_isAdmin == 'true') { my_editing = true; var publicJsVersion = '2019-09-11'; var fix = '/aspx/blob2/admin/blobpg'; var fix2 = '/blobPgJS.h'; if ($('#UnifyTemplate').length == 0) { fix2 = '/blobPgJS.b3.h'; } var fix3 = 'tml'; var fix4 = fix + fix2 + fix3; $('#tsMenuBlobpage').load(fix4 + '?x=' + publicJsVersion); } } if ($('#UnifyTemplate').length == 0) { $('body').find('div.input-group').find('input').css('box-sizing', 'border-box'); $('body').find('div.input-group').find('span.input-group-btn').attr('style', ''); $('body').find('div.input-group').find('span.input-group-btn').css('box-sizing', 'border-box'); } var $fxdTp; var $fxdBtm; if (my_editing == false) { if ($('.barWrapper').length > 0) { // new preview make it fit var tsmh = $('.barWrapper').outerHeight(); $fxdTp = $('body').find('nav.navbar.fixed-top'); if ($fxdTp.length > 0) { // re-parent the navbar to the of UnifyTemplate, thus // simulating fixed-top, no matter where the original // menu widget was placed this keeps page content // spacing correct without addtional resizing. $fxdTp.removeClass('fixed-top'); $('.barWrapper').append($fxdTp); $('#UnifyTemplate').prepend($('.barWrapper')).css('margin-top', tsmh + 'px'); } // a js widget
... when the page gets synced to B4..should be able to remove extra test. if ($fxdTp.length > 0 && $('#myVideo').length == 0) { var margin = $fxdTp.height() + ($fxdTp.css('padding-top').replace('px', '') * 1) * 2; $('#UnifyTemplate').css('padding-top', margin + 2); // + 2 is for border $('.ts-sidebar').css('margin-top', margin + 2); } } else { // adjust margins top/bottom template for fixed navbars // per ken, doesn't happen when editing. $fxdTp = $('body').find('nav.navbar.fixed-top'); // http://getpaid.talkspot.com, currently has bootstrap3 bits, bootslider (bootstrap3) loading from // a js widget
... when the page gets synced to B4..should be able to remove extra test. if ($fxdTp.length > 0 && $('#myVideo').length == 0) { var margin = $fxdTp.height() + ($fxdTp.css('padding-top').replace('px', '') * 1) * 2; $('#UnifyTemplate').css('padding-top', margin + 2); // + 2 is for border $('.ts-sidebar').css('margin-top', margin + 2); } $fxdBtm = $('body').find('nav.navbar.fixed-bottom'); if ($fxdBtm.length > 0) { var margin = $fxdBtm.height() + ($fxdBtm.css('padding-top').replace('px', '') * 1) * 2; $('#UnifyTemplate').css('padding-bottom', margin + 2); // + 2 is for border $('.ts-sidebar').css('margin-bottom', margin + 2); } // end fixed navbar } } else { setTimeout(function () { var tsmh = $('#ts-menu-main-btn-wrapper').height() $('#UnifyTemplate').css('margin-top', tsmh + 1); // any sidebars we want to nuke placement for editor $('#UnifyTemplate').removeClass('sidebar').removeClass('left').removeClass('right'); $('.ts-sidebar-btn').css('display', 'none'); $('.mnu-wrapper').find('.left').each(function () { $(this).removeClass('left').addClass('leftx'); }); $('.mnu-wrapper').find('.right').each(function () { $(this).removeClass('right').addClass('rightx'); }); }, 100); } if (IsMarketingMessageOn() == true) { var content; $.get('/aspx/_scripts/bootbox/_BoostrapAjax.html', function (data) { content = data; bootbox.dialog({ animate: false, size: "fullscreen", closeButton: true, message: content, title: "Modal title", buttons: { cancel: { label: "Cancel", className: "btn btn-secondary", callback: function () { bootbox.hideAll(); result = 0; } }, OK: { label: "Save", className: "btn btn-" + "primary", callback: function () { bootbox.hideAll(); } } } }).on('shown.bs.modal', function (e) { $("body").css('overflow', 'hidden'); }).on('hide.bs.modal', function (e) { }); }); } }); enableBackground("body"); // Log Off $('body').on('click', '.ts-logout', function (e) { e.preventDefault(); window.location.href = "/aspx/blob2/blobpage2.aspx?type=logoff"; });
//