D
Don Grover
How would I use a vbscript variable sMyPath into a Java function, I have
tried numerous ways but it dalls over.
Works ok with hard paths
function preloadImages() {
if (document.images) {
Menu2_02_over = newImage("images/Menu2_02-over.jpg");
Menu2_04_over = newImage("images/Menu2_04-over.jpg");
Menu2_05_Menu2_04_over = newImage("images/Menu2_05-Menu2_04_over.jpg");
Menu2_05_over = newImage("images/Menu2_05-over.jpg");
Menu2_05_Menu2_06_over = newImage("images/Menu2_05-Menu2_06_over.jpg");
Menu2_06_over = newImage("images/Menu2_06-over.jpg");
preloadFlag = true;
Need to replace the Images/ folder with sMypath
Regards
Don
tried numerous ways but it dalls over.
Works ok with hard paths
function preloadImages() {
if (document.images) {
Menu2_02_over = newImage("images/Menu2_02-over.jpg");
Menu2_04_over = newImage("images/Menu2_04-over.jpg");
Menu2_05_Menu2_04_over = newImage("images/Menu2_05-Menu2_04_over.jpg");
Menu2_05_over = newImage("images/Menu2_05-over.jpg");
Menu2_05_Menu2_06_over = newImage("images/Menu2_05-Menu2_06_over.jpg");
Menu2_06_over = newImage("images/Menu2_06-over.jpg");
preloadFlag = true;
Need to replace the Images/ folder with sMypath
Regards
Don