Start Empathy

Empathy Manager's picture
Undefined
<style> .feedburnerFeedBlock ul li { margin-top:12px; height:240px; } .feedburnerFeedBlock ul li p { margin:0; } #blogwidget .field-name-field-weight, .field-name-field-carousel, .field-name-field-carousel-image { display: none; } div#creditfooter{ display:none; } div.feedburnerFeedBlock ul { list-style-type:none; /*margin-left:0 !important;*/ } div.feedburnerFeedBlock p.feedTitle a { font-weight:bold; font-size:24px; margin-bottom:10px; } div.feedburnerFeedBlock .field-type-image { width:30%; max-height:200px; overflow-y:hidden; float:left; clear:left; } div.feedburnerFeedBlock .field-type-image img { width:250px; height:inherit; } div.feedburnerFeedBlock .field-type-text-with-summary { width:70%; float:left; height:200px; overflow-y:hidden; clear:right; margin-bottom:20px; } div.feedburnerFeedBlock .field-type-text-with-summary:after { content:"[...]" } div.feedburnerFeedBlock .field-type-text-with-summary iframe { display:none !important; } div.feedburnerFeedBlock ul li span.headline { font-size:18px; } div.feedburnerFeedBlock ul li span.headline a { display:block; margin-bottom:10px; font-weight:bold; } div.feedburnerFeedBlock ul li span.headline a:hover { } div.feedburnerFeedBlock p.feedTitle { margin-bottom: 25px; } div.css-help-cause{ border-width:0 !important; margin-top:0 !important; margin-bottom:10px; } div.feedburnerFeedBlock .field-name-field-facebook-comments { display:none; } .feed-icon{ display:none; } #blogwidget h2 { border-width:0; } </style> <div id="blogwidget"> <script src="http://feeds.feedburner.com/feedburner/YRBH?format=sigpro" type="text/javascript" ></script> <h3 style="text-align:right;" ><a href="http://startempathy.org/blog" target="_blank">View Start Empathy Blog</a></h2> </div> <style type="text/css"> div.awesome-banner { clear: both; height: 68px; margin:25px -75px 25px -95px; padding:10px 0; position: relative; width: 1110px; z-index: 5; } div.banner-content { background-color: #464646; background-image: none; background-origin: padding-box; box-shadow: #464646 0px 0px 2px 0px; height: 18px; margin:0; padding:25px 75px; position: relative; width: 960px; } div.banner-content h2 { color: white; font-size: 20px; height: 18px; line-height: 18px; margin:0 0 0 130px; padding:0; text-transform: uppercase; width: 830px; } #blogwidget div.badge { background-image: url(http://www.changemakers.com/sites/all/themes/cm4/images/heading-icons/small/heading-img-comments.png); } div.badge { background-color: #A8CBD0; background-origin: padding-box; background-position: 50% 50%; background-repeat: no-repeat; border:10px solid #464646; border-radius:50%; box-shadow: #464646 0px 0px 2px 0px; float: left; height: 84px; line-height: 18px; margin:-45px 0 0 0; padding:0; position: absolute; top: 25px; left: 75px; width: 84px; z-index: 1; } div.corner-left { background-image: url(http://cdn.changemakers.com/sites/all/themes/cm4/images/bottom-black-corner.png); background-origin: padding-box; background-position: 0px 0px; bottom: 0px; float: left; height: 12px; left: 0px; margin:0; overflow:hidden; padding:0; position: absolute; width: 13px; } div.corner-right { background-image: url(http://cdn.changemakers.com/sites/all/themes/cm4/images/bottom-black-corner.png); background-origin: padding-box; background-position: 100% 0px; bottom: 0px; height: 12px; margin:0; overflow:hidden; padding:0; position: absolute; right: 0px; width: 13px; } </style>
<style type="text/css"> /* RANDOM AND TOP YELLOW CCS */ #node-community-changeshop .current-competitions, #node-community-changeshop #announcements-wrapper, #node-community-changeshop .changeshops { font-weight: bold; font-size: 1em; } .css-title{ visibility:hidden; } #ccs-header .grid-4{ width:190px; } .actions_text{ padding-bottom:0 !important; } .take-action-links{ width:180px !important; float:right; } .ccs-block1 .wide-heading{ display:none; } .top-yellow-section{ position:absolute; background-color:#FFD842; height:190px; width:550px; margin:0 10px; top:-210px; left:190px; } .top-yellow-section h1.empathy-title{ font-size:26px; margin:30px 25px 15px 25px; } .top-yellow-section h2.empathy-subtitle{ font-size:16px; margin:20px 25px 10px 25px; padding:0; border-width:0; } .top-yellow-section p.empathy-text{ font-size:14px; padding:0; margin:8px 25px 0 25px; line-height:18px; } a.twitter-image{ display:block; position:absolute; width:180px; height:110px; top:-130px; left:760px; } .awesome-slider-block{ margin-top:-10px; height:220px; } </style> <div class="top-yellow-section"> <h1 class="empathy-title">Start Empathy</h1> <h2 class="empathy-subtitle">Welcome to the Empathy Collaborative Community!</h2> <p class="empathy-text">Here, you can connect with your fellow innovators, connect to funding & in-kind prizes created just for you, and gain recognition for your best-practices!</p> </div> <a href="http://twitter.com/home?status=Time+to+%23startempathy.+Will+you+join+us%3F+www.startempathy.org" class="twitter-image"><img src="http://cdn.changemakers.com/sites/default/files/twitter-image.png" alt="We need to #startempathy"></a> <!-- <script type="text/javascript" src="../jquery-1.5.1.min.js"></script> --> <!--[if IE]> <style type="text/css"> .timer { display: none !important; } div.caption { background:transparent; filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000,endColorstr=#99000000);zoom: 1; } </style> <![endif]--> <!-- Run the plugin --> <script type="text/javascript"> $(window).load(function() { $('#cory-slider-awesome').orbit(); }); </script> <div id="cory-slider-awesome"> <div class="content" id="slide-1"> <div class="left-side"> <img src="http://cdn.changemakers.com/sites/default/files/help_build.png" alt="help build a movement" class="slider-title"> </div> <div class="right-side"> <div class="action-step"> <div class="top-half"> <h2 class="step-number"></h2> </div> <div class="bottom-half"> <h2 class="step-title">Grow your impact</h2> <p class="step-description">Check this space for future funding and in-kind opportunities!</p> </div> </div> <div class="action-step"> <div class="top-half"> <h2 class="step-number"></h2> </div> <div class="bottom-half"> <h2 class="step-title">Spread your model</h2> <p class="step-description"><a href="http://www.changemakers.com/node/add/changemakers-post">Post offers</a> for other innovators</p> </div> </div> <div class="action-step"> <div class="top-half"> <h2 class="step-number"></h2> </div> <div class="bottom-half last-bottom-half"> <h2 class="step-title">Gain recognition as a leader</h2> <p class="step-description"><a href="http://www.changemakers.com/node/add/changemakers-innovation">Click here</a> to showcase your idea beyond the competition</p> </div> </div> </div> </div> <div class="content" id="slide-2"> <div class="left-side"> <img src="http://cdn.changemakers.com/sites/default/files/how_to_orange2_0.png" alt="how to get started" class="slider-title"> </div> <div class="right-side"> <div class="action-step"> <div class="top-half"> <h2 class="step-number">1</h2> </div> <div class="bottom-half"> <h2 class="step-title">Join the Start Empathy Community</h2> <p class="step-description"><a href="http://www.changemakers.com/og/subscribe/126015?destination=node%2F126015">Click here</a> to start participating</p> </div> </div> <div class="action-step"> <div class="top-half"> <h2 class="step-number">2</h2> </div> <div class="bottom-half"> <h2 class="step-title">Start your changeshop!</h2> <p class="step-description"><a href="http://www.changemakers.com/node/add/changemakers-innovation">Click here</a> to showcase your idea beyond the competition</p> </div> </div> <div class="action-step"> <div class="top-half"> <h2 class="step-number">3</h2> </div> <div class="bottom-half last-bottom-half"> <h2 class="step-title">Connect with changemakers like you</h2> <p class="step-description">Post and <a href="http://www.changemakers.com/community/126015/marketplace">view all</a> needs/offers</p> </div> </div> </div> </div> </div> <style type="text/css"> /* SLIDER CCS */ #cory-slider-awesome { margin-top:-10px; } #cory-slider-awesome h1, #cory-slider-awesome h2, #cory-slider-awesome h4 { margin:0; padding:0; border-width:0; } #cory-slider-awesome p{ padding:0; margin:0; } #cory-slider-awesome .content { width:940px; height:220px; } #cory-slider-awesome #slide-1 { background: url(http://cdn.changemakers.com/sites/default/files/bluebackground.png) no-repeat; } #cory-slider-awesome #slide-2 { background: url(http://cdn.changemakers.com/sites/default/files/pinkbackground.png) no-repeat; } #cory-slider-awesome .left-side { width:35%; float:left; } #cory-slider-awesome .right-side { width:65%; float:left; } #cory-slider-awesome .left-side img.slider-title { height:160px; margin:60px 0 0 30px; } #cory-slider-awesome .content h1 { text-transform: uppercase; color:#700062; margin: 50px 30px 0 0; font-size:40px; line-height:38px; float:right; } #cory-slider-awesome .content h2 { font-size: 22px; color: #464646; } #cory-slider-awesome div.action-step { float:left; width:33%; } #cory-slider-awesome div.top-half { } #cory-slider-awesome div.top-half h2.step-number { color:white; font-size:48px; margin:20px 0 10px 0; font-family:arial; font-weight:normal; } #cory-slider-awesome div.bottom-half { width:80%; padding-right:8%; margin-right:12%; float:left; height:130px; border-right:3px dotted #707070; margin-top:10px; } #cory-slider-awesome div.last-bottom-half { border-right-width:0; } #cory-slider-awesome h2.step-title { font-size:23px; line-height:24px; font-weight:normal; } #cory-slider-awesome h2.step-title-big { font-size:30px; line-height:34px; font-weight:normal; } #cory-slider-awesome p.step-description { margin-top:10px; font-size:14px; } #cory-slider-awesome p.step-description a { color:#f07e42; border-width:0; font-weight:bold; } #cory-slider-awesome p.step-description a:hover { color:#464646; border-bottom:1px solid #464646; } /* PUT IN YOUR SLIDER ID AND SIZE TO MAKE LOAD BEAUTIFULLY ================================================== */ #cory-slider-awesome { width: 940px; height: 220px; overflow: hidden; } #cory-slider-awesome>img, #cory-slider-awesome>div, #cory-slider-awesome>a { display: none; } /* CONTAINER ================================================== */ div.orbit-wrapper { width: 1px; height: 1px; position: relative; } div.orbit { width: 1px; height: 1px; position: relative; overflow: hidden } div.orbit>img { position: absolute; top: 0; left: 0; display: none; } div.orbit>a { border: none; position: absolute; top: 0; left: 0; line-height: 0; display: none; } .orbit>div { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } /* Note: If your slider only uses content or anchors, you're going to want to put the width and height declarations on the ".orbit>div" and "div.orbit>a" tags in addition to just the .orbit-wrapper */ /* TIMER ================================================== */ div.timer { width: 40px; height: 40px; overflow: hidden; position: absolute; top: 10px; right: 10px; opacity: .6; cursor: pointer; z-index: 1001; } span.rotator { display: block; width: 40px; height: 40px; position: absolute; top: 0; left: -20px; background: url(http://cdn.changemakers.com/sites/default/files/rotator-black.png) no-repeat; z-index: 3; } span.mask { display: block; width: 20px; height: 40px; position: absolute; top: 0; right: 0; z-index: 2; overflow: hidden; } span.rotator.move { left: 0 } span.mask.move { width: 40px; left: 0; background: url(http://cdn.changemakers.com/sites/default/files/timer-black.png) repeat 0 0; } span.pause { display: block; width: 40px; height: 40px; position: absolute; top: 0; left: 0; background: url(http://cdn.changemakers.com/sites/default/files/pause-black.png) no-repeat; z-index: 4; opacity: 0; } span.pause.active { background: url(http://cdn.changemakers.com/sites/default/files/pause-black.png) no-repeat 0 -40px } div.timer:hover span.pause, span.pause.active { opacity: 1 } /* CAPTIONS ================================================== */ .orbit-caption { display: none; font-family: "HelveticaNeue", "Helvetica-Neue", Helvetica, Arial, sans-serif; } .orbit-wrapper .orbit-caption { background: #000; background: rgba(0,0,0,.6); z-index: 1000; color: #fff; text-align: center; padding: 7px 0; font-size: 13px; position: absolute; right: 0; bottom: 0; width: 100%; } /* DIRECTIONAL NAV ================================================== */ div.slider-nav { display: block } div.slider-nav span { width: 45px; height: 70px; text-indent: -9999px; position: absolute; z-index: 1000; top: 55%; margin-top: -50px; cursor: pointer; } div.slider-nav span.right { background: url(http://cdn.changemakers.com/sites/default/files/right-arrow.png) no-repeat; right: -55px; } div.slider-nav span.left { background: url(http://cdn.changemakers.com/sites/default/files/left-arrow.png) no-repeat; left: -55px; } /* BULLET NAV ================================================== */ .orbit-bullets { position: absolute; z-index: 1000; list-style: none; bottom: -40px; left: 50%; margin-left: -50px; padding: 0; } .orbit-bullets li { float: left; margin-left: 5px; cursor: pointer; color: #999; text-indent: -9999px; background: url(http://cdn.changemakers.com/sites/default/files/bullets.jpg) no-repeat 4px 0; width: 13px; height: 12px; overflow: hidden; } .orbit-bullets li.active { color: #222; background-position: -8px 0; } .orbit-bullets li.has-thumb { background: none; width: 100px; height: 75px; } .orbit-bullets li.active.has-thumb { background-position: 0 0; border-top: 2px solid #000; } /* END SLIDER CCS */ </style> <!-- SLIDER SCRIPT --> <script type="text/javascript"> /* * jQuery Orbit Plugin 1.2.3 * www.ZURB.com/playground * Copyright 2010, ZURB * Free to use under the MIT license. * http://www.opensource.org/licenses/mit-license.php */ (function($) { $.fn.orbit = function(options) { //Defaults to extend options var defaults = { animation: 'horizontal-push', // fade, horizontal-slide, vertical-slide, horizontal-push animationSpeed: 600, // how fast animtions are timer: true, // true or false to have the timer advanceSpeed: 10000, // if timer is enabled, time between transitions pauseOnHover: false, // if you hover pauses the slider startClockOnMouseOut: false, // if clock should start on MouseOut startClockOnMouseOutAfter: 0, // how long after MouseOut should the timer start again directionalNav: true, // manual advancing directional navs captions: true, // do you want captions? captionAnimation: 'fade', // fade, slideOpen, none captionAnimationSpeed: 600, // if so how quickly should they animate in bullets: false, // true or false to activate the bullet navigation bulletThumbs: false, // thumbnails for the bullets bulletThumbLocation: '', // location from this file where thumbs will be afterSlideChange: function(){} // empty function }; //Extend those options var options = $.extend(defaults, options); return this.each(function() { // ============== // ! SETUP // ============== //Global Variables var activeSlide = 0, numberSlides = 0, orbitWidth, orbitHeight, locked; //Initialize var orbit = $(this).addClass('orbit'), orbitWrapper = orbit.wrap('<div class="orbit-wrapper" />').parent(); orbit.add(orbitWidth).width('1px').height('1px'); //Collect all slides and set slider size of largest image var slides = orbit.children('img, a, div'); slides.each(function() { var _slide = $(this), _slideWidth = _slide.width(), _slideHeight = _slide.height(); if(_slideWidth > orbit.width()) { orbit.add(orbitWrapper).width(_slideWidth); orbitWidth = orbit.width(); } if(_slideHeight > orbit.height()) { orbit.add(orbitWrapper).height(_slideHeight); orbitHeight = orbit.height(); } numberSlides++; }); //Animation locking functions function unlock() { locked = false; } function lock() { locked = true; } //If there is only a single slide remove nav, timer and bullets if(slides.length == 1) { options.directionalNav = false; options.timer = false; options.bullets = false; } //Set initial front photo z-index and fades it in slides.eq(activeSlide) .css({"z-index" : 3}) .fadeIn(function() { //brings in all other slides IF css declares a display: none slides.css({"display":"block"}) }); // ============== // ! TIMER // ============== //Timer Execution function startClock() { if(!options.timer || options.timer == 'false') { return false; //if timer is hidden, don't need to do crazy calculations } else if(timer.is(':hidden')) { clock = setInterval(function(e){ shift("next"); }, options.advanceSpeed); //if timer is visible and working, let's do some math } else { timerRunning = true; pause.removeClass('active') clock = setInterval(function(e){ var degreeCSS = "rotate("+degrees+"deg)" degrees += 2 rotator.css({ "-webkit-transform": degreeCSS, "-moz-transform": degreeCSS, "-o-transform": degreeCSS }); if(degrees > 180) { rotator.addClass('move'); mask.addClass('move'); } if(degrees > 360) { rotator.removeClass('move'); mask.removeClass('move'); degrees = 0; shift("next"); } }, options.advanceSpeed/180); } } function stopClock() { if(!options.timer || options.timer == 'false') { return false; } else { timerRunning = false; clearInterval(clock); pause.addClass('active'); } } //Timer Setup if(options.timer) { var timerHTML = '<div class="timer"><span class="mask"><span class="rotator"></span></span><span class="pause"></span></div>' orbitWrapper.append(timerHTML); var timer = orbitWrapper.children('div.timer'), timerRunning; if(timer.length != 0) { var rotator = $('div.timer span.rotator'), mask = $('div.timer span.mask'), pause = $('div.timer span.pause'), degrees = 0, clock; startClock(); timer.click(function() { if(!timerRunning) { startClock(); } else { stopClock(); } }); if(options.startClockOnMouseOut){ var outTimer; orbitWrapper.mouseleave(function() { outTimer = setTimeout(function() { if(!timerRunning){ startClock(); } }, options.startClockOnMouseOutAfter) }) orbitWrapper.mouseenter(function() { clearTimeout(outTimer); }) } } } //Pause Timer on hover if(options.pauseOnHover) { orbitWrapper.mouseenter(function() { stopClock(); }); } // ============== // ! CAPTIONS // ============== //Caption Setup if(options.captions) { var captionHTML = '<div class="orbit-caption"></div>'; orbitWrapper.append(captionHTML); var caption = orbitWrapper.children('.orbit-caption'); setCaption(); } //Caption Execution function setCaption() { if(!options.captions || options.captions =="false") { return false; } else { var _captionLocation = slides.eq(activeSlide).data('caption'); //get ID from rel tag on image _captionHTML = $(_captionLocation).html(); //get HTML from the matching HTML entity //Set HTML for the caption if it exists if(_captionHTML) { caption .attr('id',_captionLocation) // Add ID caption .html(_captionHTML); // Change HTML in Caption //Animations for Caption entrances if(options.captionAnimation == 'none') { caption.show(); } if(options.captionAnimation == 'fade') { caption.fadeIn(options.captionAnimationSpeed); } if(options.captionAnimation == 'slideOpen') { caption.slideDown(options.captionAnimationSpeed); } } else { //Animations for Caption exits if(options.captionAnimation == 'none') { caption.hide(); } if(options.captionAnimation == 'fade') { caption.fadeOut(options.captionAnimationSpeed); } if(options.captionAnimation == 'slideOpen') { caption.slideUp(options.captionAnimationSpeed); } } } } // ================== // ! DIRECTIONAL NAV // ================== //DirectionalNav { rightButton --> shift("next"), leftButton --> shift("prev"); if(options.directionalNav) { if(options.directionalNav == "false") { return false; } var directionalNavHTML = '<div class="slider-nav"><span class="right">Right</span><span class="left">Left</span></div>'; orbitWrapper.append(directionalNavHTML); var leftBtn = orbitWrapper.children('div.slider-nav').children('span.left'), rightBtn = orbitWrapper.children('div.slider-nav').children('span.right'); leftBtn.click(function() { stopClock(); shift("prev"); }); rightBtn.click(function() { stopClock(); shift("next") }); } // ================== // ! BULLET NAV // ================== //Bullet Nav Setup if(options.bullets) { var bulletHTML = '<ul class="orbit-bullets"></ul>'; orbitWrapper.append(bulletHTML); var bullets = orbitWrapper.children('ul.orbit-bullets'); for(i=0; i<numberSlides; i++) { var liMarkup = $('<li>'+(i+1)+'</li>'); if(options.bulletThumbs) { var thumbName = slides.eq(i).data('thumb'); if(thumbName) { var liMarkup = $('<li class="has-thumb">'+i+'</li>') liMarkup.css({"background" : "url("+options.bulletThumbLocation+thumbName+") no-repeat"}); } } orbitWrapper.children('ul.orbit-bullets').append(liMarkup); liMarkup.data('index',i); liMarkup.click(function() { stopClock(); shift($(this).data('index')); }); } setActiveBullet(); } //Bullet Nav Execution function setActiveBullet() { if(!options.bullets) { return false; } else { bullets.children('li').removeClass('active').eq(activeSlide).addClass('active'); } } // ==================== // ! SHIFT ANIMATIONS // ==================== //Animating the shift! function shift(direction) { //remember previous activeSlide var prevActiveSlide = activeSlide, slideDirection = direction; //exit function if bullet clicked is same as the current image if(prevActiveSlide == slideDirection) { return false; } //reset Z & Unlock function resetAndUnlock() { slides .eq(prevActiveSlide) .css({"z-index" : 1}); unlock(); options.afterSlideChange.call(this); } if(slides.length == "1") { return false; } if(!locked) { lock(); //deduce the proper activeImage if(direction == "next") { activeSlide++ if(activeSlide == numberSlides) { activeSlide = 0; } } else if(direction == "prev") { activeSlide-- if(activeSlide < 0) { activeSlide = numberSlides-1; } } else { activeSlide = direction; if (prevActiveSlide < activeSlide) { slideDirection = "next"; } else if (prevActiveSlide > activeSlide) { slideDirection = "prev" } } //set to correct bullet setActiveBullet(); //set previous slide z-index to one below what new activeSlide will be slides .eq(prevActiveSlide) .css({"z-index" : 2}); //fade if(options.animation == "fade") { slides .eq(activeSlide) .css({"opacity" : 0, "z-index" : 3}) .animate({"opacity" : 1}, options.animationSpeed, resetAndUnlock); } //horizontal-slide if(options.animation == "horizontal-slide") { if(slideDirection == "next") { slides .eq(activeSlide) .css({"left": orbitWidth, "z-index" : 3}) .animate({"left" : 0}, options.animationSpeed, resetAndUnlock); } if(slideDirection == "prev") { slides .eq(activeSlide) .css({"left": -orbitWidth, "z-index" : 3}) .animate({"left" : 0}, options.animationSpeed, resetAndUnlock); } } //vertical-slide if(options.animation == "vertical-slide") { if(slideDirection == "prev") { slides .eq(activeSlide) .css({"top": orbitHeight, "z-index" : 3}) .animate({"top" : 0}, options.animationSpeed, resetAndUnlock); } if(slideDirection == "next") { slides .eq(activeSlide) .css({"top": -orbitHeight, "z-index" : 3}) .animate({"top" : 0}, options.animationSpeed, resetAndUnlock); } } //push-over if(options.animation == "horizontal-push") { if(slideDirection == "next") { slides .eq(activeSlide) .css({"left": orbitWidth, "z-index" : 3}) .animate({"left" : 0}, options.animationSpeed, resetAndUnlock); slides .eq(prevActiveSlide) .animate({"left" : -orbitWidth}, options.animationSpeed); } if(slideDirection == "prev") { slides .eq(activeSlide) .css({"left": -orbitWidth, "z-index" : 3}) .animate({"left" : 0}, options.animationSpeed, resetAndUnlock); slides .eq(prevActiveSlide) .animate({"left" : orbitWidth}, options.animationSpeed); } } setCaption(); } //lock }//orbit function });//each call }//orbit plugin call })(jQuery); </script>
Background image: