$(this).mouseout(function() { $(this).animate({ color: original },settings.duration); });
});
};
Right now it changes the font colour as it should, I want to change it so that it changes the background colour as well as the font colour, I cannot get it to work. Any ideas?
I prefer the Windows Vista Startup sound. It was designed in accordance with Windows AERO principles; the sound itself, among other niceties "has two parallel melodies played in an intentional 'Win-dows Vis-ta' rhythm".
Before Windows Vista was released to manufacturing there were discussions about this Startup sound being mandatory like the startup sound of the Xbox 360. (This did not happen.)
(I recall and appreciate that it is Windows Vista that first allowed users to disable only Windows sounds from the Volume Mixer.)
For sure, Windows 7 had quite good design with its transparency, as did Vista. The early Longhorn builds and prototypes definitely went too far, but certainly looked a lot nicer. They weren't particularly practical, with some text difficult to read, with attempts to add contrast with weird drop shadow glows around text.
I believe the reason they stepped away from that was partly to do with accessibility of a standard Windows desktop having the right levels of contrast. From memory, they made a point of this in Office 2010, when Office 2007's ribbon didn't conform to access ability standards with poor contrasted text on the blue background.
Question
Tanoru
Hi Im having some trouble with this. Im trying to create a fading rollover effect with the help of jQuery
This is the code I have :
<script type="text/javascript">
$(document).ready(function() {
$('.fade').dwFadingLinks({
color: '#515151',
duration: 700
});
});
</script>
and...
jQuery.fn.dwFadingLinks = function(settings) {
settings = jQuery.extend({
}, settings);
return this.each(function() {
var original = $(this).css('color');
$(this).mouseover(function() { $(this).animate({ color: settings.color },settings.duration); });
$(this).mouseout(function() { $(this).animate({ color: original },settings.duration); });
});
};
Right now it changes the font colour as it should, I want to change it so that it changes the background colour as well as the font colour, I cannot get it to work. Any ideas?
Thanks
Link to comment
https://www.neowin.net/forum/topic/859856-jquery-fadind-effects/Share on other sites
2 answers to this question
Recommended Posts