Women Powering Work

Christopher Heald's picture
Undefined
<script> $('#ccs-header').before('<style>.buttonText { font: 17px/1.5 BentonSans, Arial, sans-serif, Rockwell; color: #fff; font-weight: bold; text-transform: uppercase; } .buttontext a { color: #fff; text-decoration: none; } .buttontext a:hover { color: #fff; text-decoration: none; } #button1, #button2, #button3, #button4, #button5 { float: left; border: none; height: 25px; padding: 0 20px 0 20px; overflow: hidden; display: block; text-align: center; line-height: 25px; margin-left: 2.5px; margin-right: 2.5px; margin-top: 8px; /*Transition*/ -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease; border-radius: 6px; } #button1 { background: none; margin-left: 10px } #button1:hover { background-color: #B14182; } #button2 { background: none; } #button2:hover { background-color: #B14182; } #button3 { background: none; } #button3:hover { background-color: #B14182; } #button4 { background: none; } #button4:hover { background-color: #B14182; } #button5 { background: none; } #button5:hover { background-color: #B14182; } .MENAW-navbg { background-color: #5D7676; height: 40px; margin-top: 10px; width: 750px; } .MENAW-topbanner .bannerlink img { width: 100%; } #button1:hover, #button2:hover, #button3:hover, #button4:hover, #button5:hover { color: #fff } </style> <div class="MENAW-topbanner"><img src="https://static-changemakerscom.netdna-ssl.com/sites/default/files/ge-mena-community-banner-fr.jpg" /><div class="MENAW-navbg"><a href="/MENAWomen" id="button1" class="buttonText" alt="Défi" title="Défi">Défi</a><!--<a href="/MENAWomen" id="button2" class="buttonText" alt="Toolkit" title="Toolkit">Toolkit</a><a href="#thoughtleaders" id="button3" class="buttonText" alt="Thought Leaders" title="Thought Leaders">Thought Leaders</a> --><a href="#blog" id="button4" class="buttonText" alt="Blog" title="Blog">Blog</a><!--<a href="#members" id="button5" class="buttonText" alt="Partenaires" title="Partenaires">Partenaires</a> --></div></div><br clear="all" />'); </script> <style> .css-title { display: none; } .awesome-slider-block{ height:220px; } .take-action-links-share { display: none; } .take-action-list {position: relative;height: 0px;top: -64px;left: 752px;} #ccs-header li.take-action-link.join a {width: 130px;height: 20px;} .take-action-links.grid-4 {height: 0px;} </style> <!--[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() { $('#cm-slider-awesome').orbit({animation: 'horizontal-push', directionalNav: true}); }); </script> <div id="cm-slider-awesome"> <div class="content" id="mena-slide1"> <div id="mena-slide"> <p class="slider-title">Infos Défi</p> <p class="slider-body">GE et Ashoka Changemakers sont à la recherche de vos solutions innovantes visant à améliorer les opportunités économiques des femmes de la région Moyen-Orient/Afrique du Nord, renforcer leur famille et leur communauté, et leur permettre de bénéficier équitablement de la croissance économique. <a href="/MENAwomen">plus</a></p> </div> </div> <!-- <div class="content" id="mena-slide2"> <div id="mena-slide"> <p class="slider-title">Older News</p> <p class="slider-body">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat <a href="#">read more</a></p> </div> </div> --> </div> <div id="mena-teaser"><h1 style="color: #fff;font-size: 32px;line-height: 0.9;margin-left: 720px;padding-top: 15px;"><div style="display: inline;vertical-align: top;font-size: 18px;">$&nbsp;</div>75 K<br /><div style="color: #4A0049; font-size: 28px;">de prix</div></h1><p style="color: #fff;font-size: 13px;margin-left: 655px;padding-top: 5px;width: 250px;">Pour les nouvelles les plus récentes concernant le concours, rejoignez-nous sur Facebook (#MENAwomen) et à @changemakers sur Twitter.</p> <p><a href="https://www.facebook.com/ashokaschangemakers" target="_blank"><img class="mena-social-link" src="https://static-changemakerscom.netdna-ssl.com/sites/default/files/ge_mena_facebook.png" alt="Facebook"></a><a href="https://twitter.com/search?src=typd&q=%23womenWork" target="_blank"><img class="mena-social-link" src="https://static-changemakerscom.netdna-ssl.com/sites/default/files/ge_mena_twitter.png" alt="Twitter"></a><a href="http://www.youtube.com/user/ChangemakersNet" target="_blank"><img class="mena-social-link" src="https://static-changemakerscom.netdna-ssl.com/sites/default/files/ge_mena_youtube.png" alt="YouTube"></a><a href="http://www.linkedin.com/company/ashoka" target="_blank"><img class="mena-social-link" src="https://static-changemakerscom.netdna-ssl.com/sites/default/files/ge_mena_linkedin.png" alt="LinkedIn"></a></div> <style type="text/css"> /* SLIDER CCS */ .mena-social-link { margin-left:20px; } #mena-teaser { position: relative; height: 220px; display: block; top: -10px; left: 10px; background: url(https://static-changemakerscom.netdna-ssl.com/sites/default/files/ge_mena_teaser_bg.png) no-repeat 630px top; } #cm-slider-awesome { width: 631px; height: 220px; background: #000 url(http://cdn.changemakers.com/sites/default/files/sliderloading.gif) no-repeat center center; overflow: hidden; } #cm-slider-awesome { margin-top:-10px; } #cm-slider-awesome .content { width:631px; height:220px; } /* SPECIFIC TO MENA SLIDER */ #mena-slide { height: 220px; margin-top: -27px; background: url(https://static-changemakerscom.netdna-ssl.com/sites/default/files/ge_mena_slider_textscreen.png) no-repeat 300px; } #mena-slide1 { background-image: url(https://static-changemakerscom.netdna-ssl.com/sites/default/files/ge_mena_slider_1.jpg); } #mena-slide2 { background-image: url(https://static-changemakerscom.netdna-ssl.com/sites/default/files/ge_mena_slider_2.png); } #orange { background-image: url(https://static-changemakerscom.netdna-ssl.com/sites/default/files/orange-4.jpg); } #green { background-image: url(https://static-changemakerscom.netdna-ssl.com/sites/default/files/green-2.jpg); } #pink { background-image: url(https://static-changemakerscom.netdna-ssl.com/sites/default/files/pink-2.jpg); } #blue { background-image: url(https://static-changemakerscom.netdna-ssl.com/sites/default/files/blue-9.jpg); } .slider-title { overflow: visible; font-family: BentonSans,Arial,sans-serif,Rockwell; font-size: 25px; width: 250px; text-transform: uppercase; letter-spacing: -1px; color: #F7C886; margin-left: 320px; margin-bottom: 0px; padding-top: 25px; font-weight: bold; } .slider-body { font-family: BentonSans,Arial,sans-serif,Rockwell; width: 260px; font-size: 13px; color: #fff; margin-left: 320px; margin-right: 20px; padding-top: 5px; } .slider-body a {color: #FFD842;} .slider-body a:hover {color: #f07e42;} .slider-date { font-family: BentonSans,Arial,sans-serif,Rockwell; font-size: 18px; font-style: normal; font-weight: normal; text-transform: uppercase; margin-top: 10px; margin-left: 320px; color: #FFF; } /* PUT IN YOUR SLIDER ID AND SIZE TO MAKE LOAD BEAUTIFULLY ================================================== */ #cm-slider-awesome { width: 631px; height: 220px; overflow: hidden; } #cm-slider-awesome>img, #cm-slider-awesome>div, #cm-slider-awesome>a { display: none; } /* CONTAINER ================================================== */ div.orbit-wrapper { width: 1px; height: 1px; position: relative; float: left; } 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; 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: 9; } 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/ge_mena_slider_right.png) no-repeat; right: -9px; top: 130px; } div.slider-nav span.left { background: url(http://cdn.changemakers.com/sites/default/files/ge_mena_slider_left.png) no-repeat; top: 130px; } /* 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-slide', // 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: false, // 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>
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0