I am trying to fire a shadowbox window by including the rel attribute to a given link using JS, something like:
$ES('a','serveis_box').each(function(el) {
el.setAttribute('rel','shadowbox');
note: I am using mootools not JQuery that's why $ES
If i look into my dom inspector i see as all links i want are updated with the rel="shadowbox" attribute but it does not works.
any trick to script that not on the server-side ?

Forum