Skip to content

Commit

Permalink
Update demo src
Browse files Browse the repository at this point in the history
  • Loading branch information
padolsey committed Jul 28, 2010
1 parent e608680 commit 0ba2d06
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions proximity-event/demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ <h1>Proximity event for jQuery: Demo</h1>

box.bind('proximity', {max:300}, function(e, proximity, distance){

// font-size moves between 10px and 30px
box.css('font-size', (proximity * 29 + 10) + 'px');
// font-size moves between 10px and 40px
box.css('font-size', (proximity * 30 + 10) + 'px');

data.text(
proximity === 0 ?
Expand All @@ -70,8 +70,8 @@ <h1>Proximity event for jQuery: Demo</h1>

box.bind('proximity', {max:300}, function(e, proximity, distance){

// font-size moves between 10px and 30px
box.css('font-size', (proximity * 29 + 10) + 'px');
// font-size moves between 10px and 40px
box.css('font-size', (proximity * 30 + 10) + 'px');

data.text(
proximity === 0 ?
Expand Down

0 comments on commit 0ba2d06

Please sign in to comment.