I am having a bit of trouble the following "standard code" for a mouse over this works fine:
function activate () {
document.images["menu1"] .src = "/images/menu_01-over.gif";
document.images["box"] .src = "/images/menu_02-menu_01_over.gif";
}
function deactivate () {
document.images ["menu1"] .src = "/images/menu_01.gif";
document.images ["box"] .src = "/images/menu_02.gif";
}
What I want to do is change the deactivate which goes with my onMouseOut "deactivate()" to change "box" to display a flash file instead of a gif. the code below does NOT work
function activate () {
document.images["menu1"] .src = "/images/menu_01-over.gif";
document.images["box"] .src = "/images/menu_02-menu_01_over.gif";
}
function deactivate () {
document.images ["menu1"] .src = "/images/menu_01.gif";
document.images ["box"] .src = "/images/slideshow.swf";
}
I assume this can be done and I need to change somthing in this line:
document.images ["box"] .src = "/images/slideshow.swf";
to make it work, but I don't have a clue as to what, I will be very grateful for any tips. Thanx _dustin
function activate () {
document.images["menu1"] .src = "/images/menu_01-over.gif";
document.images["box"] .src = "/images/menu_02-menu_01_over.gif";
}
function deactivate () {
document.images ["menu1"] .src = "/images/menu_01.gif";
document.images ["box"] .src = "/images/menu_02.gif";
}
What I want to do is change the deactivate which goes with my onMouseOut "deactivate()" to change "box" to display a flash file instead of a gif. the code below does NOT work
function activate () {
document.images["menu1"] .src = "/images/menu_01-over.gif";
document.images["box"] .src = "/images/menu_02-menu_01_over.gif";
}
function deactivate () {
document.images ["menu1"] .src = "/images/menu_01.gif";
document.images ["box"] .src = "/images/slideshow.swf";
}
I assume this can be done and I need to change somthing in this line:
document.images ["box"] .src = "/images/slideshow.swf";
to make it work, but I don't have a clue as to what, I will be very grateful for any tips. Thanx _dustin