63
| <![CDATA[<script type="text/javascript">
window.addEvent('load', function() {
new JCaption('img.caption');
});
var rokboxPath = '/plugins/system/rokbox/';
window.addEvent('domready', function() {new GantrySmartLoad({'offset': {'x': 200, 'y': 200}, 'placeholder': '/templates/rt_modulus_j16/images/blank.gif', 'exclusion': ['']}); });
window.addEvent('domready', function() {
var modules = ['rt-block'];
var header = ['h3','h2','h1'];
GantryBuildSpans(modules, header);
});
InputsExclusion.push('.content_vote','\#rt-popup','\#vmMainPage')
window.addEvent("domready", function(){ new SmoothScroll(); });
window.addEvent('domready', function() {
new Fusion('ul.menutop', {
pill: 0,
effect: 'slide and fade',
opacity: 1,
hideDelay: 500,
centered: 0,
tweakInitial: {'x': -5, 'y': -18},
tweakSubsequent: {'x': 1, 'y': -6},
tweakSizes: {'width': 20, 'height': 20},
menuFx: {duration: 300, transition: Fx.Transitions.Circ.easeOut},
pillFx: {duration: 400, transition: Fx.Transitions.Back.easeOut}
});
});
function keepAlive() { var myAjax = new Request({method: "get", url: "index.php"}).send();} window.addEvent("domready", function(){ keepAlive.periodical(840000); });
</script>]]>
|
323
| <![CDATA[<script type="text/javascript">
//<![CDATA[
window.addEvent('domready', function() {
var value;
// Set the input value if not already set.
if (!document.id('mod-finder-searchword').getProperty('value')) {
document.id('mod-finder-searchword').setProperty('value', 'Buscar...');
}
// Get the current value.
value = document.id('mod-finder-searchword').getProperty('value');
// If the current value equals the default value, clear it.
document.id('mod-finder-searchword').addEvent('focus', function() {
if (this.getProperty('value') == 'Buscar...') {
this.setProperty('value', '');
}
});
// If the current value is empty, set the previous value.
document.id('mod-finder-searchword').addEvent('blur', function() {
if (!this.getProperty('value')) {
this.setProperty('value', value);
}
});
document.id('mod-finder-searchform').addEvent('submit', function(e){
e = new Event(e);
e.stop();
// Disable select boxes with no value selected.
if (document.id('mod-finder-advanced') != null) {
document.id('mod-finder-advanced').getElements('select').each(function(s){
if (!s.getProperty('value')) {
s.setProperty('disabled', 'disabled');
}
});
}
document.id('mod-finder-searchform').submit();
});
/*
* This segment of code sets up the autocompleter.
*/
var url = '/index.php/component/finder/?task=suggestions.display&format=json&tmpl=component';
var ModCompleter = new Autocompleter.Request.JSON(document.id('mod-finder-searchword'), url, {'postVar': 'q'});
});
//]]>
</script>]]>
|