That's (teaching yourself the css you need for this) very good.
You can make almost everything about this script external. I'd start with the main script (right click and 'Save As'):
Attachment 4580
Put it in the same folder as your page(s) that use it. Now you can reference it on your page as:
Code:
<script src="pausescroller.js" type="text/javascript">
/***********************************************
* Pausing up-down scroller- © Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for this script and 100s more.
***********************************************/
</script>
Or you can put it in a different folder, just list its path in the src attribute, ex:
Code:
<script src="js/pausescroller.js" type="text/javascript">
/***********************************************
* Pausing up-down scroller- © Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for this script and 100s more.
***********************************************/
</script>
You can use the absolute path if you like. Just make sure that you put the above external tag on your page in the same spot where the script would have been had you left it as an internal script.
As for the css, that can all go in an external stylesheet. If you need help with how that's done, or have any other questions, let me know.
Bookmarks