D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
psa
/
admin
/
htdocs
/
modules
/
xovi
/
js
/
Filename :
scripts.js
back
Copy
Jsw.onReady(function () { $$('[title]').each(function (s) { Jsw.Tooltip.init( s, {text: s.getAttribute('title').stripTags()} ); s.removeAttribute('title'); }); $$('.js-seotools-confirm').each(function (s) { s.observe('click', function (event) { event.preventDefault(); Jsw.messageBox.show(Object.extend({ type: Jsw.messageBox.TYPE_YESNO, subtype: 'confirm', onYesClick: function () { document.location.href = s.href; } }, { 'text': s.getAttribute('data-text'), 'description': s.getAttribute('data-description'), 'buttonTitles': { 'yes': s.getAttribute('data-yes'), 'no': s.getAttribute('data-no') } } )); }); }); if (typeof renderSeoCharts === "function") { renderSeoCharts(); var resizeCharts = (function () { var chartResizeTimer; return function () { window.clearTimeout(chartResizeTimer); chartResizeTimer = window.setTimeout(function () { renderSeoCharts(); }, 200); }; })(); Event.observe(window, 'resize', function () { resizeCharts(); }); } });