G Guest Mar 29, 2006 #3 I want to switch pictures with "on mouse over" and create an effect "on page load"
T Trevor L. Mar 29, 2006 #4 Paula said: I want to switch pictures with "on mouse over" and create an effect "on page load" Click to expand... I certainly don't see why not? I found a defintion of DHTML which says something like "HTML + Javascript". You can put as much HTML which calls Javascript as you like. The "on page load" effect can be achieved by <body onload ="loadfunction()"> where loadfunction() creates the effect you want Switching pictures is done with <img src = "........." onmouseover="switchpic()"> where switchpic() swiches the picture for you
Paula said: I want to switch pictures with "on mouse over" and create an effect "on page load" Click to expand... I certainly don't see why not? I found a defintion of DHTML which says something like "HTML + Javascript". You can put as much HTML which calls Javascript as you like. The "on page load" effect can be achieved by <body onload ="loadfunction()"> where loadfunction() creates the effect you want Switching pictures is done with <img src = "........." onmouseover="switchpic()"> where switchpic() swiches the picture for you
A Andrew Murray Mar 29, 2006 #5 You can use more than one DHTML effect, but 'on page load' isn't applied to images; it would be applied to the page generally in the "body" tag it would start "onload='........'
You can use more than one DHTML effect, but 'on page load' isn't applied to images; it would be applied to the page generally in the "body" tag it would start "onload='........'