Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Dane D.

macrumors 6502a
Original poster
Apr 16, 2004
645
9
ohio
Just finished a website built with Adobe ImageReady and Adobe GoLive. My question is I do I set this up:

<csscriptdict import>
<script type="text/javascript" src="file:///Macintosh%20HD/System%20Folder/Preferences/Adobe/GoLive/Settings/JScripts/GlobalScripts/CSScriptLib.js"></script>
</csscriptdict>
<csactiondict>
<script type="text/javascript"><!--
var preloadFlag = false;
function preloadImages() {
if (document.images) {
over_Odell_0_03_082505_03 = newImage(/*URL*/'images/Odell-0_03_082505_over12.jpg');
over_Odell_0_05_082505_05 = newImage(/*URL*/'images/Odell-0_05_082505_over13.jpg');
over_Odell_0_07_082505_07 = newImage(/*URL*/'images/Odell-0_07_082505_over14.jpg');
preloadFlag = true;
}
}

// --></script>
</csactiondict>

so that it does not reference my HD? I assuming that it needs uploaded along with the other files, but how do you set the code up so that it works.
 

belvdr

macrumors 603
Aug 15, 2005
5,945
1,372
If you put it in a folder under the web root named scripts, then you would reference it as:

src="/scripts/CSScriptLib.js"
 

Dane D.

macrumors 6502a
Original poster
Apr 16, 2004
645
9
ohio
Thank you

Thanks, every new site is an adventure, as I am new to website production. 17 years of print and now learning this. I'll post the address once it goes "live". We (my company) would like feed back good and bad.
 

belvdr

macrumors 603
Aug 15, 2005
5,945
1,372
Hey, each of us knows something, but none of us know everything. Good luck on your web programming job. I'm new to the database arena, and so I'm learning new things there as well. :)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.