Preserved Topic: JavaScript entities (Page 1 of 1) |
|
---|---|
Paranoid (IV) Inmate From: Lebanon |
posted 07-10-2001 11:51
Hi! code: <script>mywidth=161;</script>
|
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 07-10-2001 14:19
Oh, wow, I *vaguely* remember something like this... I think they have to be inside comment tags or something. Anyway, I think it was only a Netscape Navigator 4 thing, and I would strongly discourage you from using it since it's hardly compatible with anything. Good ol' fashioned document.write() should do the trick. |
Paranoid (IV) Inmate From: Lebanon |
posted 07-10-2001 16:35
Slime, are you sure man it's NS only and it's not really compatible? |
Maniac (V) Inmate From: Brisbane, Australia |
posted 07-10-2001 18:29
You could create a JS function in the head of your document that does a document.write() and then you could just call it with your var every time you want to add things... Just a thought. I don't know exactly how it could be done but I haven't used JS in a while. |
Paranoid (IV) Inmate From: Lebanon |
posted 07-11-2001 08:38
Yes, Dracusis I know....But sometimes I have no choice other than using Only JavaScript. |