"Carl Tusler" <carl.tusler.DeleteThis@REMOVE.co.uk> wrote in
> Hi Herc, thanks. I'm not a JavaScript whizz. Give me a clue how this would
> be done. Regards, Carl
>
See where you used innerhtml here to READ between the DIV and /DIV
var sWinHTML1 = document.getElementById('content').innerHTML;
Works the other way aswell. This is how drop down menus dynamically change the screen.
Sounds like you'd have to nest your DIV sections.
function setemails() {
document.getElementById('emails').innerHTML = '<a href=\"mailto:' + name + '@' + domain + '\">'
+ name + '@' + domain + '</a>'
}
<body onload="setemails()">
....
<div id='content'>
....
<div id='emails'></div>
...
</div>
Once its loaded it will insert HTML inside the empty div. I'm not sure how it helps
the bots run write and javascript aswell you know.
Herc
> "|-|erc" <spam.DeleteThis@fodder.abc> wrote in message
> news:Ovkbd.24799$5O5.13898@news-server.bigpond.net.au...
> > "GreyWyvern" <spam.DeleteThis@greywyvern.com> wrote in
> > > On Wed, 13 Oct 2004 17:15:50 +0100, Carl Tusler
> <carl.tusler.DeleteThis@REMOVE.co.uk>
> > > wrote:
> > >
> > > [snip]
> > >
> > > > Can anyone throw any light on this issue?
> > >
> > > The page is already being dynamically created with javascript. Don't
> > > obsfucate your email addresses.
> > >
> >
> > you could use innerhtml instead of write
> >
> > Herc
> >
> >
> >
>
><!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: innerHTML issue