Tuesday 07 January 2003 9:33:38 pm
I'm having javascript issues:
{literal}
var preloadFlag = false;
function preloadImages() {
if (document.images) {
header_08_over = newImage(header_08_over_name);
header_09_over = newImage(header_09_over_name);
header_10_over = newImage(header_10_over_name);
header_11_over = newImage(header_11_over_name);
header_12_over = newImage(header_12_over_name);
header_13_over = newImage(header_13_over_name);
header_14_over = newImage(header_14_over_name);
header_15_over = newImage(header_15_over_name);
menubox_01 = newImage(menubox_01_name);
menubox_02 = newImage(menubox_02_name);
menubox_04 = newImage(menubox_04_name);
preloadFlag = true;
}
}
{/literal} // --> produces:
var preloadFlag = false;
function preloadImages()
if (document.images) {
header_08_over = newImage(header_08_over_name);
header_09_over = newImage(header_09_over_name);
header_10_over = newImage(header_10_over_name);
header_11_over = newImage(header_11_over_name);
header_12_over = newImage(header_12_over_name);
header_13_over = newImage(header_13_over_name);
header_14_over = newImage(header_14_over_name);
header_15_over = newImage(header_15_over_name);
menubox_01 = newImage(menubox_01_name);
menubox_02 = newImage(menubox_02_name);
menubox_04 = newImage(menubox_04_name);
preloadFlag = true;
} // --> Not the missing braces after the function name and at the end. What's up with that?
|