beck.thomson
06-27-2008, 04:57 PM
1) Script Title: Ajax Rotating Includes
2) Script URL: http://www.dynamicdrive.com/dynamicindex17/ajaxrotate.htm
I'd like to be able to call the javascript from an external page, thus avoiding the lengthy code at the top of the page. I really know nothing about javascript, although I have done this successfully in the past...
Here's what I tried:
<script type="text/javascript" src="resources/rotating_content.js">
ajaxinclude(includefiles, "random")
</script>
My pages is here:
http://www.sweetsomethingschocolate.com/testing/
Thanks for any help you can give me--I feel like this should be a relatively simple answer, but I could definitely be wrong. :)
2) Script URL: http://www.dynamicdrive.com/dynamicindex17/ajaxrotate.htm
I'd like to be able to call the javascript from an external page, thus avoiding the lengthy code at the top of the page. I really know nothing about javascript, although I have done this successfully in the past...
Here's what I tried:
<script type="text/javascript" src="resources/rotating_content.js">
ajaxinclude(includefiles, "random")
</script>
My pages is here:
http://www.sweetsomethingschocolate.com/testing/
Thanks for any help you can give me--I feel like this should be a relatively simple answer, but I could definitely be wrong. :)