dhtml effects

  • Thread starter Thread starter Guest
  • Start date Start date
Paula said:
I want to switch pictures with "on mouse over" and create an effect
"on page load"

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
 
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='........'
 
Back
Top