dhtml effects

P

Paula Matelli

I want to switch pictures with "on mouse over" and create an effect "on page
load"
 
T

Trevor L.

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
 
A

Andrew Murray

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

DHTML effects 1
DHTML Effects 1
Script error in FP 2002 when trying to use DHTML 2
DHTML Effects 11
2 DHTML Effects in one 4
DHTML effects unavailable for text 6
Please help with DHTML 3
dhtml effects 1

Top