It's javascript, not Java - the two are quite different.
Copy everything between this -
<script language="JavaScript" type="text/JavaScript">
<!--
and this -
//-->
</script>
(NOT INCLUDING THOSE TAGS)
and paste it into a plain text file so that the first line of the file is
this -
function MM_preloadImages() { //v3.0
and the last 2 lines are this -
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc)
x.oSrc=x.src; x.src=a[i+2];}
}
and save that as your external.js file.
Then delete everything INCLUDING THOSE TAGS from the page and replace it
with a link to external.js as mentioned by David.
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================
"nomayo" <webforumsuser (AT) macromedia (DOT) com> wrote
Quote:
http://www.ejfloridavillarentals.com |