- Ancient Sites / Early Christianity / Legends
by Ian · Published · Updated
', enableHover: false, enableTracking: true, buttons: { twitter: {via: ''}}, click: function(api, options){ api.simulateClick(); api.openPopup('twitter'); } }); $('#facebook').sharrre({ share: { facebook: true }, template: '
', enableHover: false, enableTracking: true, buttons:{layout: 'box_count'}, click: function(api, options){ api.simulateClick(); api.openPopup('facebook'); } }); // Scrollable sharrre bar, contributed by Erik Frye. Awesome! var $_shareContainer = $(".sharrre-container"), $_header = $('#header'), $_postEntry = $('.entry'), $window = $(window), startSharePosition = $_shareContainer.offset(),//object contentBottom = $_postEntry.offset().top + $_postEntry.outerHeight(), topOfTemplate = $_header.offset().top, topSpacing = _setTopSpacing(); //triggered on scroll shareScroll = function(){ var scrollTop = $window.scrollTop() + topOfTemplate, stopLocation = contentBottom - ($_shareContainer.outerHeight() + topSpacing); $_shareContainer.css({position : 'fixed'}); if( scrollTop > stopLocation ){ $_shareContainer.css( { position:'relative' } ); $_shareContainer.offset( { top: contentBottom - $_shareContainer.outerHeight(), left: startSharePosition.left, } ); } else if (scrollTop >= $_postEntry.offset().top - topSpacing){ $_shareContainer.css( { position:'fixed',top: '100px' } ); $_shareContainer.offset( { //top: scrollTop + topSpacing, left: startSharePosition.left, } ); } else if (scrollTop < startSharePosition.top + ( topSpacing - 1 ) ) { $_shareContainer.css( { position:'relative' } ); $_shareContainer.offset( { top: $_postEntry.offset().top, left:startSharePosition.left, } ); } }, //triggered on resize shareMove = function() { startSharePosition = $_shareContainer.offset(); contentBottom = $_postEntry.offset().top + $_postEntry.outerHeight(); topOfTemplate = $_header.offset().top; _setTopSpacing(); }; /* As new images load the page content body gets longer. The bottom of the content area needs to be adjusted in case images are still loading. */ setTimeout( function() { contentBottom = $_postEntry.offset().top + $_postEntry.outerHeight(); }, 2000); function _setTopSpacing(){ var distanceFromTop = 20; if( $window.width() > 1024 ) { topSpacing = distanceFromTop + $('.nav-wrap').outerHeight(); } else { topSpacing = distanceFromTop; } return topSpacing; } //setup event listeners $window.on('scroll', _.throttle( function() { if ( $window.width() > 719 ) { shareScroll(); } else { $_shareContainer.css({ top:'', left:'', position:'' }) } }, 50 ) ); $window.on('resize', _.debounce( function() { if ( $window.width() > 719 ) { shareMove(); } else { $_shareContainer.css({ top:'', left:'', position:'' }) } }, 50 ) ); });
You may also like...
Vayne Castle
0
Robert Johnson
1 Response
- Comments1
- Pingbacks0
Ian Topham says:
April 15, 2012 at 3:25 pm
Re: Glastonbury Holy Thorn Tree
The following article entitled ‘New hope as Holy Thorn is planted in Glastonbury’ appeared in the Somerset Gazette on Thursday 5 April 2012.In a quiet ceremony on Palm Sunday, a new Holy Thorn tree was planted on Wearyall Hill, Glastonbury.
The new cutting is close to the tree that was hacked down by vandals in December 2010.Rev David MacGeoch, Alan Fear with Frank and Edward James plant the new Holy Thorn on Wearyall Hill in Glastonbury
The people responsible were never caught.
The new tree was grafted from the branches of a Holy Thorn cutting from Thornhayes Nursery in Devon, whose parent tree came from Glastonbury Abbey. The tree was blessed by Rev David MacGeogh, who presided over the ceremony.
Edward James, one of the landowners, said the tree would be protected by a sturdy cage, and there are hopes to list it.
Anyone who damages a tree protected by a preservation order can face a fine of up to £20,000.
“I was approached by Glastonbury Conservation Society about the idea of having a new Holy Thorn on Wearyall Hill,” said Mr James.“I spoke to my brothers, and we agreed that, yes, it would be appropriate.
“It was very important to us that in keeping with the legend of the tree, it was a ‘Christian’ tree and we invited Reverend MacGeogh to lead us in prayer and to bless the tree.”
He said the vandalised tree was continuing to show some signs of life.
“There are some shoots on it, but the problem is that whenever it starts to shoot, people start taking the leaves.
“I’ve found people pouring beer and honey onto the roots – I know they think they are helping, but really the tree just needs to be left alone to give it the best chance of recovery.”
The vandalised tree was the subject of a 30-minute Radio 4 programme, called The Mystery of the Holy Thorn, which aired on Wednesday morning, as the Central Somerset Gazette went to press.
The Mayor of Glastonbury, Councillor Bill Knight said: “It was a very low-key affair, but I am delighted that a replacement tree has been planted in the town.
“I really hope that it will last another 100 years.”