Why does the browser not scroll to the anchor?
url:http://localhost:8080/index.html#myAnchor3
this.anchor1.setName("myAnchor1");
this.add(this.anchor1);
this.anchor2.setName("myAnchor2");
this.add(this.anchor2);
this.anchor3.setName("myAnchor3");
this.add(this.anchor3);
Is it because the anchor is created after the page has finished loading, so the browser doesn't see the anchor when it tries to scroll to it?