Dextro
20 Feb 2007, 7:37 AM
tree.on('click', function (e){
getEl('content_content').dom.src = node.attributes.href;
});
<iframe id="content_content" name="content_content" frameborder="no">
standaard inhoud in content_content
</iframe>
That's my code that listens to a click event. It all works except the href element opens in a full window and not in the iframe with id 'content_content'. I really don't have a clue what goes wrong.
getEl('content_content').dom.src = node.attributes.href;
});
<iframe id="content_content" name="content_content" frameborder="no">
standaard inhoud in content_content
</iframe>
That's my code that listens to a click event. It all works except the href element opens in a full window and not in the iframe with id 'content_content'. I really don't have a clue what goes wrong.