HTML - Opacity Mouseover Mouseout
How do I do the code below in css cause it takes to long to put that for each image i know how to do the opacity but how do i do the mouseover and mouse out in css?
<img src="_/programming/HTML/Webpage/menus.jpg" width="230" height="60" alt="menus" onmouseout="this.style.opacity=1;this.filters.alpha.opacity=100" onmouseover="this.style.opacity=0.4;this.filters.alpha.opacity=40" /> Similar TutorialsHow do I do the code below in css cause it takes to long to put that for each image i know how to do the opacity but how do i do the mouseover and mouse out in css? <img src="_/programming/HTML/Webpage/menus.jpg" width="230" height="60" alt="menus" onmouseout="this.style.opacity=1;this.filters.alpha.opacity=100" onmouseover="this.style.opacity=0.4;this.filters.alpha.opacity=40" /> Hello, Having a few problems here with some effects for my websites log in page. I've just finished the coding for username and password but now i want to but a special moving background. The Begining Image On Mouse Over On Mouse Out Basicaly, i need to begin with the 1st image. On mouseover it needs to change to the 2nd image of the doors opening, and then on mouseout it changes to the 3rd image of the doors closing. Im not very good at this. I know html and a tiny amount of java, so if its not to much to ask can someone not only help but actualy generate the code for me. That way i can read it and learn from the codes Many Thanks, Narc You know this code in html: <img src="klematis.jpg" width="150" height="113" alt="klematis" style="opacity:0.4;filter:alpha(opacity=40)" /> It's used to do the opacity of an image my question is how can I do this with css jus so I donot have to put it for every image. the problem in question is located here HERE the links DIV BG is faded like I want but everything in the div is faded too, ie. the Images. How can I keep images and text from fading? Thanks Ok. This is my coding for my form button. The opacity changes, when hovered over, in my editor and in IE - but it doesnt work in Netscape - any suggestions or ideas???? <input type="image" src="buttons.jpg" onmouseover="this.style.Opacity=1.0[1];this.filters.alpha.opacity=100" onmouseout="this.style.Opacity=0.7[1];this.filters.alpha.opacity=70" style="filter:alpha(opacity=70);opacity:0.7.[1]" size="25" value="Find password" /> I have a grid jpeg that should be showing up just right of the news text in this link: http://kos-mediadesign.com/news.html. I have the opacity of the image set to .4 / 40/% and it displays perfectly in all major browsers on windows and OSX 10.5, except when it is viewed on my laptop which is OSX 10.6. I'm just after noticing now that the image actually appears underneath the drop shadow effect of an overlaying window, say, if you have a finder window open on top of the browser. Very strange. Has anyone experienced this and is there a work around? I need help. Im new at Web design, new at html, and css so i dont know a whole lot I need help applying an opacity to my images and my buttons in either Html or Css. WHich ever you put the code in thanks Hi. I set the opacity of content tables within my webpage to 0.90 so that my background can be seen slightly. However my images in these content tables are also see through. How do i make the images 100% opaque? I have tried entering the image code like this: <IMG SRC="http://i49.photobucket.com/albums/f293/jmzcherry/pete-doherty-gio-goi.jpg" STYLE=filter:alpha(opacity=100) WIDTH="245" HEIGHT="250" ALIGN="left"> but that didnt work. Heres how i did the opacity for the tables: table table table td { background-color:FFFFFF; filter:alpha(opacity=90); -moz-opacity:0.90; opacity:0.90; -khtml-opacity:0.90; } table table table table td {filter:none;} Hello all, Can anyone tell me how I can change the block colour of the background to a more opaque effect? Many thanks Phil I've just started changing my Tumblr page around to make it look more fancy! I put a nice background and such on it, then finally, after looking for hours, figured out how to make my posts container opaque, so that you could actually see the background. Well, when I made it opaque, it also made my posts opaque. So, now some of the photos I'm using on there are not extremely visible. I was just wondering if there's a way to make the post container opaque without making the post content opaque as well? Here's the link to my tumblr page, so you can get an idea of what I'm talking about. http://late-summers-thoughts.tumblr.com/ And I'm not totally sure that this is what you need, but this is the part of my coding where I made the whole thing opaque. div#content{filter: alpha(opacity=75); -moz-opacity:.75; opacity:.75; float:right; width:500px; padding:10px; padding-top: 0px; margin-right: 170px; background: #000000; } div#entry{ background-color:; margin-top:px; padding-top:10px; padding-bottom:10px; } I need help/ I applied an opacity on my table background. But the problem is, i have content such as images and text areas in my table which are getting affected by the opacity i placed on my table. I applied a 14% opacity to my table and now its making my images and textbox inside my table invisible. anyway to fix this problem. here is an example of my code HTML <table class="home"> <tr> <th>Welcome</th> </tr> <tr> <td width="100" height="200"> <p><img src="Web Photos/welcomebanner.gif" class="feature" width="1025" height="200" /></p> </tr> CSS table.home td { font-size: small; border: 1px solid FFFFFF; background-color: #FFFFFF; filter: alpha(opacity=14); } Hello. I've searched numerous times on Google for answers to this problem I'm having and I'm getting no help. I've posted here before with the same website but I have a different layout (or I'm making one) so I have a different problem. To view the website click here, although I don't have the new layout up on the web yet. I have a picture as the background and I have the semi-transparent tables, but the text is semi-transparent as well and I really don't like that. The code I have for the semi-transparent tables is: Code: table, tr, td { filter: alpha(opacity=75);filter:progid:DXImageTransform.Microsoft.Alpha(opacity=75); -moz-opacity:0.75; } So that's all fine and good, but I can't get the text to show up solid. Is there a way that I can have the semi-transparent tables and full opacity text? I'm extremely bad with CSS, so I don't know much what I'm doing here. I want to change my paypal buy now button, to my own button. I have the same button in 2 colors and want to use mouseover to switch between them. The code is an image not a url so I need some help. Here is the code for the image. <input type="image" src="./buy.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!"> How do I make the mouseover work on that? why mouseover function still not working for my page http://members.dodo.com.au/~rouslan/...ite/index.html ? e.g. buttons don't change color when you mouse over them. I followed exact instructions provided on http://graphicfreebies.com/scripts/mouseover.txt but still not working. anyone have a clue why is that? what am I missing? I'm pretty new to HTML hi guys i am new here so take it easy on me lol. Ok heres what I am trying to do, on my webpage I have a section called services and I would like the following to happen. I have a line "All aspects of Leadwork from flashings to bay tops and dorma windows" I would like a thumbnail to pop up when the mouse hovers over it ie a thumbnail of my leadwork. Is this possible and can anyone generate a script for me? Thanks steve http://www.dohertyplumbing.co.uk Hey, Making a site here, but I want to change the image when my mouse is over it. How do I do this in HTML? It's best if I dont have to use any scripts. Thought there where a very easy basic way to do this, but somehow I cant figure it out ^^ If I have to use any cripts, please let me know which you reccomend. Easy task, image should just change to another one. I put mouseovers on some pictures, and they work, but for some reason they break after each image. I tried just putting the regular images lined up by themselves and they fit without breaking normally, but when I put them in with the mouseover code they break. I can't explain it I guess, but take a look. http://profile.myspace.com/index.cfm...endid=28553654 It's the batman, dragon, rubber duck, link, and hello kitty pictures. I'm currently using onmouseover events to call a picture from another location on the same page using: <div> <img name="rollover" src="image.gif" /> </div> and calling images from: <a href.... onmouseover=' rollover.src=" newimage.gif " '> This works fine. What I want to do is call text into another <div> on the same page. Is this possible? I'm relatively inexperienced using JavaScript so any hints would be welcome. Hello. I am having trouble with a mouseover effect. On some of my buttons they change from blue to red, but on some pages they don't. I have looked at my code and I can't figure out why. Here is my site: www.JakeBurtonMusic.com/drummer You will see that the bio, drum lessons, drum tracks buttons work fine, but it doesn't change color on these pages: contact, gear I have looked at the code on the "contact" and "gear" pages, and I cannot figure out what is keeping them from changing. I am using microsoft expression web to create my mouseover effect in behaviors. Please help and thank you for your time. Is it possible to make a sound when the mouse goes over an image? maybe using some JS or something. Also on mouseout aswell I would like it to make some kind of beeping noise when the user hovers over an image but i dont want to go in to all that flash stuff etc... |