// Attach the popover to the document
JFactory::getDocument()->addScriptDeclaration(
"jQuery(document).ready(function()
{
if (".$options.".mouseonly && 'ontouchstart' in document.documentElement) {
return;
}
if (jQuery('$selector').length){
jQuery('" . $selector . "').popover(" . $options . ");
}
});");
// Attach the popover to the document
JFactory::getDocument()->addScriptDeclaration(
"jQuery(document).ready(function()
{
if (".$options.".mouseonly && 'ontouchstart' in document.documentElement) {
return;
}
if (jQuery('$selector').length){
jQuery('" . $selector . "').popover(" . $options . ");
}
});
(function($) {
var oldHide = $.fn.popover.Constructor.prototype.hide;
$.fn.popover.Constructor.prototype.hide = function() {
if (this.options.trigger.indexOf('hover') >=0 && this.tip().is(':hover')) {
var that = this;
// try again after what would have been the delay
setTimeout(function() {
return that.hide.call(that, arguments);
}, that.options.delay.hide);
return;
}
oldHide.call(this, arguments);
};
})(jQuery);"
);
.jevtt_text {
padding: 20px !important;
}
JevHtmlBootstrap:
opover('.hasjevtip' , array("trigger"=>"hover focus", "placement"=>"top", "container"=>"#jevents_body", "delay"=> array( "show"=> 150, "hide"=> 150 )));
JevHtmlBootstrap:
opover('.hasjevtip' , array("trigger"=>"hover focus", "placement"=>"top", "container"=>"#jevents_body", "delay"=> array( "show"=> 150, "hide"=> 3000 )));
.jevbootstrap .jev_header h1 {
font-size: 18px;
line-height: 23px;
margin: 0px;
padding: 0px;
display: inline-block;
}
// Attach the popover to the document
JFactory::getDocument()->addScriptDeclaration(
"jQuery(document).ready(function()
{
if (".$options.".mouseonly && 'ontouchstart' in document.documentElement) {
return;
}
if (jQuery('$selector').length){
jQuery('" . $selector . "').popover(" . $options . ");
}
});");
// Attach the popover to the document
JFactory::getDocument()->addScriptDeclaration(
"jQuery(document).ready(function()
{
if (".$options.".mouseonly && 'ontouchstart' in document.documentElement) {
return;
}
if (jQuery('$selector').length){
jQuery('" . $selector . "').popover(" . $options . ");
}
});
(function($) {
var oldHide = $.fn.popover.Constructor.prototype.hide;
$.fn.popover.Constructor.prototype.hide = function() {
if (this.options.trigger.indexOf('hover') >=0 && this.tip().is(':hover')) {
var that = this;
// try again after what would have been the delay
setTimeout(function() {
return that.hide.call(that, arguments);
}, that.options.delay.hide);
return;
}
oldHide.call(this, arguments);
};
})(jQuery);"
);
.jevtt_text {
padding: 20px !important;
}
.jevbootstrap .popover {
max-width:500px;
}