Hi all,

I'm trying to isolate the things i need for the menu used in the style guide.
I copied all the stuff from the style guide to my espace (atleast i think so)
But somhow i'm stuck with an error when i run the page.

in mozilla i get this error

document.getElementsByClassName is not a function

anyone any idea?


Hi Michiel,

That function (getElementsByClassName) is from the Prototype framework:

That's included in the style guide (as a resource or in the eSpace javascript). Searching for the name of the function should allow you to find it.

Are you sure copying things from the style guide is the right way to go? It should be more easier to customize it.

You were wright, i forgot the script that was added to the espace in the styleguide.
After i added it to my own it worked like a charm