Structure
When you run this script at the bottom of your page:
<script type="text/javascript"> itemHolder.initElements(); </script>
all elements marked with class itembox is transformed:
This:
has resulted in the following on your website:
Acess from JS
You can allways access and change elements in the structure by using the id.
var id="structure"; var myContent=document.getElementById(id); var myWrapper=document.getElementById(id+"Wrapper); // or var allBoxes=document.querySelectorAll(".readybox"); // or var allContentElts=document.querySelectorAll(".readybox .content");
This will give you an opportunity to access and change style, classnames and content by using normal element functionality.
NOTE that the Javascript library also gives you access to an object associated with the html-element. More on page JS-library .