<![CDATA[ а что это за код в стандартном шаблоне? - My Forums]]> https://forums.modx.com/thread/?thread=62710 <![CDATA[Re: &#1072; &#1095;&#1090;&#1086; &#1101;&#1090;&#1086; &#1079;&#1072; &#1082;&#1086;&#1076; &#1074; &#1089;&#1090;&#1072;&#1085;&#1076;&#1072;&#1088;&#1090;&#1085;&#1086;&#1084; &#1096;&#1072;&#1073;&#1083;&#1086;&#1085;&#1077;?]]> https://forums.modx.com/thread/62710/#dis-post-370014 ... это по поводу первых двух строк кода ...
остальные относятся к мутулзам... эффекты...
вернее, написаны "на мутулзе"
----
на таких "легких трудностях" можно как раз тренироваться искать ответы самому...
если, конечно, хочешь стать профессионалом, а не копипастером...]]>
Dymok Aug 28, 2007, 06:23 PM https://forums.modx.com/thread/62710/#dis-post-370014
<![CDATA[&#1072; &#1095;&#1090;&#1086; &#1101;&#1090;&#1086; &#1079;&#1072; &#1082;&#1086;&#1076; &#1074; &#1089;&#1090;&#1072;&#1085;&#1076;&#1072;&#1088;&#1090;&#1085;&#1086;&#1084; &#1096;&#1072;&#1073;&#1083;&#1086;&#1085;&#1077;?]]> https://forums.modx.com/thread/62710/#dis-post-370013
<script src="manager/media/script/mootools/mootools.js" type="text/javascript"></script>
  <script src="assets/templates/modxhost/drop_down_menu.js" type="text/javascript"></script>
<script type="text/javascript">
function setActiveStyleSheet() {
var el= $('modxhost');
el.style.background = '#ffd700';
el.style.padding = '10px';
el.style.display='block';
var bgEffect = new Fx.Styles('modxhost', {duration: 1000,transition: Fx.Transitions.linear});
bgEffect.start( {'background-color': '#f9f9f9'});
return false;
}

function highlight(el,endcolor,duration) {
$(el).style.background = '#ffd700';
var fx = $(el).effects({duration: 1000, transition: Fx.Transitions.linear});
fx.start.delay(duration/2,fx,{
'background-color': endcolor
});
return false;
}
</script>
]]>
Ne tut-to bylo Aug 27, 2007, 11:40 AM https://forums.modx.com/thread/62710/#dis-post-370013