use this in the head
<script type="text/javascript">
function changeContent(id,shtml) {
if (document.getElementById || document.all) {
var el = document.getElementById? document.getElementById(id): document.all[id];
if (el && typeof el.innerHTML != "undefined") el.innerHTML = shtml;
}
}
var home = 'Hello! <img src="images/498px-Smile_fasdfdsfoiueire.svg" width="227" height="226">';
</script>
and varible the text you want with var home = 'blah blah'
then the a href is <a href="javascript:;" onclick="changeContent('content',home)">
content is your id of the div
|