Forum Moderators: open
1. I'm not sure how to add 2nd command like unload to the body tag.
2. If I do on the template then it will be used on every page I creat for the site and if it is some how screws up then I am lible corrupt the whole site.
Can anyone help me out with this?
to keep everything seperate try calling these functions from an external script. example - javascript.js. contents of javascript.js:
onload = funtcion1;function2;
then call your javascript within the header:
<script language="Javascript" type="Javascript" src="javascript.js"></script>
hth
If you start learning how to edit the code you will find out it is not that hard and besides you will learn a lot about how it all works.
luck,
robert
BTW I am not afraid to edit the code on a single page "caus it is only one page. It is messing around with main tags like body in a template that will used through out the site id another matter. Then come to find out later that you screwed up. With my memory (I am afflicted with CRS) in a week I won't remember what I changed let alone a month from now and in 6 months - what site are you talking about?
Again thanks for the help I will give it a try.
John