I know i asked about this in the General fourm but i was wonder can’t you do mouseovers , onpress & onmouseout in html like <a href=”” onmouseover=”image1.png”>Hi My Name Is Kaisa</a> etc. ?
@StefanDec 10.2002 — #[i]Originally posted by Kaisa [/i]
[B]I know i asked about this in the General fourm but i was wonder can't you do mouseovers , onpress & onmouseout in html like <a href="" onmouseover="image1.png">Hi My Name Is Kaisa</a> etc. ? [/B][/QUOTE]
No, onmouseover etc is a way to link to/incorporate scripting.
The closes to creating dynamic effects with "html" is to use CSS.
Your code however doesn't explain what you want to do (change background image? Popup the image? or something else?)
@KaisaauthorDec 11.2002 — #Well what i want the script to do is when you move your mouse over it , it changes to a different image the same with clicking on the image etc. including the mouseout script and if you know how to add sound that will help too !
@StefanDec 11.2002 — #[i]Originally posted by Kaisa [/i]
[B]Well what i want the script to do is when you move your mouse over it , it changes to a different image the same with clicking on the image etc. including the mouseout script [/B][/QUOTE]
Got a funny deja-vue feeling when I read that.
Already answered this exact question of yours once
@KaisaauthorDec 13.2002 — #I know i asked for the same thing in the general fourm and i am sorry if your mad about it but thats how i am and by the way are you the same Stefan that made graalonline ?
@jdaviaJan 05.2003 — #I think what you are asking for is a great feat to accomplish for the novice. None of what you desire comes in simple code. Most of all that would be compatible with all Browsers.
I use this example to show how different Browsers handle the same space in a single page. Netscape will have a mouseover sound and a train moving, while Internet Explorer will show my message of what they are missing. Here it is:
Why not write the code so it is compatible in all major browsers? You aren't doing anything that complex in you example. Simply putting a gif in you page with sound onMouseOver. Certainly not something that has to be limited to Netscape...
@Zach_ElfersJan 05.2003 — #[i]Originally posted by Kaisa [/i]
[B]I know i asked for the same thing in the general fourm and i am sorry if your mad about it but thats how i am and by the way are you the same Stefan that made graalonline ?
@pyroJan 05.2003 — #[i]Originally posted by Kaisa[/i]
[B]and by the way are you the same Stefan that made graalonline ?[/B][/QUOTE]No, I can be quite certain that it is not. They used tables for layout... Right Stefan?? ?
Pay careful attention to the use of single and double quotes between the <>. Additional mouseover actions, such as sound, can be inserted between the double quotes by using the ; and ' to separate them.
@warbishopJan 06.2003 — #here is a simple mouseover.......
<HTML>
<HEAD>
<TITLE>Simple Mouseover</TITLE>
</HEAD>
<BODY>
<A HREF="jsmouse1.html"
onMouseover="mypicture.src='mouseovr.gif'"
onMouseout="mypicture.src='mouseout.gif'">
<IMG SRC="mouseout.gif"
WIDTH=157
HEIGHT=39
BORDER=0
NAME="mypicture">
</A>
</BODY>
</HTML>
Note: Put the file here: <IMG SRC="*******.gif", that you want to be on the page when it initially loads. then put the pics you want to change with the mouse over in the
'*********' spots. you may want to make the load pic the same as the mouseout.gif, and then put a different one for the mouseover or visa versa.