// 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) {
$('#ctl19_ctl02_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 ('1655bb12-51a9-4c73-8a67-5383ce4b90f8' != '') {
setTimeout(function () {
getArticleViews();
}, 10);
}
}
else if ('1655bb12-51a9-4c73-8a67-5383ce4b90f8' != '') {
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":"122753","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":"122753","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("ctl19$ctl02$ctl00$lb_Async", "");
}, 1);
}
function getTempKey() {
return '8be3070e-cd0a-499e-bd40-e100c2dbea45';
}
function getTalkspotBlogId() {
return 28240;
}
function doAddArticle() {
//ff-bug #325 fix
setTimeout(function () {
__doPostBack("ctl19$ctl02$ctl00$btnAddArticle", "");
}, 1);
}
function doEditArticle() {
//ff-bug #325 fix
setTimeout(function () {
__doPostBack("ctl19$ctl02$ctl00$btnEditArticle", "");
}, 1);
}
function doRemoveArticle() {
$("#ctl19_ctl02_ctl00_btnDeleteArticle").click();
}
function getCurrentView() {
return $('#ctl19_ctl02_ctl00_hf_FormAction').val();
}
- 11/11/2019
- Naeve, Clayton
- 1 views
Much has happened since our last post over a year ago. Though our enthusiasm for blogging waned we continued to cruise. We traveled back to Florida, out to Eleuthera, and down to Key West and the Dry Tortugas this past year before settling in at Suntex marina in Vero Beach. In Vero we completed many boat projects, land trips to see relatives, the usual doctor’s appointments, etc…and endured our first hurricane season in Florida. Thankfully, Dorian spared us but we grieve for the Abacos; thei...
Read More
- 9/18/2018
- Naeve, Clayton
- 614 views
After significant effort we’ve concluded the electronics issues that aborted our plan to cruise the Canadian Maritimes this season were self-induced. In the interest of redundancy I installed a NMEA2000 rudder position indicator while we were at Atlantic Yacht Basin. You wouldn’t think this would present a problem but, in fact, the additional cabling required drove the voltage reduction across one leg of my NMEA2000 network past specification likely leading to random loss of data. The electro...
Read More
- 7/5/2018
- Naeve, Clayton
- 709 views
It’s all good. Some years ago we were having a discussion with our friend Bob on N57 Istaboa about the relative merits of off-shore versus ICW travel. His response was “It’s all good”. Very wise. Since then we’ve used the phrase often; particularly when life dictates changes in plans. In cruising this is not infrequently the case. Weather, life events, boat issues and a thousand other things can often get in the way of plans. Flexibility is the key. We are again in such a situation. Whi...
Read More
- 6/17/2018
- Naeve, Clayton
- 774 views
The run up to Atlantic Yacht Basin on the ICW was uneventful; except for the grounding. Yes, for the second time we met a barge in the Alligator-Pango Canal that caused us to move too close to the shore. Ironically, it was the same tow boat, Island Pilot, that effected the same outcome last year. Only this time I had nearly stopped Tivoli and we backed off and went on our way. The location was approximately a mile further east from the last unfortunate incident. Not to make excuses but thi...
Read More
- 6/9/2018
- Naeve, Clayton
- 593 views
Hard to believe, but its true. Tivoli is actually on the move. Yes, after 6 months in Florida we are finally underway again; bound for the Canadian Maritimes. Our explorations of the south coast of Newfoundland last year instilled in us a desire to return and so we will. The winter spent in Florida has allowed us to fine-tune Tivoli to an extent we could not imagine when we bought her in 2011. I have to say one of the many rewards of the cruising lifestyle is the satisfaction that comes wit...
Read More
- 4/9/2018
- Naeve, Clayton
- 843 views
It’s been a long winter. Not that I’m complaining. Winters in south Florida are just fine. It’s just that life gets in the way of cruising sometimes. We had planned on spending a couple months in the Bahamas; it’s been two years since we’ve been there. Alas, a knee problem had me hobbling around for a couple months and the challenge of finding new doctors in Florida sucked up more time than we hoped. So, the Bahamas are off the list and we are looking forward to heading to the Canadian Mar...
Read More