Viewable by the world
Group Access to Chemical Sciences Division
Can VIEW the space: anonymous ,  csd-PI ,  confluence-administrators , 
Can EDIT the space: confluence-administrators , 
Can ADMINISTER the space: confluence-administrators , 

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Section
Column
width55%
HTML
  <div class="slider-wrapper theme-default">
    <div id="slider" class="nivoSlider">

<a href="https://berkeleylabnext90.lbl.gov//"><img src="/download/attachments/101451021/Harnessing Energy from the Sun_LBL90_homepage-update.jpg?api=v2?api=v2?api=v2" title="<h4>Harnessing Energy from the Sun  Click image to read more >>" /></a>

<a href="https://als.lbl.gov/chemical-and-strategic-transformations-at-beamline-9-0//"><img src="/download/attachments/101451021/Beamline 9.0_Chemical-Transformations1.jpg?api=v2?api=v2" title="<h4>Chemical (and Strategic) Transformations at Beamline 9.0 Click image to read more >>" /></a>

<a href="https://newscenter.lbl.gov/2021/03/29/harnessing-sun-for-clean-energy//"><img src="/download/attachments/101451021/gessner-solar-pathway-1200px.jpg?api=v2" title="<h4>Charged Up: Scientists Find New Pathway to Harnessing the Sun for a Clean Energy Future Click image to read more >>" /></a>

<a href="https://newscenter.lbl.gov/2021/03/24/the-way-to-berkelium-californium//"><img src="/download/attachments/101451021/Bk-Cf-shutterstock_art-combined-konstantinks-640x640-ed.jpg?api=v2" title="<h4>Do You Know the Way to Berkelium, Californium? Click image to read more >>" /></a>

<a href="https://newscenter.lbl.gov/2020/12/14/atomic-heavyweights-target-cancer//"><img src="/download/attachments/101451021/Abergel-PET-isotope-lab-1200x800-1.jpg?api=v2" title="<h4>Scientists Recruit New Atomic Heavyweights in Targeted Fight Against Cancer Click image to read more >>" /></a>

<a href="https://newscenter.lbl.gov/2020/09/30/capture-electrons-harvesting-light///"><img src="/download/attachments/101451021/Harvesting Light.jpg?api=v2" title="<h4>Scientists Capture Candid Snapshots of Electrons Harvesting Light at the Atomic Scale Click image to read more >>" /></a>

 <a href="https://chemistry.berkeley.edu/news/polly-arnold-diversity-interests//"><img src="/download/attachments/101451021/Polly Arnold.png?api=v2" title="<h4>Polly Arnold’s diversity of interests Click image to read more >>" /></a>

<a href="https://newscenter.lbl.gov/2019/12/23/artificial-proteins-grasp-on-metal//"><img src="/download/attachments/101451021/Abergel-chelating-peptoid-1200x635-1-628x332.png?api=v2" title="<h4>These Artificial Proteins Have a Firm Grasp on Heavy Metals Click image to read more >>" /></a>

<a href="https://newscenter.lbl.gov/2019/09/12/how-an-anti-nuclear-contamination-pill-could-also-help-mri-patients//"><img src="/download/attachments/101451021/Abergel-XBD201909-00842-001-1200x800px-628x419.jpg?api=v2" title="<h4>A Single Dose for Good Measure: How an Anti-Nuclear-Contamination Pill Could Also Help MRI Patients Click image to read more >>" /></a>

<a href="https://news.berkeley.edu/2019/07/11/what-happens-when-you-explode-a-chemical-bond/"><img src="/download/attachments/101451021/Explode a chemical bond.jpg?api=v2" title="<h4>What happens when you explode a chemical bond? Click image to read more >>" /></a>

<a href="https://newscenter.lbl.gov/2019/06/17/here-comes-the-sun-a-new-framework-for-artificial-photosynthesis////"><img src="/download/attachments/101451021/Here Comes the Sun.jpg?api=v2" title="<h4>Here Comes the Sun: A New Framework for Artificial Photosynthesis Click image to read more >>" /></a>

<a href="https://www.maxiv.lu.se/news/hippie-provides-a-closer-look-at-water-filtration///"><img src="/download/attachments/101451021/HIPPIE.jpg?api=v2" title="<h4>HIPPIE provides a closer look at water filtration Click image to read more >>" /></a>

<a href="https://newscenter.lbl.gov/2019/06/04/separation-anxiety-no-more-a-faster-technique-to-purify-elements//"><img src="/download/attachments/101451021/Separation Anxiety No More.jpg?api=v2" title="<h4>Separation Anxiety No More: A Faster Technique to Purify Elements Click image to read more >>" /></a>

<a href="https://newscenter.lbl.gov/2019/05/23/a-silver-bullet-for-the-chemical-conversion-of-carbon-dioxide//"><img src="/download/attachments/101451021/Silver Bullet.jpg?api=v2" title="<h4>A ‘Silver Bullet’ for the Chemical Conversion of Carbon Dioxide. Click image to read more >>" /></a>

<a href="https://science.energy.gov/bes/highlights/2019/bes-2019-04-h/"><img src="/download/attachments/101451021/Slow Charge Generation Graphic Update.jpg?api=v2" title="<h4>Slow Charge Generation Plays Big Role in Model Material for Solar Cells. Click image to read more >>" /></a>

<a href="https://science.energy.gov/bes/highlights/2019/bes-2019-04-d/"><img src="/download/attachments/101451021/Catching Fast Changes in Excited Molecules.jpg?api=v2" title="<h4>Catching Fast Changes in Excited Molecules. Click image to read more >>" /></a>

<a href="https://science.energy.gov/bes/highlights/2019/bes-2019-01-d/"><img src="/download/attachments/101451021/Subtle2.jpg?api=v2" title="<h4>The Subtle, but Significant, Role of Surfaces in Ion Stickiness. Click image to read more >>" /></a>

 <a href="https://science.energy.gov/bes/highlights/2019/bes-2019-01-c/"><img src="/download/attachments/101451021/Optimizing Electric Fields.jpg?api=v2" title="<h4>Optimizing Electric Fields Yields Better Catalysts. Click image to read more >>" /></a>

 <a href="https://science.energy.gov/bes/highlights/2019/bes-2019-01-a/"><img src="/download/attachments/101451021/New Probe for the Secrets.jpg?api=v2" title="<h4>New Probe for the Secrets of Complex Interfaces. Click image to read more >>" /></a>

<a href="https://today.lbl.gov/2018/10/31/this-multitasking-solar-cell-makes-hydrogen-fuel-and-electricity-at-the-same-time/"><img src="/download/attachments/101451021/Device-schematic.png?api=v2" title="<h4>This Multitasking Solar Cell Makes Hydrogen Fuel and Electricity at the Same Time. Click image to read more >>" /></a>

 <a href="http://today.lbl.gov/2018/10/09/new-clues-to-cut-through-the-mystery-of-titans-atmospheric-haze/"><img src="/download/attachments/101451021/saturn-titan-moon-atmosphere-haze-628x453.jpg?api=v2" title="<h4>New Clues to Cut Through the Mystery of Titan’s Atmospheric Haze. Click image to read more >>" /></a>


<a href="https://als.lbl.gov/the-smoking-gun-of-soot-formation/"><img src="/download/attachments/101451021/soot-photo-3.jpg?api=v2" title="<h4>How to Make Soot and Stardust. Click image to read more >>" /></a>

 <a href="https://newscenter.lbl.gov/2018/07/18/splitting-water-nanoscale-imaging-yields-key-insights/"><img src="/download/attachments/101451021/Berkeley-Lab-Toma.jpg?api=v2" title="<h4>Splitting Water: Nanoscale Imaging Yields Key Insights. Click image to read more >>" /></a>

 <a href="https://newscenter.lbl.gov/2018/03/05/possible-chemical-path-forming-life-building-blocks-space/ "><img src="/download/attachments/101451021/pyrene-wiki-commons-asteroids2-nasa-jpl-sm.jpg?api=v2" title="<h4>Chemical Sleuthing Unravels Possible Path to the Formation of Life’s Building Blocks in Space
. Click image to read more >>" /></a>
<a href="https://als.lbl.gov/unraveling-complexities-auto-oxidation/ "><img src="/download/attachments/101451021/369wang1.jpg?api=v2" title="<h4>Fuel from the Sun: Insight into Electrode Performance Click image to read more >>" /></a>

 <a href="https://als.lbl.gov/fuel-sun-insight-electrode-performance/"><img src="/download/attachments/101451021/sun0csd.jpg?api=v2" title="<h4>Fuel from the Sun: Insight into Electrode Performance Click image to read more >>" /></a>

<a href="http://today.lbl.gov/2018/01/10/how-carolin-sutter-fella-turned-major-change-into-a-successful-science-career/"><img src="/download/attachments/101451021/sutter-fella.jpg?api=v2" title="<h4>How Carolin Sutter-Fella Turned 'Major' Change Into a Successful Science Career. Click image to read more >>" /></a>

<a href="https://als.lbl.gov/pepsico-explores-future-food-products-als/"><img
src="/download/attachments/101451021/PepsiCoFig.jpg?api=v2" title="<h4>PepsiCo Explores Future Food Products at the ALS
</h4> Click image to read more >>" /></a>

 <a href="http://newscenter.lbl.gov/2017/08/29/high-resolution-analysis-hybrid-perovskite-materials/"><img
src="/download/attachments/101451021/perovskite_structure500.jpg?api=v2" title="<h4>Scientists Developing Innovative Techniques for High-Resolution Analysis of Hybrid Materials</h4> Click image to read more >>" /></a>

<a href="http://newscenter.lbl.gov/2017/02/09/chemicals-hitch-ride-onto-new-protein/"><img
src="/download/attachments/101451021/react-knife-500.jpg?api=v2" title="<h4>Chemicals Hitch a Ride onto New Protein for Better Compounds. Click image to read more >>" /></a>

<a href="http://newscenter.lbl.gov/2017/01/11/chemistry-on-the-edge/"><img
src="/download/attachments/101451021/chemistry-on-the-edge-setup-infrared-AFM-ALS-628x465.jpg?api=v2"
data-thumb="" alt="" title="<h4>Chemistry on the Edge: Study Pinpoints Most Active Areas of Reactions on Nanoscale Particles. Click image to read more >>" /></a>

<a href="http://newscenter.lbl.gov/2016/10/06/bionic-enzyme-reaction-speed/"><img
src="/download/attachments/101451021/ir-cyp119-670-628x423.jpg?api=v2"
data-thumb="" alt="" title="<h4>Bionic enzymes got a needed boost in speed thanks to new research at Berkeley Lab. Click image to read more >>" /></a>

<a href="http://today.lbl.gov/2016/08/24/a-cleansing-rain-falls-a-soil-filled-mist-arises/"><img
src="/download/attachments/101451021/ACleansingRainFallsAndSoilFilledMistArises.png?api=v2"
data-thumb="" alt="" title="<h4>A Cleansing Rain Falls; a Soil-Filled Mist Arises</h4>
<br>Rain's reputation for cleansing the air may come with a caveat    Click image to read more >>" /></a>
 
<a href="http://newscenter.lbl.gov/2016/07/04/perovskite-solar-cells/"><img
src="/download/attachments/101451021/facet-dependent-performance.jpg?api=v2"
data-thumb="" alt="" title="<h4>Discovery Could Dramatically Boost Efficiency of Perovskite Solar Cells</h4>
<br>Nanoscale images by Berkeley Lab researchers yield surprise that could push efficiency to 31 percent   Click image to read more >>" /></a>

<a href="http://newscenter.lbl.gov/2016/07/05/discovery-better-predicts-how-semiconductors-weather-abuse/"><img
src="https://commons.lbl.gov//download/attachments/101451021/jcapteam.jpg?api=v2"
data-thumb="" alt="" title="<h4>New Discovery Could Better Predict How Semiconductors Weather Abuse</h4>
<br>Mimicking nature is not easy, but new insights by researchers at the Department of Energy’s Lawrence Berkeley National Laboratory (Berkeley Lab) could help create a viable artificial system of photosynthesis.   Click image to read more >>" /></a>

<a href="http://newscenter.lbl.gov/2016/06/15/path-toward-bionic-enzymes/"><img
src="https://commons.lbl.gov/download/attachments/101451021/hybridenzyme-500x331.jpg?api=v2"
data-thumb="" alt="" title="<h4>On the Path Toward Bionic Enzymes</h4>
<br>There may soon be a new way to make molecules to form the basis of pharmaceuticals, fuels, materials, agrochemicals and an array of other products in our modern life.   Click image to read more >>" /></a>

<a href="http://newscenter.lbl.gov/2016/06/06/fat-burning-copper/"><img
src="https://commons.lbl.gov/download/attachments/101451021/Christopher-Chang_1200-628x416-1.jpg?api=v2"
data-thumb="" alt="" title="<h4>Copper is Key in Burning Fat</h4>
<br>A new study is further burnishing copper’s reputation as an essential nutrient for human physiology.  Click image to read more >>" /></a>

<a href="https://www.sciencenews.org/article/organic-molecules-help-fatten-cloud-making-water-droplets"><img
src="https://commons.lbl.gov/download/attachments/101451021/032416_ts_clouds_feat_free.jpg?api=v2"
data-thumb="" alt="" title="<h4>Organic molecules help fatten cloud-making water droplets</h4>
<br>IN THE CLOUDS  Many of the water droplets that make up clouds get a size boost from carbon-containing molecules that assemble on the droplets’ exterior, new research suggests. Click image to read more >>" /></a>
<a href="http://today.lbl.gov/2015/08/28/soaking-up-carbon-dioxide-and-turning-it-into-valuable-products/"><img
src="http://1t2src2grpd01c037d42usfb.wpengine.netdna-cdn.com/wp-content/uploads/sites/2/2015/08/Chris-and-Omar-COF-porphyrin.jpg"
data-thumb="" alt="" title="<h4>Soaking Up Carbon Dioxide and Turning it into Valuable Products</h4>
<br>Chris Chang (Chemical Sciences) and Omar Yaghi (Materials Sciences) led a
 study in which covalent organic frameworks were embedded with cobalt 
porphyrins to produce a molecular system that that not only absorbs 
carbon dioxide, but also selectively reduces it to carbon monoxide, a 
primary building block for a wide range of chemical products. Click image to read more >>" /></a>

<a href="http://newscenter.lbl.gov/2015/08/26/cellular-contamination-pathway-for-plutonium-other-heavy-elements-identified/"><img
src="http://1t2src2grpd01c037d42usfb.wpengine.netdna-cdn.com/wp-content/uploads/sites/2/2015/08/Abergel-team-small.jpg"
data-thumb="" alt="" title="<h4>Cellular Contamination Pathway for Plutonium, Other Heavy Elements, Identified</h4>
<br>Scientists at Lawrence Berkeley National Laboratory (Berkeley Lab) have 
reported a major advance in understanding the biological chemistry of 
radioactive metals, opening up new avenues of research into strategies 
for remedial action in the event of possible human exposure to nuclear 
contaminants. Click image to read more >>" /></a>

<a href="http://today.lbl.gov/2015/08/25/another-milestone-in-hybrid-artificial-photosynthesis/"><img
src="http://1t2src2grpd01c037d42usfb.wpengine.netdna-cdn.com/wp-content/uploads/sites/2/2015/04/Piedong-Chris-and-Michelle.jpg"
data-thumb="" alt="" title="<h4>Another Milestone in Hybrid Artificial Photosynthesis</h4>
<br>A team of researchers led by Peidong Yang of the Materials Sciences 
Division, Michelle Chang of the Physical Biosciences Division and Chris 
Chang of the Chemical Sciences Division, has combined semiconducting 
nanowires with select microbes to create an artificial photosynthesis 
system that produces renewable molecular hydrogen and uses it to 
synthesize carbon dioxide into methane, the primary constituent of 
natural gas. Click image to read more >>" /></a>

<a href="http://www.thefiscaltimes.com/2015/06/15/Renewable-Fuel-Can-Drive-Electric-Vehicles-Out-Business"><img
src="/download/attachments/101451021/01222013_Electric_article.jpg"
data-thumb="" alt="" title="<h4>This Renewable Fuel Can Drive Electric Vehicles Out of Business</h4>
<br>U.S. researchers are reporting breakthroughs in artificial photosynthesis that could result in a new source of renewable liquid fuels for cars, ships and planes. Click image to read more >>" /></a>

<a href="http://today.lbl.gov/2015/06/15/leaving-on-a-biofueled-jet-plane/"><img
src="http://2h963i3oa54o1nc84a14ihzo.wpengine.netdna-cdn.com/wp-content/uploads/sites/3/2015/06/Aviation-turbine-fuel-ATF1.jpg"
data-thumb="" alt="" title="<h4>Leaving on a Biofueled Jet Plane</h4>
<br>Berkeley Lab’s Alex Bell, Corinne Scown and Dean Toste have developed a 
catalytic process for converting sugarcane biomass into a new class of 
aviation fuel and lubricant base oils that could help biorefineries 
achieve net life-cycle greenhouse gas savings of up to 80-percent. Click image to read more >>" /></a>

<a href="http://today.lbl.gov/2015/06/17/unraveling-the-mysteries-of-carbonic-acid/"><img
src="http://2h963i3oa54o1nc84a14ihzo.wpengine.netdna-cdn.com/wp-content/uploads/sites/3/2015/06/Saykally-co2-in-water.jpg"
data-thumb="" alt="" title="<h4>Unraveling the Mysteries of Carbonic Acid</h4>
<br>Chemical scientist Rich Saykally led a study that revealed how gaseous 
carbon dioxide molecules dissolve in water to initiate the chemistry 
that yields carbonic acid and bicarbonate. Click image to read more >>" /></a>

<a href="http://newscenter.lbl.gov/2015/05/05/a-hot-start-to-the-origin-of-life/"><img
src="https://newscenter.lbl.gov/wp-content/uploads/sites/2/2015/05/energeticstarwithexplosions.jpg"
data-thumb="" alt="" title="<h4>A Hot Start to the Origin of Life?</h4>
<br>Researchers from Berkeley Lab & University of Hawaii at Manoa map the first chemical bonds that eventually give rise to DNA. Click image to read more >>" /></a>

<a href="http://today.lbl.gov/2015/04/17/major-artificial-photosynthesis-advance-poses-environmental-winwin/"><img
src="http://1t2src2grpd01c037d42usfb.wpengine.netdna-cdn.com/wp-content/uploads/sites/2/2015/04/Cait-photo-of-sun.jpg"
data-thumb="" alt="" title="<h4>Major Advance in Artificial Photosynthesis Poses Win/Win for the Environment</h4>
<br>Peidong Yang, Christopher Chang, and Michelle Chang led a potentially game-changing breakthrough. Click image to read more >>" /></a>

<a href="http://diversity.lbl.gov/2015/02/10/qa-with-joy-leggett-celebrating-black-history-month-and-stem/"><img
src="http://2h963i3oa54o1nc84a14ihzo.wpengine.netdna-cdn.com/wp-content/uploads/sites/3/2015/02/XBD201502-00020.jpg"
data-thumb="" alt="" title="<h4>Q&A With Joy Leggett: Celebrating Black History Month and STEM</h4>
<br>In honor of Black History Month, Chemical Sciences postdoc Joy 
(Christina) Leggett shares her professional background, personal 
experiences, and perspective on engaging underrepresented groups in 
science, technology, engineering, and mathematics (STEM) education. Click image to read more >>" /></a>

<a href="http://newscenter.berkeley.edu/2015/01/22/scientists-set-quantum-speed-limit/"><img
src="/download/attachments/101451021/bloch-sphere.jpg"
data-thumb="" alt="" title="<h4>Scientists Set Quantum Speed Limit</h4>
<br>Researchers, including Berkeley Lab chemical scientist K. Birgitta 
Whaley, have proved a fundamental relationship between energy and time 
that sets a “quantum speed limit” on processes ranging from quantum 
computing and tunneling to optical switching. Click image to read more >>" /></a>

<a href="http://newscenter.lbl.gov/2014/12/19/better-electrolyte-for-lithium-ion-batteries/"><img
src="/download/attachments/101451021/saykally.jpg"
data-thumb="" alt="" title="<h4>Possible Avenue to Better Electrolyte for Lithium Ion Batteries</h4>
<br>Rich Saykally, David Prendergast, and Steve Harris, conducted the first 
X-ray absorption spectroscopy study of a model electrolyte for 
lithium-ion batteries. The results show a pathway forward to improving 
lithium-ion batteries for electric vehicles and large-scale electrical 
energy storage. Click image to read more >>" /></a>

<a href="http://newscenter.lbl.gov/2014/12/02/a-better-look-at-the-chemistry-of-interfaces/"><img
src="/download/attachments/101451021/Chuck-Fadley-SWAPPS-3d.jpg"
data-thumb="" alt="" title="<h4>A Better Look at the Chemistry of Interfaces</h4>
<br>New X-ray Spectroscopy Technique at Berkeley Lab’s Advanced Light Source for the Study of Heterogeneous Interfaces. Click image to read more >>" /></a>

<a href="http://today.lbl.gov/2014/11/17/askberkeleylab-question-on-treating-radiation-exposure-answered/"><img
src="/download/attachments/101451021/abergel.png"
data-thumb="" alt="" title="<h4>‘AskBerkeleyLab’ Question on Treating Radiation Exposure Answered</h4>
<br>Lab chemist, Rebecca Abergel, answers a question from Oakland resident on how a pill can treat exposure to radiation. Click image to read more >>" /></a>

<a href="http://today.lbl.gov/2014/08/22/quantum-vortices-inside-superfluid-helium-nanodroplets-mapped/"><img
src="http://today.lbl.gov/wp-content/uploads/sites/3/2014/08/Oliver-Gessner.jpg"
data-thumb="" alt="" title="<h4>Quantum Vortices Inside Superfluid Helium Nanodroplets Mapped</h4>
<br>Scientists have, for the first time, characterized so-called quantum 
vortices that swirl within tiny droplets of liquid helium. The research 
confirms that helium nanodroplets are in fact the smallest possible 
superfluidic objects and opens new avenues for studying quantum rotation. Click image to read more >>" /></a>

<a href="http://today.lbl.gov/2014/08/18/of-metal-heads-and-imaging/"><img
src="http://newscenter.lbl.gov/wp-content/uploads/sites/2/2014/08/Chris-Chang.jpg"
data-thumb="" alt="" title="<h4>Of Metal Heads and Imaging</h4>
<br>Lab researchers are developing molecular imaging probes and techniques 
to study metals in the brain that have been linked to disorders such as 
Alzheimer’s and Parkinson’s diseases. Click image to read more >>" /></a>

<a href="http://newscenter.lbl.gov/2014/06/30/combustion-theory-and-soot-formation-flame-wars-and-haca/"><img
src="http://newscenter.lbl.gov/wp-content/uploads/sites/2/2014/06/AhmedCombustionGraphic.jpg"
data-thumb="" alt="" title="<h4>Up in Flames: Evidence Confirms Combustion Theory</h4>
<br>Researchers at the Department of Energy’s Lawrence Berkeley National Lab (Berkeley 
Lab) and the University of Hawaii have uncovered the first step in the 
process that transforms gas-phase molecules into solid particles like 
soot and other carbon-based compounds. Click image to read more >>" /></a>

 <a href="http://newscenter.lbl.gov/science-shorts/2013/05/24/copper-on-the-brain/"><img
src="http://newscenter.lbl.gov/wp-content/uploads/sites/2/Chris-Chang-copper-brain.jpg"
data-thumb="" alt="" title="<h4>Fluorescent Probes Developed to Image Copper in the Brain</h4>
<br>Berkeley Lab chemist Christopher Chang and his research group at UC 
Berkeley have developed a series of fluorescent probes for molecular 
imaging of copper in the brain. Click image to read more >>" /></a>

 
<a href="http://today.lbl.gov/2013/09/13/chemical-scientist-john-hartwig-profiled-as-part-of-american-chemical-society-video-series/">
<img src="/download/attachments/101451021/hartwig_vidcap.jpg"
data-thumb="" alt="" title="<h4>Chemical Scientist John Hartwig Profiled as Part of American Chemical Society Video Series</h4>
<br>Chris Jones, Editor-in-Chief of ACS Catalysis, meets with Berkeley Lab 
chemical scientist John Hartwig, winner of the 2013 ACS Catalysis 
Lectureship for the Advancement of Catalytic Science. Hartwig discusses 
the award and his career and achievements in catalysis research. Click image to view the video >>" /></a>
               
    </div>   
  </div>

    <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
    <script type="text/javascript">
    /*
 * jQuery Nivo Slider v3.1
 * http://nivo.dev7studios.com
 *
 * Copyright 2012, Dev7studios
 * Free to use and abuse under the MIT license.
 * http://www.opensource.org/licenses/mit-license.php
 */

(function($) {
    var NivoSlider = function(element, options){
        // Defaults are below
        var settings = $.extend({}, $.fn.nivoSlider.defaults, options);

        // Useful variables. Play carefully.
        var vars = {
            currentSlide: 0,
            currentImage: '',
            totalSlides: 0,
            running: false,
            paused: false,
            stop: false,
            controlNavEl: false
        };

        // Get this slider
        var slider = $(element);
        slider.data('nivo:vars', vars).addClass('nivoSlider');

        // Find our slider children
        var kids = slider.children();
        kids.each(function() {
            var child = $(this);
            var link = '';
            if(!child.is('img')){
                if(child.is('a')){
                    child.addClass('nivo-imageLink');
                    link = child;
                }
                child = child.find('img:first');
            }
            // Get img width & height
            var childWidth = (childWidth === 0) ? child.attr('width') : child.width(),
                childHeight = (childHeight === 0) ? child.attr('height') : child.height();

            if(link !== ''){
                link.css('display','none');
            }
            child.css('display','none');
            vars.totalSlides++;
        });
         
        // If randomStart
        if(settings.randomStart){
            settings.startSlide = Math.floor(Math.random() * vars.totalSlides);
        }
        
        // Set startSlide
        if(settings.startSlide > 0){
            if(settings.startSlide >= vars.totalSlides) { settings.startSlide = vars.totalSlides - 1; }
            vars.currentSlide = settings.startSlide;
        }
        
        // Get initial image
        if($(kids[vars.currentSlide]).is('img')){
            vars.currentImage = $(kids[vars.currentSlide]);
        } else {
            vars.currentImage = $(kids[vars.currentSlide]).find('img:first');
        }
        
        // Show initial link
        if($(kids[vars.currentSlide]).is('a')){
            $(kids[vars.currentSlide]).css('display','block');
        }
        
        // Set first background
        var sliderImg = $('<img class="nivo-main-image" src="#" />');
        sliderImg.attr('src', vars.currentImage.attr('src')).show();
        slider.append(sliderImg);

        // Detect Window Resize
        $(window).resize(function() {
            slider.children('img').width(slider.width());
            sliderImg.attr('src', vars.currentImage.attr('src'));
            sliderImg.stop().height('auto');
            $('.nivo-slice').remove();
            $('.nivo-box').remove();
        });

        //Create caption
        slider.append($('<div class="nivo-caption"></div>'));
        
        // Process caption function
        var processCaption = function(settings){
            var nivoCaption = $('.nivo-caption', slider);
            if(vars.currentImage.attr('title') != '' && vars.currentImage.attr('title') != undefined){
                var title = vars.currentImage.attr('title');
                if(title.substr(0,1) == '#') title = $(title).html();   

                if(nivoCaption.css('display') == 'block'){
                    setTimeout(function(){
                        nivoCaption.html(title);
                    }, settings.animSpeed);
                } else {
                    nivoCaption.html(title);
                    nivoCaption.stop().fadeIn(settings.animSpeed);
                }
            } else {
                nivoCaption.stop().fadeOut(settings.animSpeed);
            }
        }
        
        //Process initial  caption
        processCaption(settings);
        
        // In the words of Super Mario "let's a go!"
        var timer = 0;
        if(!settings.manualAdvance && kids.length > 1){
            timer = setInterval(function(){ nivoRun(slider, kids, settings, false); }, settings.pauseTime);
        }
        
        // Add Direction nav
        if(settings.directionNav){
            slider.append('<div class="nivo-directionNav"><a class="nivo-prevNav">'+ settings.prevText+'</a><a class="nivo-nextNav">'+ settings.nextText +'</a></div>');
            
            $('a.nivo-prevNav', slider).live('click', function(){
                if(vars.running) { return false; }
                clearInterval(timer);
                timer = '';
                vars.currentSlide -= 2;
                nivoRun(slider, kids, settings, 'prev');
            });
            
            $('a.nivo-nextNav', slider).live('click', function(){
                if(vars.running) { return false; }
                clearInterval(timer);
                timer = '';
                nivoRun(slider, kids, settings, 'next');
            });
        }
        
        // Add Control nav
        if(settings.controlNav){
            vars.controlNavEl = $('<div class="nivo-controlNav"></div>');
            slider.after(vars.controlNavEl);
            for(var i = 0; i < kids.length; i++){
                if(settings.controlNavThumbs){
                    vars.controlNavEl.addClass('nivo-thumbs-enabled');
                    var child = kids.eq(i);
                    if(!child.is('img')){
                        child = child.find('img:first');
                    }
                    if(child.attr('data-thumb')) vars.controlNavEl.append('<a class="nivo-control" rel="'+ i+'"><img src="'+ child.attr('data-thumb') +'" alt="" /></a>');
                } else {
                    vars.controlNavEl.append('<a class="nivo-control" rel="'+ i +'">'+ (i + 1) +'</a>');
                }
            }

            //Set initial active link
            $('a:eq('+ vars.currentSlide +')', vars.controlNavEl).addClass('active');
            
            $('a', vars.controlNavEl).bind('click', function(){
                if(vars.running) return false;
                if($(this).hasClass('active')) return false;
                clearInterval(timer);
                timer = '';
                sliderImg.attr('src', vars.currentImage.attr('src'));
                vars.currentSlide = $(this).attr('rel') - 1;
                nivoRun(slider, kids, settings, 'control');
            });
        }
        
        //For pauseOnHover setting
        if(settings.pauseOnHover){
            slider.hover(function(){
                vars.paused = true;
                clearInterval(timer);
                timer = '';
            }, function(){
                vars.paused = false;
                // Restart the timer
                if(timer === '' && !settings.manualAdvance){
                    timer = setInterval(function(){ nivoRun(slider, kids, settings, false); },settings.pauseTime);
                }
            });
        }
        
        // Event when Animation finishes
        slider.bind('nivo:animFinished', function(){
            sliderImg.attr('src', vars.currentImage.attr('src'));
            vars.running = false; 
            // Hide child links
            $(kids).each(function(){
                if($(this).is('a')){
                   $(this).css('display','none');
                }
            });
            // Show current link
            if($(kids[vars.currentSlide]).is('a')){
                $(kids[vars.currentSlide]).css('display','block');
            }
            // Restart the timer
            if(timer === '' && !vars.paused && !settings.manualAdvance){
                timer = setInterval(function(){ nivoRun(slider, kids, settings, false); },settings.pauseTime);
            }
            // Trigger the afterChange callback
            settings.afterChange.call(this);
        }); 
        
        // Add slices for slice animations
        var createSlices = function(slider, settings, vars) {
            if($(vars.currentImage).parent().is('a')) $(vars.currentImage).parent().css('display','block');
            $('img[src="'+ vars.currentImage.attr('src') +'"]', slider).not('.nivo-main-image,.nivo-control img').width(slider.width()).css('visibility', 'hidden').show();
            var sliceHeight = ($('img[src="'+ vars.currentImage.attr('src') +'"]', slider).not('.nivo-main-image,.nivo-control img').parent().is('a')) ? $('img[src="'+ vars.currentImage.attr('src') +'"]',slider).not('.nivo-main-image,.nivo-control img').parent().height() : $('img[src="'+vars.currentImage.attr('src') +'"]', slider).not('.nivo-main-image,.nivo-control img').height();

            for(var i = 0; i < settings.slices; i++){
                var sliceWidth = Math.round(slider.width()/settings.slices);
                
                if(i === settings.slices-1){
                    slider.append(
                        $('<div class="nivo-slice" name="'+i+'"><img src="'+ vars.currentImage.attr('src')+'" style="position:absolute; width:'+ slider.width() +'px; height:auto; display:block !important; top:0; left:-'+ ((sliceWidth + (i * sliceWidth)) - sliceWidth) +'px;" /></div>').css({ 
                            left:(sliceWidth*i)+'px', 
                            width:(slider.width()-(sliceWidth*i))+'px',
                            height:sliceHeight+'px', 
                            opacity:'0',
                            overflow:'hidden'
                        })
                    );
                } else {
                    slider.append(
                        $('<div class="nivo-slice" name="'+i+'"><img src="'+ vars.currentImage.attr('src')+'" style="position:absolute; width:'+ slider.width() +'px; height:auto; display:block !important; top:0; left:-'+ ((sliceWidth + (i * sliceWidth)) - sliceWidth) +'px;" /></div>').css({ 
                            left:(sliceWidth*i)+'px', 
                            width:sliceWidth+'px',
                            height:sliceHeight+'px',
                            opacity:'0',
                            overflow:'hidden'
                        })
                    );
                }
            }
            
            $('.nivo-slice', slider).height(sliceHeight);
            sliderImg.stop().animate({
                height: $(vars.currentImage).height()
            }, settings.animSpeed);
        };
        
        // Add boxes for box animations
        var createBoxes = function(slider, settings, vars){
            if($(vars.currentImage).parent().is('a')) $(vars.currentImage).parent().css('display','block');
            $('img[src="'+ vars.currentImage.attr('src') +'"]', slider).not('.nivo-main-image,.nivo-control img').width(slider.width()).css('visibility', 'hidden').show();
            var boxWidth = Math.round(slider.width()/settings.boxCols),
                boxHeight = Math.round($('img[src="'+ vars.currentImage.attr('src') +'"]', slider).not('.nivo-main-image,.nivo-control img').height() / settings.boxRows);
            
                        
            for(var rows = 0; rows < settings.boxRows; rows++){
                for(var cols = 0; cols < settings.boxCols; cols++){
                    if(cols === settings.boxCols-1){
                        slider.append(
                            $('<div class="nivo-box" name="'+ cols +'" rel="'+ rows +'"><img src="'+vars.currentImage.attr('src') +'" style="position:absolute; width:'+ slider.width() +'px; height:auto; display:block; top:-'+ (boxHeight*rows) +'px; left:-'+ (boxWidth*cols) +'px;" /></div>').css({ 
                                opacity:0,
                                left:(boxWidth*cols)+'px', 
                                top:(boxHeight*rows)+'px',
                                width:(slider.width()-(boxWidth*cols))+'px'
                                
                            })
                        );
                        $('.nivo-box[name="'+ cols +'"]', slider).height($('.nivo-box[name="'+ cols +'"] img',slider).height()+'px');
                    } else {
                        slider.append(
                            $('<div class="nivo-box" name="'+ cols +'" rel="'+ rows +'"><img src="'+vars.currentImage.attr('src') +'" style="position:absolute; width:'+ slider.width() +'px; height:auto; display:block; top:-'+ (boxHeight*rows) +'px; left:-'+ (boxWidth*cols) +'px;" /></div>').css({ 
                                opacity:0,
                                left:(boxWidth*cols)+'px', 
                                top:(boxHeight*rows)+'px',
                                width:boxWidth+'px'
                            })
                        );
                        $('.nivo-box[name="'+ cols +'"]', slider).height($('.nivo-box[name="'+ cols +'"] img',slider).height()+'px');
                    }
                }
            }
            
            sliderImg.stop().animate({
                height: $(vars.currentImage).height()
            }, settings.animSpeed);
        };

        // Private run method
        var nivoRun = function(slider, kids, settings, nudge){          
            // Get our vars
            var vars = slider.data('nivo:vars');
            
            // Trigger the lastSlide callback
            if(vars && (vars.currentSlide === vars.totalSlides - 1)){ 
                settings.lastSlide.call(this);
            }
            
            // Stop
            if((!vars || vars.stop) && !nudge) { return false; }
            
            // Trigger the beforeChange callback
            settings.beforeChange.call(this);

            // Set current background before change
            if(!nudge){
                sliderImg.attr('src', vars.currentImage.attr('src'));
            } else {
                if(nudge === 'prev'){
                    sliderImg.attr('src', vars.currentImage.attr('src'));
                }
                if(nudge === 'next'){
                    sliderImg.attr('src', vars.currentImage.attr('src'));
                }
            }
            
            vars.currentSlide++;
            // Trigger the slideshowEnd callback
            if(vars.currentSlide === vars.totalSlides){ 
                vars.currentSlide = 0;
                settings.slideshowEnd.call(this);
            }
            if(vars.currentSlide < 0) { vars.currentSlide = (vars.totalSlides - 1); }
            // Set vars.currentImage
            if($(kids[vars.currentSlide]).is('img')){
                vars.currentImage = $(kids[vars.currentSlide]);
            } else {
                vars.currentImage = $(kids[vars.currentSlide]).find('img:first');
            }
            
            // Set active links
            if(settings.controlNav){
                $('a', vars.controlNavEl).removeClass('active');
                $('a:eq('+ vars.currentSlide +')', vars.controlNavEl).addClass('active');
            }
            
            // Process caption
            processCaption(settings);            
            
            // Remove any slices from last transition
            $('.nivo-slice', slider).remove();
            
            // Remove any boxes from last transition
            $('.nivo-box', slider).remove();
            
            var currentEffect = settings.effect,
                anims = '';
                
            // Generate random effect
            if(settings.effect === 'random'){
                anims = new Array('sliceDownRight','sliceDownLeft','sliceUpRight','sliceUpLeft','sliceUpDown','sliceUpDownLeft','fold','fade',
                'boxRandom','boxRain','boxRainReverse','boxRainGrow','boxRainGrowReverse');
                currentEffect = anims[Math.floor(Math.random()*(anims.length + 1))];
                if(currentEffect === undefined) { currentEffect = 'fade'; }
            }
            
            // Run random effect from specified set (eg: effect:'fold,fade')
            if(settings.effect.indexOf(',') !== -1){
                anims = settings.effect.split(',');
                currentEffect = anims[Math.floor(Math.random()*(anims.length))];
                if(currentEffect === undefined) { currentEffect = 'fade'; }
            }
            
            // Custom transition as defined by "data-transition" attribute
            if(vars.currentImage.attr('data-transition')){
                currentEffect = vars.currentImage.attr('data-transition');
            }
        
            // Run effects
            vars.running = true;
            var timeBuff = 0,
                i = 0,
                slices = '',
                firstSlice = '',
                totalBoxes = '',
                boxes = '';
            
            if(currentEffect === 'sliceDown' || currentEffect === 'sliceDownRight' || currentEffect ==='sliceDownLeft'){
                createSlices(slider, settings, vars);
                timeBuff = 0;
                i = 0;
                slices = $('.nivo-slice', slider);
                if(currentEffect === 'sliceDownLeft') { slices = $('.nivo-slice', slider)._reverse(); }
                
                slices.each(function(){
                    var slice = $(this);
                    slice.css({ 'top': '0px' });
                    if(i === settings.slices-1){
                        setTimeout(function(){
                            slice.animate({opacity:'1.0' }, settings.animSpeed, '', function(){slider.trigger('nivo:animFinished'); });
                        }, (100 + timeBuff));
                    } else {
                        setTimeout(function(){
                            slice.animate({opacity:'1.0' }, settings.animSpeed);
                        }, (100 + timeBuff));
                    }
                    timeBuff += 50;
                    i++;
                });
            } else if(currentEffect === 'sliceUp' || currentEffect === 'sliceUpRight' || currentEffect ==='sliceUpLeft'){
                createSlices(slider, settings, vars);
                timeBuff = 0;
                i = 0;
                slices = $('.nivo-slice', slider);
                if(currentEffect === 'sliceUpLeft') { slices = $('.nivo-slice', slider)._reverse(); }
                
                slices.each(function(){
                    var slice = $(this);
                    slice.css({ 'bottom': '0px' });
                    if(i === settings.slices-1){
                        setTimeout(function(){
                            slice.animate({opacity:'1.0' }, settings.animSpeed, '', function(){slider.trigger('nivo:animFinished'); });
                        }, (100 + timeBuff));
                    } else {
                        setTimeout(function(){
                            slice.animate({opacity:'1.0' }, settings.animSpeed);
                        }, (100 + timeBuff));
                    }
                    timeBuff += 50;
                    i++;
                });
            } else if(currentEffect === 'sliceUpDown' || currentEffect === 'sliceUpDownRight' ||currentEffect === 'sliceUpDownLeft'){
                createSlices(slider, settings, vars);
                timeBuff = 0;
                i = 0;
                var v = 0;
                slices = $('.nivo-slice', slider);
                if(currentEffect === 'sliceUpDownLeft') { slices = $('.nivo-slice', slider)._reverse(); }
                
                slices.each(function(){
                    var slice = $(this);
                    if(i === 0){
                        slice.css('top','0px');
                        i++;
                    } else {
                        slice.css('bottom','0px');
                        i = 0;
                    }
                    
                    if(v === settings.slices-1){
                        setTimeout(function(){
                            slice.animate({opacity:'1.0' }, settings.animSpeed, '', function(){slider.trigger('nivo:animFinished'); });
                        }, (100 + timeBuff));
                    } else {
                        setTimeout(function(){
                            slice.animate({opacity:'1.0' }, settings.animSpeed);
                        }, (100 + timeBuff));
                    }
                    timeBuff += 50;
                    v++;
                });
            } else if(currentEffect === 'fold'){
                createSlices(slider, settings, vars);
                timeBuff = 0;
                i = 0;
                
                $('.nivo-slice', slider).each(function(){
                    var slice = $(this);
                    var origWidth = slice.width();
                    slice.css({ top:'0px', width:'0px' });
                    if(i === settings.slices-1){
                        setTimeout(function(){
                            slice.animate({ width:origWidth, opacity:'1.0' }, settings.animSpeed, '',function(){ slider.trigger('nivo:animFinished'); });
                        }, (100 + timeBuff));
                    } else {
                        setTimeout(function(){
                            slice.animate({ width:origWidth, opacity:'1.0' }, settings.animSpeed);
                        }, (100 + timeBuff));
                    }
                    timeBuff += 50;
                    i++;
                });
            } else if(currentEffect === 'fade'){
                createSlices(slider, settings, vars);
                
                firstSlice = $('.nivo-slice:first', slider);
                firstSlice.css({
                    'width': slider.width() + 'px'
                });
    
                firstSlice.animate({ opacity:'1.0' }, (settings.animSpeed*2), '', function(){slider.trigger('nivo:animFinished'); });
            } else if(currentEffect === 'slideInRight'){
                createSlices(slider, settings, vars);
                
                firstSlice = $('.nivo-slice:first', slider);
                firstSlice.css({
                    'width': '0px',
                    'opacity': '1'
                });

                firstSlice.animate({ width: slider.width() + 'px' }, (settings.animSpeed*2), '', function(){slider.trigger('nivo:animFinished'); });
            } else if(currentEffect === 'slideInLeft'){
                createSlices(slider, settings, vars);
                
                firstSlice = $('.nivo-slice:first', slider);
                firstSlice.css({
                    'width': '0px',
                    'opacity': '1',
                    'left': '',
                    'right': '0px'
                });

                firstSlice.animate({ width: slider.width() + 'px' }, (settings.animSpeed*2), '', function(){ 
                    // Reset positioning
                    firstSlice.css({
                        'left': '0px',
                        'right': ''
                    });
                    slider.trigger('nivo:animFinished'); 
                });
            } else if(currentEffect === 'boxRandom'){
                createBoxes(slider, settings, vars);
                
                totalBoxes = settings.boxCols * settings.boxRows;
                i = 0;
                timeBuff = 0;

                boxes = shuffle($('.nivo-box', slider));
                boxes.each(function(){
                    var box = $(this);
                    if(i === totalBoxes-1){
                        setTimeout(function(){
                            box.animate({ opacity:'1' }, settings.animSpeed, '', function(){slider.trigger('nivo:animFinished'); });
                        }, (100 + timeBuff));
                    } else {
                        setTimeout(function(){
                            box.animate({ opacity:'1' }, settings.animSpeed);
                        }, (100 + timeBuff));
                    }
                    timeBuff += 20;
                    i++;
                });
            } else if(currentEffect === 'boxRain' || currentEffect === 'boxRainReverse' || currentEffect=== 'boxRainGrow' || currentEffect === 'boxRainGrowReverse'){
                createBoxes(slider, settings, vars);
                
                totalBoxes = settings.boxCols * settings.boxRows;
                i = 0;
                timeBuff = 0;
                
                // Split boxes into 2D array
                var rowIndex = 0;
                var colIndex = 0;
                var box2Darr = [];
                box2Darr[rowIndex] = [];
                boxes = $('.nivo-box', slider);
                if(currentEffect === 'boxRainReverse' || currentEffect === 'boxRainGrowReverse'){
                    boxes = $('.nivo-box', slider)._reverse();
                }
                boxes.each(function(){
                    box2Darr[rowIndex][colIndex] = $(this);
                    colIndex++;
                    if(colIndex === settings.boxCols){
                        rowIndex++;
                        colIndex = 0;
                        box2Darr[rowIndex] = [];
                    }
                });
                
                // Run animation
                for(var cols = 0; cols < (settings.boxCols * 2); cols++){
                    var prevCol = cols;
                    for(var rows = 0; rows < settings.boxRows; rows++){
                        if(prevCol >= 0 && prevCol < settings.boxCols){
                            /* Due to some weird JS bug with loop vars 
                            being used in setTimeout, this is wrapped
                            with an anonymous function call */
                            (function(row, col, time, i, totalBoxes) {
                                var box = $(box2Darr[row][col]);
                                var w = box.width();
                                var h = box.height();
                                if(currentEffect === 'boxRainGrow' || currentEffect ==='boxRainGrowReverse'){
                                    box.width(0).height(0);
                                }
                                if(i === totalBoxes-1){
                                    setTimeout(function(){
                                        box.animate({ opacity:'1', width:w, height:h }, settings.animSpeed/1.3,'', function(){ slider.trigger('nivo:animFinished'); });
                                    }, (100 + time));
                                } else {
                                    setTimeout(function(){
                                        box.animate({ opacity:'1', width:w, height:h }, settings.animSpeed/1.3);
                                    }, (100 + time));
                                }
                            })(rows, prevCol, timeBuff, i, totalBoxes);
                            i++;
                        }
                        prevCol--;
                    }
                    timeBuff += 100;
                }
            }           
        };
        
        // Shuffle an array
        var shuffle = function(arr){
            for(var j, x, i = arr.length; i; j = parseInt(Math.random() * i, 10), x = arr[--i], arr[i] = arr[j],arr[j] = x);
            return arr;
        };
        
        // For debugging
        var trace = function(msg){
            if(this.console && typeof console.log !== 'undefined') { console.log(msg); }
        };
        
        // Start / Stop
        this.stop = function(){
            if(!$(element).data('nivo:vars').stop){
                $(element).data('nivo:vars').stop = true;
                trace('Stop Slider');
            }
        };
        
        this.start = function(){
            if($(element).data('nivo:vars').stop){
                $(element).data('nivo:vars').stop = false;
                trace('Start Slider');
            }
        };
        
        // Trigger the afterLoad callback
        settings.afterLoad.call(this);
        
        return this;
    };
        
    $.fn.nivoSlider = function(options) {
        return this.each(function(key, value){
            var element = $(this);
            // Return early if this element already has a plugin instance
            if (element.data('nivoslider')) { return element.data('nivoslider'); }
            // Pass options to plugin constructor
            var nivoslider = new NivoSlider(this, options);
            // Store plugin object in this element's data
            element.data('nivoslider', nivoslider);
        });
    };
    
    //Default settings
    $.fn.nivoSlider.defaults = {
        effect: 'random',
        slices: 15,
        boxCols: 8,
        boxRows: 4,
        animSpeed: 400,
        pauseTime: 15000,
        startSlide: 0,
        directionNav: true,
        controlNav: true,
        controlNavThumbs: false,
        pauseOnHover: true,
        manualAdvance: false,
        prevText: 'Prev',
        nextText: 'Next',
        randomStart: false,
        beforeChange: function(){},
        afterChange: function(){},
        slideshowEnd: function(){},
        lastSlide: function(){},
        afterLoad: function(){}
    };

    $.fn._reverse = [].reverse;
    
})(jQuery);
    </script>
    <script type="text/javascript">
    $(window).load(function() {
        $('#slider').nivoSlider();
    });
    </script>

Latest News

Blog Posts
max3
reversetrue
contentexcerpts
labelsnews

HTML
<a href="News Archive" class="arrow"><img src="/download/attachments/101451021/arrows.png"></a> <a href="News Archive" class="arrow">News Archive</a> 

...