First Draft

First Draft of the Example Files
This commit is contained in:
RobinNixon
2020-12-10 13:21:38 +00:00
parent 77a7b57c4f
commit 0335342e00
1127 changed files with 46959 additions and 56 deletions
+20
View File
@@ -0,0 +1,20 @@
<!DOCTYPE html>
<html>
<head>
<title>Effects: Fading</title>
<script src='jquery-3.5.1.min.js'></script>
</head>
<body>
<button id='fadeout'>fadeOut</button>
<button id='fadein'>fadeIn</button>
<button id='fadetoggle'>fadeToggle</button>
<button id='fadeto'>fadeTo</button>
<p id='text'>Click the buttons above</p>
<script>
$('#fadeout') .click(function() { $('#text').fadeOut( 'slow' ) })
$('#fadein') .click(function() { $('#text').fadeIn( 'slow' ) })
$('#fadetoggle').click(function() { $('#text').fadeToggle('slow' ) })
$('#fadeto') .click(function() { $('#text').fadeTo( 'slow', 0.5) })
</script>
</body>
</html>