JSFiddle - React, Tailwind, and code Playground

by codecowboy

HTML

<script src="http://www.no-margin-for-errors.com/wp-content/themes/NMFE/js/jquery.prettyPhoto.js"></script>
<li><a href="http://breastcancermosaic.weccg.com/?story=touring-poland-to-improve-access-to-healthcare&ajax=true&count=4" rel="prettyPhoto[ajax]"><img width="75" height="75" src="http://breastcancermosaic.gehealthcare.com/wp-content/uploads/2011/06/avonraceItaly-150x150.jpg" class="attachment-75x75" alt="GE and Avon join forces in the fight against breast cancer" title="GE and Avon join forces in the fight against breast cancer" /></a></li>

JavaScript

jQuery("a[rel^='prettyPhoto']").prettyPhoto({
              show_title: false,
            theme: 'light_rounded',
            overlay_gallery: false,
            default_width: 700,
            default_height: 325,
            horizontal_padding: -3,
            markup: '<div class="pp_pic_holder"> \
                        <div class="pp_content_container"> \
                            <div class="pp_left"> \
                            <div class="pp_right"> \
                                <div class="pp_content"> \
                                    <div class="pp_loaderIcon"></div> \
                                    <div class="pp_fade"> \
                                        <div id="pp_full_res"></div> \
                                        <div class="pp_details"> \
                                            <p class="pp_description"></p> \
                                            {pp_social} \
                                            <a class="pp_close" href="#">x</a> \
                                        </div> \
                                    </div> \
                                </div> \
                            </div> \
                            </div> \
                        </div> \
                    </div> \
                    <div class="pp_overlay"></div>',
            gallery_markup: '',
            social_tools: ''
      });