$this->__Plugin->appendInlineJavascript
(
'
(function(tri4m, undefined)
{
tri4m(function()
{
tri4m.append
.Stylesheet
(
["'.$this->__Plugin->getUrlPluginMediaDirectory('css').'tri4m.QtLoader.css"]
)
.Javascript
(
[
"'.$this->__Plugin->getUrlPluginMediaDirectory('js').'tri4m.QtLoader.js"
],
{
success : function()
{
tri4m.system.QtLoader
(
{
home : "'.get_bloginfo('wpurl').'",
ignore : '.$this->jsArray('ignore').',
scrollToTop : '.$this->jsBool('scrollToTop').',
analytics : '.$this->jsBool('analytics').',
transition : '.$this->jsString('transition').',
debug : '.$this->jsBool('debug').',
selector :
{
searchformClass : '.$this->jsString('selector_searchformClass').',
contentID : '.$this->jsString('selector_contentID').'
},
event :
{
click : '.$this->jsOpNoop('event_click').',
complete : '.$this->jsOpNoop('event_complete').',
success : '.$this->jsOpNoop('event_success').',
error : '.$this->jsOpNoop('event_error').',
},
html :
{
loading : '.$this->jsDom('html_loading').',
searching : '.$this->jsDom('html_searching').',
error : '.$this->jsDom('html_error').'
},
force :
{
ready : '.$this->jsBool('force_ready').'
}
},
"body"
);
}
}
);
});
})(tri4m);
Comments