If you just want a name and a url to be written onto the html site (let's call it 'main.html'), and if you decide to store the data in another html site (let's call it 'data.html'), and if you use built-in code (no javascript of your own) then you could simply do:
main.html:
Code:
<body>
<iframe src="data.html" style="position: absolute; top: -10000px"></iframe>
<div id="data_receiver"></div>
</body>
data.html:
Code:
<body onload="parent.document.getElementById('data_receiver').innerHTML=document.getElementById('the_data').innerHTML">
<div id="the_data">
<a href="javascript: void(0)" onclick="window.open('http://www.dynamicdrive.com'); return false">DD</a>
</div>
</body>
Bookmarks