|
@ -1,12 +1,7 @@ |
|
|
window.addEvent('domready', function() { |
|
|
window.addEvent('domready', function() { |
|
|
addPreExpanders(); |
|
|
$$('div.highlight').each(addExpander); |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
function addPreExpanders(){ |
|
|
|
|
|
$$('div.highlight').each(function(div){ |
|
|
|
|
|
addExpander(div); |
|
|
|
|
|
}); |
|
|
|
|
|
} |
|
|
|
|
|
function addExpander(div){ |
|
|
function addExpander(div){ |
|
|
new Element('span',{ |
|
|
new Element('span',{ |
|
|
html: 'expand »', |
|
|
html: 'expand »', |
|
|