Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div>
- <img src="http://25.media.tumblr.com/acc96259d6b2678985052c33e05a3062/tumblr_mkv9fhDBDS1rmc58qo1_500.jpg" />
- </div>
- $('div img').mousenter(function(){
- $(this).css({"border": "0px solid #f37736"}).animate({
- 'borderWidth': '4px',
- 'borderColor: '#f37736'
- },500);
- }).mouseleave(function(){
- $(this).animate({
- 'borderWidth':'0px',
- 'borderColor:'#f37736'
- },500);
- });
- $('div img').mouseenter(function () {
- $(this).css({border: '0 solid #f37736'}).animate({
- borderWidth: 4
- }, 500);
- }).mouseleave(function () {
- $(this).animate({
- borderWidth: 0
- }, 500);
- });
- $('div img').mouseenter(function(){
- $(this).css("border", "0px solid #f37736").animate({
- 'borderWidth': '4px',
- 'borderColor': '#f37736'
- },500);
- }).mouseleave(function(){
- $(this).animate({
- 'borderWidth':'0px',
- 'borderColor':'#f37736'
- },500);
- });
- $('div img').mouseenter(function () {
- $(this).css({
- outline: "0px solid transparent"
- }).animate({
- outlineWidth: '4px',
- outlineColor: '#f37736'
- }, 500);
- }).mouseleave(function () {
- $(this).animate({
- outlineWidth: '0px',
- outlineColor: '#037736'
- }, 500);
- });
- $('div img').mouseenter(function(){
- $(this).css("border", "0px solid #f37736").animate({
- 'borderWidth': '4px',
- 'borderColor': '#f37736'
- },500);
- }).mouseleave(function(){
- $(this).animate({
- 'borderWidth':'0px',
- 'borderColor':'#f37736'
- },500);
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement