surferdave
08-09-2002, 08:07 PM
Hello
The follow code will change the image in "mypic" from FIRST.bmp to CHANGE.bmp on mouse over in TEST. And on mouse over in TEST2 the image in "mypic" will change to CHANGE2.bmp.
So depending on where the mouse is the image will change.
<SCRIPT LANGUAGE="JavaScript">
function a()
{
document.mypic.src="CHANGE.bmp"
}
{
document.mypic.src="CHANGE2.bmp"
}
</script>
<img name="mypic" src="FIRST.bmp">
<p onMouseOver="a()">TEST</p>
<p onMouseOver="b()">TES2</P>
I would like to create this same effect but with a Marquee. when someone put there mouse over a different <p> a Marquee for that <P> would go across the page, and display its message. Different <p> on mouse over will display different message.
Thanks for everyone's help in advance!
Dave
The follow code will change the image in "mypic" from FIRST.bmp to CHANGE.bmp on mouse over in TEST. And on mouse over in TEST2 the image in "mypic" will change to CHANGE2.bmp.
So depending on where the mouse is the image will change.
<SCRIPT LANGUAGE="JavaScript">
function a()
{
document.mypic.src="CHANGE.bmp"
}
{
document.mypic.src="CHANGE2.bmp"
}
</script>
<img name="mypic" src="FIRST.bmp">
<p onMouseOver="a()">TEST</p>
<p onMouseOver="b()">TES2</P>
I would like to create this same effect but with a Marquee. when someone put there mouse over a different <p> a Marquee for that <P> would go across the page, and display its message. Different <p> on mouse over will display different message.
Thanks for everyone's help in advance!
Dave