![]() Preserved Topic: JavaScript entities (Page 1 of 1) |
|
---|---|
Paranoid (IV) Inmate From: Lebanon |
![]() Hi! code: <script>mywidth=161;</script>
|
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
![]() 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 |
![]() Slime, are you sure man it's NS only and it's not really compatible? |
Maniac (V) Inmate From: Brisbane, Australia |
![]() 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 |
![]() Yes, Dracusis I know....But sometimes I have no choice other than using Only JavaScript. |