orward, but when calculating an object's left and top position as absolute values, we need to consider the parent element. The calculatePosition function below iterates through all of an element's parent nodes to give a final value. The function takes two parameters; objElement (the name of the element in question), and the offset property (offsetLeft or offsetTop): </p>
   </section><section class="examples"><h2>Examples</h2>
      <section class="example">
         <section class="description"><h2>Descrip