Menu

Charleston’s March for Science rallies for coastal interests and ongoing research


Monday, April 24, 2017





Charleston’s March for Science rallies around coastal issues and ongoing research



Science, not silence


Posted


by Dustin Waters

on Mon, Apr 24, 2017 at 12:03 PM

‘);

function showSlide(slide, oid){
jQuery(“body”).append(myOverlay);
origButton.removeClass(“pulse”);
if (origButton.children().length == 0){
origButton.text(origButtonText);
}
myOverlay.find(“.slideContainer”).html(slide);
globalUrl = jQuery(“.slideCenterCont”).attr(“data-url”);
fullSlide = myOverlay.find(“.fullSlideBox”);
if (isMobile) fullSlide.addClass(“mobile”);
fullSlide.show();
nbSlides = myOverlay.find(“.singleSlideBox”).length;

jQuery(window).resize(resizeWindow);

//var heightOffset = (myOverlay.height()-slideHeight)/2;
//if (heightOffsetmySlide.find(“.singleSlideDetails”).innerHeight()){
mySlide.find(“.slideImageCaptionMore”).show();
} else mySlide.find(“.slideImageCaptionMore”).hide();
}
});

myOverlay.fadeIn(“fast”);

//resizeWindow();

goSlide(myIndex);

jQuery(“body”).addClass(“overlayActive”);
jQuery(“.slideOverlay .slideContainer .slideNavRight”).on(“click”, function(e){
var mySlide = jQuery(“.slideOverlay .slideContainer .singleSlideBox.focusSlide”);
if (mySlide.attr(“data-type”)!=”nextSlide”) {
var newIndex = parseInt(jQuery(“.slideOverlay .slideContainer .singleSlideBox.focusSlide”).attr(“data-index”))+1;
goSlide(newIndex);
} else {
var myUrl = mySlide.find(“.nextSlideTitleLink a”).attr(“href”);
window.location = myUrl;
}
});

jQuery(“.slideOverlay .slideContainer .slideNavLeft”).on(“click “, function(e){
var newIndex = parseInt(jQuery(“.slideOverlay .slideContainer .singleSlideBox.focusSlide”).attr(“data-index”))-1;
goSlide(newIndex);
});

var keyNav = function(e){
if (myOverlay.is(“:visible”)){
if (e.which === 37) {
jQuery(“.slideOverlay .slideContainer .slideNavLeft:visible”).click();
} else if (e.which === 39){
jQuery(“.slideOverlay .slideContainer .slideNavRight:visible”).click();
} else if (e.which === 27){
jQuery(“.slideOverlay .slideClose”).click();
}
}
}

var swiping = false;
var mouseXpos, touchXpos = false;
var currentPos;

jQuery(“.slideContainer”).on(“mousedown”, function(e){
e.preventDefault(); e.stopPropagation();
fullSlide.addClass(“swiping”);
mouseXpos = e.pageX;
});
jQuery(“.slideContainer”).on(“mouseup”, function(e){
e.stopPropagation();
fullSlide.removeClass(“swiping”);
if (swiping){
swiping = false;
mouseXpos = false;
var currentIndex = jQuery(“.singleSlideBox.focusSlide”).attr(“data-index”);

if (thisMouseMove150 && jQuery(“.slideOverlay .slideContainer .slideNavLeft”).is(“:visible”)) {
// swipe right
currentIndex–;
}
goSlide(currentIndex);
}
});
var dragOffset = 0;
var thisMouseMove = 0;
jQuery(“.slideContainer”).on(“mousemove”, function(e){
e.preventDefault(); e.stopPropagation();
var thisButton = e.buttons;
if (thisButton == 1) {
swiping = true;
thisMouseMove = e.pageX-mouseXpos;
dragOffset = -currentTranslation+thisMouseMove;
fullSlide.css({“-webkit-transform”: “translate3d(“+dragOffset+”px, 0px, 0px)”,”-moz-transform”: “translate3d(“+dragOffset+”px, 0px, 0px)”,”-ms-transform”: “translate3d(“+dragOffset+”px, 0px, 0px)”,”-o-transform”: “translate3d(“+dragOffset+”px, 0px, 0px)”,”transform”: “translate3d(“+dragOffset+”px, 0px, 0px)”});
}
});

jQuery(“.slideContainer”).on(“touchstart”, function(e){
e.stopPropagation();
fullSlide.addClass(“swiping”);
setTimeout(function() {
longTouch = true;
}, 250);
touchXpos = e.originalEvent.targetTouches[0].pageX;
});

jQuery(“.slideContainer”).on(“touchend”, function(e){
e.stopPropagation();
fullSlide.removeClass(“swiping”);
if (swiping){
swiping = false;
touchXpos = false;
var currentIndex = jQuery(“.singleSlideBox.focusSlide”).attr(“data-index”);
if (thisTouchMove(singleSlideWidth/4) && currentIndex>1 && jQuery(“.slideOverlay .slideContainer .slideNavLeft”).is(“:visible”)) {
// swipe right
currentIndex–;
}
goSlide(currentIndex);
}
});

var thisTouchMove = 0;

jQuery(“.slideContainer”).on(“touchmove”, function(e){
e.stopPropagation();
var touch = e.originalEvent;
if (touch.targetTouches.length == 1) {
swiping=true;
thisTouchMove = touch.targetTouches[0].pageX-touchXpos;
dragOffset = -currentTranslation+thisTouchMove;
fullSlide.css({“-webkit-transform”: “translate3d(“+dragOffset+”px, 0px, 0px)”,”-moz-transform”: “translate3d(“+dragOffset+”px, 0px, 0px)”,”-ms-transform”: “translate3d(“+dragOffset+”px, 0px, 0px)”,”-o-transform”: “translate3d(“+dragOffset+”px, 0px, 0px)”,”transform”: “translate3d(“+dragOffset+”px, 0px, 0px)”});
}
});


jQuery(“body”).on(“keydown”, keyNav);
jQuery(“.slideOverlay .slideClose”).on(“click”, function(){
jQuery(“.slideOverlay”).fadeOut(“fast”, function(){
jQuery(“body”).removeClass(“overlayActive”);jQuery(this).remove(); jQuery(“body”).off(“keydown”, keyNav);
});
// update url – clear out img value
window.history.pushState(“”, “”, startUrl);
});

jQuery(“.slideOverlay .fullSlideBox.mobile .slideDetailsCont”).on(“click”, function(){
jQuery(this).toggleClass(“show”);
jQuery(this).find(“.slideImageCaptionLess:visible”).click();
});
jQuery(“.slideOverlay .slideContainer .slideImageCaptionMore”).on(“click”, function(e){
e.stopPropagation();
var mySlide = jQuery(this).closest(“.singleSlideBox”);
mySlide.find(“.slideDetailsCont”).addClass(“extended”).find(“.singleSlideDetails”).css(“height”,mySlide.find(“.singleSlideDetails”)[0].scrollHeight);
var detailsContHeight = mySlide.find(“.singleSlideDetails”)[0].scrollHeight+40+mySlide.find(“.slideShowTitleHeader”).height();
});
jQuery(“.slideOverlay .slideContainer .slideImageCaptionLess”).on(“click”, function(e){
e.stopPropagation();
var mySlide = jQuery(this).closest(“.singleSlideBox”);
var detailsHeight = 170-jQuery(“.slideOverlay .slideContainer .slideCenterCont .singleSlideBox.focusSlide .slideShowTitleHeader”).outerHeight()-40;
mySlide.find(“.slideDetailsCont”).removeClass(“extended”).find(“.singleSlideDetails”).css(“height”,detailsHeight);
});
resizeWindow();
}

var currentTranslation = 0;
var isAnAd = false;

function goSlide(index){
var myIndex = index || 1;
var myOffset = singleSlideWidth*(myIndex-1);
currentTranslation = myOffset;
fullSlide.css({“-webkit-transform”: “translate3d(“+-myOffset+”px, 0px, 0px)”,”-moz-transform”: “translate3d(“+-myOffset+”px, 0px, 0px)”,”-ms-transform”: “translate3d(“+-myOffset+”px, 0px, 0px)”,”-o-transform”: “translate3d(“+-myOffset+”px, 0px, 0px)”,”transform”: “translate3d(“+-myOffset+”px, 0px, 0px)”});

var mySlide = jQuery(“.slideOverlay .slideContainer .singleSlideBox[data-index='”+myIndex+”‘]”);

jQuery(“.slideOverlay .slideContainer .singleSlideBox, .slideOverlay .slideContainer .singleSlideBox .slideDetailsCont, .slideOverlay .slideContainer .singleSlideBox .singleSlideShareLinks”).removeClass(“active extended show”);

jQuery(“.slideOverlay .slideContainer .singleSlideBox.focusSlide .slideDetailsCont, .slideOverlay .slideContainer .singleSlideBox.focusSlide .singleSlideDetails”).css(“height”, “”);

var oldSlide = jQuery(“.slideOverlay .slideContainer .singleSlideBox.focusSlide”);
oldSlide.removeClass(“focusSlide”);
mySlide.addClass(“focusSlide”);

var mainImage = mySlide.find(“.singleSlideImage img”);
if (!mainImage.attr(“src”) && mySlide.attr(“data-type”)==”image”){
mainImage.attr(“src”, function(){return jQuery(this).attr(“data-url”);});
mainImage.on(“load”, function(){
mySlide.addClass(“active”);
mainImage.off();
});
} else {
mySlide.addClass(“active”);
}

jQuery(“.slideOverlay .slideContainer .singleSlideBox”).removeClass(“visible”);

var nextImage = mySlide.next(“.singleSlideBox”).find(“.singleSlideImage img”);
if (!nextImage.attr(“src”) && mySlide.next(“.singleSlideBox”).attr(“data-type”)==”image”){
nextImage.attr(“src”, function(){return jQuery(this).attr(“data-url”);})
nextImage.on(“load”, function(){
jQuery(this).closest(“.singleSlideBox”).addClass(“visible”);
nextImage.off();
});
} else {
mySlide.next(“.singleSlideBox”).addClass(“visible”);
}

var prevImage = mySlide.prev(“.singleSlideBox”).find(“.singleSlideImage img”);
if (!prevImage.attr(“src”) && mySlide.prev(“.singleSlideBox”).attr(“data-type”)==”image”){
prevImage.attr(“src”, function(){return jQuery(this).attr(“data-url”);});
prevImage.on(“load”, function(){
jQuery(this).closest(“.singleSlideBox”).addClass(“visible”);
prevImage.off();
});
} else {
mySlide.prev(“.singleSlideBox”).addClass(“visible”);
}

if (mySlide.attr(“data-type”)==”ad”){



jQuery(“.slideOverlay .slideContainer .slideNavLeft, .slideOverlay .slideContainer .slideNavRight”).hide();
var myCount = mySlide.find(“.slideAdCountDown .countNb”);;
var currentCount = 3;
myCount.text(currentCount).parent().show();
//myCount.text(currentCount).show();
var myCountDown = setInterval(function(){
currentCount–;
if (currentCount==0) {
clearInterval(myCountDown);
myCount.parent().hide();
jQuery(“.slideOverlay .slideContainer .slideNavLeft”).show();
if (myIndex

click to enlarge
Charleston's March for Science drew hundreds of dedicated demonstrators for the Earth Day event - DUSTIN WATERS

  • Dustin Waters
  • Charleston’s March for Science drew hundreds of dedicated demonstrators for the Earth Day event

Hundreds marched across downtown Charleston this weekend in support of science, joining international demonstrations calling for continued research funding and efforts to better understand and protect the planet.

“Science hits everybody in their own way. It’s not limited to fields. Everybody is involved in science, and I believe all these people realize that no matter what they do, science touches them,” said Paige Mangan, a co-organizer for the March for Science Charleston. “Hopefully our local legislators will get an idea of how we feel as a community. We’re in an area that needs a lot of conservation. We have a lot of local organizations that help protect our land.”

Converging on Liberty Square, marchers chanted “Science, not silence” as they made their way across downtown Charleston. Mayor John Tecklenburg addressed the crowd, calling for continued efforts to address the persistent threat of sea-level rise to coastal communities and opposing drilling for resources off the South Carolina coast.

“[Charleston City] Councilman Mike Seekings and the other mayors along the coast of South Carolina joined me last year in asking the Obama administration not to allow offshore drilling off the coast of South Carolina,” said Tecklenburg. “Like many other things, that decision may be reversed in the very near future. So we ask you to contact your congressmen and your senators and let them know how you feel about this issue.”

The mayor was joined by Councilman Seekings, who spoke to marchers not only as a city official, but as the son and grandson of engineers, and the husband of a biologist. Seekings echoed Tecklenburg’s sentiments as they related to sea-level rise and the increasing amount of flooding facing the Charleston community.

“The most important issue we have today is that the sea is coming at us. We have a complicated relationship with the sea. We have to address it. We are addressing it,” said Seekings. “The fact that you are here today is so heartening for us who want to make things happen now. Science, Earth Day, the city of Charleston all fit together.”










Source link

Leave a Reply

Your email address will not be published. Required fields are marked *