// turns off sharing links when editing
function editCurrent(url) {
window.location.href = url;
}
function deleteBlogEntry(blogid, blogentid, msgid) {
var link = '/aspx/blob2/admin/blogs/blogsdeleteBlogEntry.aspx?blogid=' + blogid + '&blogentid=' + blogentid + '&msgid=' + msgid;
location.href = link;
return;
}
function deleteBlog1Entry(blogid, blog1blogid, blogentid, msgid) {
var link = '/aspx/blob2/admin/blogs/blogsdeleteBlogEntry.aspx?provider=blog1&blogid=' + blogid + '&blog1blogid=' + blog1blogid + '&blogentid=' + blogentid + '&msgid=' + msgid;
location.href = link;
return;
}
function deleteBlogComment(blogid, blogcommentid) {
var result = confirm("Are you sure you want to delete this blog entry comment?");
if (result) {
$('#ctl35_ctl00_ctl00_hf_FormAction').attr("value", "DELCOM|" + blogid + "|" + blogcommentid);
doAsyncPostback();
}
return result;
}
function scrollToAnchor(aid) {
var aTag = $(aid);
$('html,body').stop().animate({ scrollTop: aTag.offset().top - 100 }, 2500, 'easeInOutExpo');
}
$(document).ready(function () {
$(window).resize();
var commentid = 0;
var blogentryid = '0';
if (blogentryid.length > 1) {
$('#liEditArticle').fadeIn('fast', function () {
$('#liRemoveArticle').fadeIn('fast');
});
if ('98ec2375-99f8-4c74-b4e6-a6ea4609ffee' != '') {
setTimeout(function () {
getArticleViews();
}, 10);
}
}
else if ('98ec2375-99f8-4c74-b4e6-a6ea4609ffee' != '') {
setTimeout(function () {
getArticleViews();
}, 10);
}
else {
//do nothing
}
setTimeout(function () {
if ($('#disqus_comments_script_wrapper').length > 0) {
$('body').append($('#disqus_comments_script_wrapper'));
}
}, 12);
//var blogEntryDetail = $('#blog-entry-detail').length;
//if (blogEntryDetail == 1) {
// // we are showing an article
// $('.blog-button-wrapper').show();
// //$('.blog-button-wrapper').css('display','block');
// $('a.btn-blog-action[data-target="edit"]').parent().show();
// $('a.btn-blog-action[data-target="remove"]').parent().show();
//}
//else {
// $('.blog-button-wrapper').show();
// //$('.blog-button-wrapper').css('display','block');
// $('a.btn-blog-action[data-target="edit"]').parents().closest('li').hide();
// $('a.btn-blog-action[data-target="remove"]').parents().closest('li').hide();
// alert('noshow');
//}
//var bview = getCurrentView();
//setTimeout(function () {
// switch (bview) {
// case "article": {
// $('.blog-button-wrapper').show();
// //$('.blog-button-wrapper').css('display','block');
// $('a.btn-blog-action[data-target="edit"]').parents().closest('li').show();
// $('a.btn-blog-action[data-target="remove"]').parents().closest('li').show();
// break;
// }
// default: {
// $('.blog-button-wrapper').show();
// //$('.blog-button-wrapper').css('display','block');
// $('a.btn-blog-action[data-target="edit"]').parents().closest('li').hide();
// $('a.btn-blog-action[data-target="remove"]').parents().closest('li').hide();
// }
// }
//}, 1000);
});// end doc.ready
$(window).resize(function () {
//setPageLayout();
setTimeout(function () {
// blog1 snippet...
if ($('body').find('#summary-masonry').length > 0) {
// this was a jquery method thats been lost or deprecated
// from unify that created the masonry view. since we're
// transitioning from Bootstrap3 to Bootrap4 before we update
// unify to b4 version...hide the masonry view.
// no one was using it on live but us.
//gridBoxesOnDemand();
}
}, 200);
});
$('body').on('click', '.blog-action', function (e) {
var target = $(this).attr('data-target')
switch (target) {
case "add": {
disableBackground("body", false, 0, 0, 0, 0)
break;
}
case "edit": {
disableBackground("body", false, 0, 0, 0, 0)
break;
}
}
});
$('body').on('click', 'a.blog1-tag', function (e) {
e.preventDefault();
e.stopPropagation();
doTagLookup($(this).text().trim());
});
$('body').on('click', 'a.blog1-category', function (e) {
e.preventDefault();
e.stopPropagation();
doCatLookup($(this).text().trim());
});
function doCatLookup(inval) {
try {
$.ajax({
type: 'POST',
url: '/aspx/Blob2/Blobs/BlobWebService.aspx/GetCatUrl',
data: '{"originalid":"76865","category":' + JSON.stringify(inval) + '}',
contentType: 'application/json; charset=utf-8',
dataType: 'json',
async: false,
cache: false,
success: function (response) {
if (response.d.length > 0) {
window.location.assign(response.d);
}
else {
window.location.assign("/blog1/category/unknown");
}
},
failure: function (response) {
},
error: function (response) {
}
});
}
catch (err) {
}
}
function doTagLookup(inval) {
try {
$.ajax({
type: 'POST',
url: '/aspx/Blob2/Blobs/BlobWebService.aspx/GetTagUrl',
data: '{"originalid":"76865","tag":' + JSON.stringify(inval) + '}',
contentType: 'application/json; charset=utf-8',
dataType: 'json',
async: false,
cache: false,
success: function (response) {
if (response.d.length > 0) {
window.location.assign(response.d);
}
else {
window.location.assign("/blog1/tag/unknown");
}
},
failure: function (response) {
},
error: function (response) {
}
});
}
catch (err) {
}
}
$(function () {
if ($('#anchor_FBStatus').length >= 1) {
$('#anchor_FBStatus').popover();
$('#anchor_TWStatus').popover();
$('#anchor_FBStatus').click(function (e) {
$('.popover-title').append('
');
$(this).popover();
});
$('#anchor_TWStatus').click(function (e) {
$('.popover-title').append('
');
$(this).popover();
});
$(document).click(function (e) {
if (e.target.id == "popovercloseid1") {
$('#anchor_FBStatus').popover('hide');
}
if (e.target.id == "popovercloseid2") {
$('#anchor_TWStatus').popover('hide');
}
});
}
});
function doAsyncPostback() {
//ff-bug #325 fix
setTimeout(function () {
__doPostBack("ctl35$ctl00$ctl00$lb_Async", "");
}, 1);
}
function getTempKey() {
return '94e070a8-167e-4615-99d2-1241bfadf61e';
}
function getTalkspotBlogId() {
return 28240;
}
function doAddArticle() {
//ff-bug #325 fix
setTimeout(function () {
__doPostBack("ctl35$ctl00$ctl00$btnAddArticle", "");
}, 1);
}
function doEditArticle() {
//ff-bug #325 fix
setTimeout(function () {
__doPostBack("ctl35$ctl00$ctl00$btnEditArticle", "");
}, 1);
}
function doRemoveArticle() {
$("#ctl35_ctl00_ctl00_btnDeleteArticle").click();
}
function getCurrentView() {
return $('#ctl35_ctl00_ctl00_hf_FormAction').val();
}
- 6/20/2016
- russellcarlisle, Matthew
- 1349 views
Many of my readers will not enjoy this entry because it contains mechanical and maintenance issues while others will like it for that reason So be forewarned. We have been back for more than a week and left a dirty boat with a broken generator at the dock. This I cannot abide for long. But other issues needed my attention so I spent 3 days getting the yard back in shape. It had been cut every week by an able 13 year old named Thomas, but it needed edging, bushes trimmed etc. My robin had finall...
Read More
- 6/11/2016
- russellcarlisle, Matthew
- 1153 views
Today we finish up an amazing journey. Because of modesty I will not reveal what this trip cost but it was on a par with what we spent each month on the Great Loop. Just goes to prove that running a boat this size, staying in marinas and eating out has a fairly fixed cost. And we had a ball with our friend Steve. On the way home we ran into friends. Approaching Guntersville Lock we heard 'Arkangel' on the radio with the lockmaster seeking a ride down from Lake Guntersville to Lake Wheeler. I ha...
Read More
- 6/10/2016
- russellcarlisle, Matthew
- 1070 views
As we cast off from TPYC to move upriver to Riverwalk Marina in Decatur, AL, it was a move from uptown living to downtown slumming. In between we just eased along taking in the sights. A lone Osprey stands guard over its nest. Two men supervising the filling of a barge. It was so hot they needed an umbrella just to stand out there. You can still see them in the long shot. Our one lock for the day was Wheeler. I was a rough ride because we were going up and we tied to the wrong bollard i...
Read More
- 6/9/2016
- russellcarlisle, Matthew
- 1055 views
Or how we beat two tows too Florence. As this adventure begins to slowly wind down you would think that things in general would slow down but that is never the case. We were off and running at 0700 because it was forecast to be very hot and we had 49 miles and one lock to go and no AC for little Trixie. Turns out it was mighty chilly upstairs with the eyebrows rooled up. What are eyebrows you say? Several good examples are pictured above. I explained it once before somewhere in the archives, ...
Read More
- 6/8/2016
- russellcarlisle, Matthew
- 993 views
Leaving Clifton was a little scary just like in 2012. Easy Water left before dawn. They have a schedule to keep and are meeting friends at their home port of Florence, AL. It will be a long day. We, on the other hand are trying not to beat ourselves up and are breaking it down into a two day journey. We waited until around 0800 to depart and thought there would be no problem. The air was chilly and fog forms when the chilly air meets the warmer water but things looked clear in the marina and as ...
Read More
- 6/7/2016
- russellcarlisle, Matthew
- 1014 views
Quick readers note: I received two comments recently that I need to address. First, my former Court Reporter, Lizabeth, inquired as to why she saw no photos of me and only those of Jan and Steve. Simple answer is no-one was taking pictures but me. As I look back there were zero photos of me in 21 days. Not that I am any great shakes to look at but that does not seem quite fair. Dr. Bell said he appreciated no pictures of me! You know, if I had not been the one actually shooting the pictures, I w...
Read More