joyce posted this at 01:45 — 24th April 2003.
They have: 164 posts
Joined: Nov 2001
can dhtml scripts save as .js??
i wanted to add my dhtml scripts in a file saved as .js, but it's not working..
Suzanne posted this at 01:48 — 24th April 2003.
She has: 5,512 posts
Joined: Feb 2000
depends on the dhtml -- if it needs to be on the page to work, then no. (document.write stuff).
you can make a whole bunch of .js files, though, and that should work, placing them where needed.
love me, love my brain :: iStockphoto portfolio
dk01 posted this at 10:12 — 24th April 2003.
He has: 517 posts
Joined: Mar 2002
Well if the document.write is in a function then it should be ok. As long as the function is called inside the page from another script tag and not from an event. -dk
dk01.org | heartland-design.com | tizzap.com
Suzanne posted this at 01:48 — 24th April 2003.
She has: 5,512 posts
Joined: Feb 2000
depends on the dhtml -- if it needs to be on the page to work, then no. (document.write stuff).
you can make a whole bunch of .js files, though, and that should work, placing them where needed.
love me, love my brain :: iStockphoto portfolio
dk01 posted this at 10:12 — 24th April 2003.
He has: 517 posts
Joined: Mar 2002
Well if the document.write is in a function then it should be ok.
As long as the function is called inside the page from another script tag and not from an event.
-dk
dk01.org | heartland-design.com | tizzap.com