Episode 1: The Sacred Plant…Revealed

Please help us share this life saving information with your friends and family — they’ll thank you for it 🙂

Q&A With John

Got questions or need more clarity about something discussed in today’s episode?

Simply click here to submit your top questions for John to answer in the future.

'); } else { $overlay = $('
'); } } /*---------------------------------------------------- DOM Building ---------------------------------------------------- */ $('body').append($self.hide()).append($overlay); /*---------------------------------------------------- Overlay CSS stuffs ---------------------------------------------------- */ // set css of the overlay if (opts.showOverlay) { setOverlayHeight(); // pulled this into a function because it is called on window resize. $overlay.css({ position: 'absolute', width: '100%', top: 0, left: 0, right: 0, bottom: 0, zIndex: (opts.zIndex + 2), display: 'none' }); if (!$overlay.hasClass('lb_overlay_clear')){ $overlay.css(opts.overlayCSS); } } /*---------------------------------------------------- Animate it in. ---------------------------------------------------- */ // if (opts.showOverlay) { $overlay.fadeIn(opts.overlaySpeed, function() { setSelfPosition(); $self[opts.appearEffect](opts.lightboxSpeed, function() { setOverlayHeight(); setSelfPosition(); opts.onLoad()}); }); } else { setSelfPosition(); $self[opts.appearEffect](opts.lightboxSpeed, function() { opts.onLoad()}); } /*---------------------------------------------------- Hide parent if parent specified (parentLightbox should be jquery reference to any parent lightbox) ---------------------------------------------------- */ if (opts.parentLightbox) { opts.parentLightbox.fadeOut(200); } /*---------------------------------------------------- Bind Events ---------------------------------------------------- */ $(window).resize(setOverlayHeight) .resize(setSelfPosition) .scroll(setSelfPosition); $(window).bind('keyup.lightbox_me', observeKeyPress); if (opts.closeClick) { $overlay.click(function(e) { closeLightbox(); e.preventDefault; }); } $self.delegate(opts.closeSelector, "click", function(e) { closeLightbox(); e.preventDefault(); }); $self.bind('close', closeLightbox); $self.bind('reposition', setSelfPosition); /*-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- */ /*---------------------------------------------------- Private Functions ---------------------------------------------------- */ /* Remove or hide all elements */ function closeLightbox() { var s = $self[0].style; if (opts.destroyOnClose) { $self.add($overlay).remove(); } else { $self.add($overlay).hide(); } //show the hidden parent lightbox if (opts.parentLightbox) { opts.parentLightbox.fadeIn(200); } if (opts.preventScroll) { $('body').css('overflow', ''); } $iframe.remove(); // clean up events. $self.undelegate(opts.closeSelector, "click"); $self.unbind('close', closeLightbox); $self.unbind('repositon', setSelfPosition); $(window).unbind('resize', setOverlayHeight); $(window).unbind('resize', setSelfPosition); $(window).unbind('scroll', setSelfPosition); $(window).unbind('keyup.lightbox_me'); opts.onClose(); } /* Function to bind to the window to observe the escape/enter key press */ function observeKeyPress(e) { if((e.keyCode == 27 || (e.DOM_VK_ESCAPE == 27 && e.which==0)) && opts.closeEsc) closeLightbox(); } /* Set the height of the overlay : if the document height is taller than the window, then set the overlay height to the document height. : otherwise, just set overlay height: 100% */ function setOverlayHeight() { if ($(window).height() $overlay.css({height: $(document).height() + 'px'}); $iframe.css({height: $(document).height() + 'px'}); } else { $overlay.css({height: '100%'}); } } /* Set the position of the modal'd window ($self) : if $self is taller than the window, then make it absolutely positioned : otherwise fixed */ function setSelfPosition() { var s = $self[0].style; // reset CSS so width is re-calculated for margin-left CSS $self.css({left: '50%', marginLeft: ($self.outerWidth() / 2) * -1, zIndex: (opts.zIndex + 3) }); /* we have to get a little fancy when dealing with height, because lightbox_me is just so fancy. */ // if the height of $self is bigger than the window and self isn't already position absolute if (($self.height() + 80 >= $(window).height()) && ($self.css('position') != 'absolute')) { // we are going to make it positioned where the user can see it, but they can still scroll // so the top offset is based on the user's scroll position. var topOffset = $(document).scrollTop() + 40; $self.css({position: 'absolute', top: topOffset + 'px', marginTop: 0}) } else if ($self.height()+ 80 //if the height is less than the window height, then we're gonna make this thing position: fixed. if (opts.centered) { $self.css({ position: 'fixed', top: '50%', marginTop: ($self.outerHeight() / 2) * -1}) } else { $self.css({ position: 'fixed'}).css(opts.modalCSS); } if (opts.preventScroll) { $('body').css('overflow', 'hidden'); } } } }); }; $.fn.lightbox_me.defaults = { // animation appearEffect: "fadeIn", appearEase: "", overlaySpeed: 250, lightboxSpeed: 300, // close closeSelector: ".close", closeClick: true, closeEsc: true, // behavior destroyOnClose: false, showOverlay: true, parentLightbox: false, preventScroll: false, // callbacks onLoad: function() {}, onClose: function() {}, // style classPrefix: 'lb', zIndex: 999, centered: false, modalCSS: {top: '40px'}, overlayCSS: {background: 'black', opacity: .3} } })(jQuery);

The Sacred Plant is brought to you by TSP Publishing LLC - Copyright © 2019 - All Rights Reserved
About Us | Privacy Policy | Terms & Conditions | Return Policy | Contact Us

Disclaimer: The content of this website is based solely on research conducted by TSP Publishing LLC (“TSP Publishing”), unless otherwise noted. The information is presented "as is" for your educational purposes only and is not intended to diagnose or prescribe for any medical or psychological condition, nor to prevent, treat, mitigate or cure such conditions or prevent any disease. TSP Publishing has no duty whatsoever to update any information on this website.

The information contained herein is not intended to replace a one-on-one relationship with a doctor or qualified healthcare professional. Therefore, this information is not intended as medical advice, but rather a sharing of knowledge and information based on our or as noted other parties' research and experience. TSP Publishing encourages you to make your own health care decisions based on your judgment and research in partnership with a qualified healthcare professional. These statements have not been evaluated by the United States Food and Drug Administration or any other regulatory body. We recommend that you do your own independent research before purchasing anything.

Promotions for non-TSP Publishing products may be paid endorsements reflecting honest opinion or observance of their use. While we take great care in choosing such promotional partnerships, we are not responsible for the claims or efficacy of any of their products or services.

If you do not want to be bound by all these terms, please do not use this website.

Thank you.