Данный пример является демонстрацией навигационных возможностей класса Telement.

Двигайте мышь над фрагментами кода javascript. Объекты нижеприведённой иерархии, ссылки на которые получены в результате выполнения кода, подсвечиваются жёлтым и зелёным цветом.

<div id= earth >
<div id= europe >
<div id= france ></div>
<div id= england ></div>
<div id= italia ></div>
<div id= other ></div>
</div>
<div id= america >
<div id= canada ></div>
<div id= other ></div>
<div id= usa ></div>
</div>
<div id= australia ></div>
</div>
  1 var earth, temp, italia;
  2 earth = ehtml.find('earth');
  3 temp = earth.all('other');
  4 temp = earth.all('mars');
  5 italia = earth.child('europe','italia');
  6 italia = earth.child('italia');
  7 italia = earth.child('europe').child('italia');
  8 temp = italia.parent();
  9 temp = italia.parent_tree();
 10 temp = italia.parent(2);
 11 temp = italia.root();
 12 temp = temp.parent();
 13 temp = earth.length();
 14 temp = earth.items();
 15 temp = temp[2].length();
 16 temp = earth.plain();
 17 var france = temp[2];
 18 temp = france.is_item_of( temp );
 19 temp = italia.is_item_of( earth );
 20 var england = earth.node(0, 1);
 21 temp = earth.node(3);