i created an interactive map in photoshop/imageready for a website i’m developing…no…not developing….simply trying to add some stylistic elements to, at the request of its owners….
lemme backtrack here….i’m learning everything to do with javascript, html, and the technical aspects of web development as i go….and feel so in over my head ?
anyway….i previewed the map in both IE and firefox and saved the code, then pasted the resulting table into an existing page code
the preload script (i think) is not bringing up the pics….in IE, the code yields placeholders for all the images, but broken links….in firefox, it sets off an endless download loop, and page never reaches “done”
so this is the place to start….does this look right? (note: in the simple cut and paste below, all the indents have been lost….but they are all there in the source code)
[quote]
<!– ImageReady Preload Script (mywvtry copy.html) –>
<SCRIPT type=text/javascript>
<!–
function newImage(arg) {
if (document.images) {
rslt = new Image();
rslt.src = arg;
return rslt;
}
}
function changeImages() {
if (document.images && (preloadFlag == true)) {
for (var i=0; i<changeImages.arguments.length; i+=2) {
document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
}
}
}
var preloadFlag = false;
function preloadImages() {
if (document.images) {
then a list of the images, edited out to shorten this post…..then
[quote]
preloadFlag = true;
}
}
// –>
</SCRIPT>
<!– End Preload Script –>
any and all advice or suggestions would be greatly appreciated ?