Kaisa
12-10-2002, 07:09 AM
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. ?
|
Click to See Complete Forum and Search --> : Can't you do Mouseovers in HTML ? Kaisa 12-10-2002, 07:09 AM 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. ? Stefan 12-10-2002, 07:58 AM Originally posted by Kaisa 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. ? 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?) Kaisa 12-11-2002, 07:39 AM 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 ! Stefan 12-11-2002, 11:32 AM Originally posted by Kaisa 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 Got a funny deja-vue feeling when I read that. Already answered this exact question of yours once http://forums.webdeveloper.com/showthread.php?s=&threadid=518 Kaisa 12-13-2002, 06:19 AM 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 ? ( Http://www.GraalOnline.com ) DUMD-DO 01-03-2003, 04:44 AM No..HTML is static and doest have much flare. DHTML or DOM are used to develop interactive wepages. Like <img src="before.gif" hsrc="after.gif"> having fun now! jdavia 01-05-2003, 12:32 PM 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: http://www.citlink.net/~jdavia/img-sound.html I have such a menu that you ask for, but wonder if you can adopt it for your needs. pyro 01-05-2003, 12:57 PM jdavia- 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 Elfers 01-05-2003, 03:13 PM Originally posted by Kaisa 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 ? ( Http://www.GraalOnline.com ) I says at the bottom of that site that it was made by a "Linux" person. What are you talking about. (Not Linux the OS, Linux the name). pyro 01-05-2003, 05:40 PM Originally posted by Kaisa and by the way are you the same Stefan that made graalonline ?No, I can be quite certain that it is not. They used tables for layout... Right Stefan?? :D cyberclownhat 01-06-2003, 11:41 AM Mouseover code works just fine in HTML. Go to this link to view some of my code that uses mouseover to supersize images. www.geocities.com/ccbebs/TablemakerTesting 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. warbishop 01-06-2003, 01:02 PM 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. this works fine. war:) Stefan 01-07-2003, 04:07 AM Originally posted by pyro No, I can be quite certain that it is not. They used tables for layout... Right Stefan?? :D Indeed :D webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |