$(function () { $('[data-toggle="tooltip"]').tooltip({ animated: 'fade' //trigger: 'click' }); }) // ##### Customized Tooltip ##### $(function () { if (typeof $.fn.tooltip.Constructor === 'undefined') { throw new Error('Bootstrap Tooltip must be included first!'); } var Tooltip = $.fn.tooltip.Constructor; // add customClass option to Bootstrap Tooltip $.extend( Tooltip.Default, { customClass: '' }); var _show = Tooltip.prototype.show; Tooltip.prototype.show = function () { // invoke parent method _show.apply(this,Array.prototype.slice.apply(arguments)); if ( this.config.customClass ) { var tip = this.getTipElement(); $(tip).addClass(this.config.customClass); } }; }) $(document).ready(function(){ $('.white-tooltip').tooltip(); }); // ##### POPOVER ##### --> $(function(){ $("[data-toggle=popover]").popover({ trigger: 'hover', html : true, content: function() { var content = $(this).attr("data-popover-content"); return $(content).children(".popover-body").html(); }, title: function() { var title = $(this).attr("data-popover-content"); return $(title).children(".popover-heading").html(); } }); }); // ##### Back to top #### $(document).ready(function(){ $('#back-to-top').click(function () { $('body,html').animate({ scrollTop: 0 }, 1200); return false; }); }); $(document).on('click', 'a[href^="#box"]', function (event) { event.preventDefault(); $('html, body').animate({ scrollTop: $($.attr(this, 'href')).offset().top - 70 }, 800); }); -->
Sanlorenzo Adria is the exclusive representative for Sanlorenzo Yachts in several countries with close historical and geographical connections to the Adriatic Sea, through offices in Zagreb, Sukosan, Vienna, and Prague. Sanlorenzo Adria is always striving to deliver only the highest quality services to our clients.