jQuery(function($) {
jQuery('.main-slider, .page-header').prepend('');
});
jQuery(document).ready(function($) {
jQuery('.main-carousel').prepend('');
jQuery('.testimage').load(function(){
jQuery(".slider-full .spinner, .slider-full .testimage").remove();
jQuery(".main-carousel").removeClass('invisible').addClass('animated fadeIn');
});
var slider = jQuery('#myCarousel'),
animateClass;
//Brogressbar Slider
var percent = 0, bar = jQuery('.brogressbar'), interval = 10000;
function progressBarCarousel() {
bar.css({width:percent+'%'});
bar.css('transition', '0.2s');
percent = percent +1;
}
var barInterval = setInterval(progressBarCarousel, interval/105);
slider.carousel({
interval: interval,
pause: false
}).on('slide.bs.carousel', function () {
percent=0;
bar.css('transition', '0s')
});
slider.find('[data-animate-in]').addClass('animated');
function animateSlide() {
slider.find('.item').removeClass('current');
slider.find('.active').addClass('current').find('[data-animate-in]').each(function () {
var $this = jQuery(this);
animateClass = $this.data('animate-in');
$this.addClass(animateClass);
});
slider.find('.active').find('[data-animate-out]').each(function () {
var $this = jQuery(this);
animateClass = $this.data('animate-out');
$this.removeClass(animateClass);
});
}
function animateSlideEnd() {
slider.find('.active [data-animate-in], .carousel-indicators, .carousel-control').each(function () {
var $this = jQuery(this);
animateClass = $this.data('animate-in');
$this.removeClass(animateClass);
});
slider.find('.active [data-animate-in], .carousel-indicators, .carousel-control').each(function () {
var $this = jQuery(this);
animateClass = $this.data('animate-out');
$this.addClass(animateClass);
});
}
slider.find('.invisible').removeClass('invisible');
animateSlide();
slider.on('slid.bs.carousel', function () {
animateSlide();
});
slider.on('slide.bs.carousel', function () {
animateSlideEnd();
});
if (Modernizr.touch) {
slider.find('.carousel-inner').swipe( {
swipeLeft: function() {
jQuery(this).parent().carousel('prev');
},
swipeRight: function() {
jQuery(this).parent().carousel('next');
},
threshold: 30
});
}
});
Welcome to Sapphire Flavors & Fragrances
At Sapphire Flavors and Fragrances, we produce an extensive line of sophisticated and high-quality flavors. We provide our services to customers within the Food, Beverage, Flavor, Fragrance, Health Food, Pharmaceutical and Cosmetic industries. We take pride in our products being one of a kind and tailor made especially for your specific product. When you work with our team, you’re not only creating a high quality product, you’re creating a product that will be the essence of sophistication.
Our product development focuses on four key areas:
jQuery(document).ready(function($) {
jQuery('.tabclick:first-child').find('.item').addClass('active');
jQuery('.tabclick').click(function(){ //alert('hi'); jQuery('.events-navigation .item').removeClass('active'); if(jQuery(this).find('.item').hasClass('active')){ jQuery(this).find('.item').removeClass('active'); }else{ jQuery(this).find('.item').addClass('active'); }
});
//Event Slider
var slider2 = jQuery('#myCarousel4'),
animateClass;
slider2.carousel({
interval: 0,
pause: 'none'
});
slider2.find('[data-animate-in]').addClass('animated');
function animateSlideEvents() {
slider2.find('.item').removeClass('current');
slider2.find('.active').addClass('current').find('[data-animate-in]').each(function () {
var _this = jQuery(this);
animateClass = _this.data('animate-in');
_this.addClass(animateClass)
});
slider2.find('.active').find('[data-animate-out]').each(function () {
var _this = jQuery(this);
animateClass = _this.data('animate-out');
_this.removeClass(animateClass)
});
}
function animateSlideEndEvents() {
slider2.find('.active').find('[data-animate-in]').each(function () {
var _this = jQuery(this);
animateClass = _this.data('animate-in');
_this.removeClass(animateClass)
});
slider2.find('.active').find('[data-animate-out]').each(function () {
var _this = jQuery(this);
animateClass = _this.data('animate-out');
_this.addClass(animateClass)
});
}
slider2.find('.invisible').removeClass('invisible');
animateSlideEvents();
slider2.on('slid.bs.carousel', function () {
animateSlideEvents();
});
slider2.on('slide.bs.carousel', function () {
animateSlideEndEvents();
});
});
JOIN OUR MAILING LIST