Wednesday, January 20th, 2010
What’s the html code for changing picture while draging mouse over menu navigation bar? And i need the picture to change on mouseover with to a different one with every navigation option.
Thank you 
You would use javascript’s onMouseover event. You can not do this with just html.
Technorati Tags: html code, Javascript Onmouseover, Menu Bar, Menu Html, Menu Navigation, Mouseover, Navigation Bar, Navigation Option, Onmouseover Event
Posted in html code | 1 Comment »
Wednesday, January 20th, 2010
Does anyone know what the html code is for when you click a picture, a sound plays.
NOTE: Please can you tell me EXACTLY how to do it, like in stages and explain how to do it
Play Sound on Mouseover or MouseClick: http://www.entheosweb.com/website_design/play_sound.asp
Didn’t test this as I don’t like the embed tag:
Put this between your head tags:
<script type="text/javascript">
function playSound(id){
if(document.embeds) document.embeds["sound"+id].play();
}
</script>
Put this between your body tags:
<embed src="your_sound_file.wav" hidden="true" autostart="false" name="sound1" loop="false">
<p><a onclick="javascript:playSound(’1′);"><img style="width: XXpx; height: YYpx; border: 0;" src="Path to image" alt="Text Description"></a></p>
Put correct path to sound file and image. Hope it works. Using the "object" tags would be better.
Ron
Technorati Tags: Alt, asp, Correct Path, Embed Src, Embed Tag, File Wav, html code, Html Sound, Img, Lt, Mouseover, Onclick Javascript, Plays, Script Type, Sound Image, Sound Wav, T Test, Text Description, Text Javascript, Website Design
Posted in html code | 1 Comment »
Wednesday, January 20th, 2010
All I need is the html code for making a simple thing like a rectangle change color when a user’s mouse hovers over it! Please be clear as to where in the code I must supply information to customize the button’s color, or anything else.
Technically, you don’t do this with html, but with CSS, and there’s more than one way to do it with CSS, but it’s possible that one or more of those techniques won’t work on all browsers. The simplest and cleanest way is probably with the "hover" pseudo-class, which the first link describes. Browser support for pseudo-classes is somewhat new, however (doesn’t work on IE6). The second link describes how to use the "mouseover" and "mouseout" events to change the background color.
Technorati Tags: Background Color, Browsers, Change Color, Customize, Html Button, html code, Html Css, Ie6, Mouseover, Quot, Rectangle, Second Link
Posted in html code | 5 Comments »
Friday, November 6th, 2009
What is the html code for text to appear when someone moves the mouse over a picture?
People never know what they are talking about. The alt="" attribute is NOT the attribute that shows the tooltip popup on a mouseover of an image. Although Internet Explorer does show the tooltip on a mouseover using the alt="" atribute, it is doing it WRONG!
The proper attribute to use in jus about any tag is the title="" attribute. Add this one with the short text description you want along with the alt="" attribute to stay within proper coding standards.
Ron
Technorati Tags: Alt, Atribute, Attribute, Coding Standards, html code, Html Images, Html Text, Internet Explorer, Jus, Mouse Picture, Mouseover, People Talking, Picture People, Popup, Tag, Text Description, Text Html, Text Images
Posted in html code | 2 Comments »