Closed Thread Icon

Preserved Topic: document.writing in NS Pages that link to <a href="https://ozoneasylum.com/backlink?for=17890" title="Pages that link to Preserved Topic: document.writing in NS" rel="nofollow" >Preserved Topic: document.writing in NS\

 
Author Thread
bunchapixels
Neurotic (0) Inmate
Newly admitted
posted posted 12-21-2000 06:25

can someone help?
ive been trying to write in some html with document.write (and .writeln), and it keeps going screwy.
are there any little rules, or wierish properties that NS has that i dont know?
if you want to see what im on about, see http://reitsma.tripod.com/divdev.html
it doesnt come up with any errors, and the first and last objects are written properly, and all the others are using doc.write, and they dont work.
if anyone could provide input, that would be good.
thanks.

galaxal
Paranoid (IV) Inmate

From:
Insane since: Oct 2000

posted posted 12-21-2000 19:21

here's what I've caught so far, and I used notepad, and no line-numbering, so.

document.write('<div id="blockDiv');
to me, it seems writing it usuing + signs will make it more clear to everyone including yourself, but do whatever you are comfortable with:
document.write('<div id="blockDiv' + itemNumber + "');

it's really messy looking now, why don't you change to document.write(whatever + whatever); instead of write(whatever); write(whatever_again)
and you may find your mistakes.

good luck, I check you back an hour later.!!!

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 12-21-2000 21:02

Yeah, you should do that. Condense your code a bit.

I'll look more in depth later...

bunchapixels
Neurotic (0) Inmate
Newly admitted
posted posted 12-21-2000 21:59

heh heh heh - it was like that originally, all in document.writeln, line by line.
if you look at the next object block, its written a little better.
(after var itemNumber=2)

« BackwardsOnwards »

Show Forum Drop Down Menu