This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* styles.css */ | |
| /* Downloadable Font from FontSquirrel */ | |
| @font-face { | |
| font-family: 'Calligraffiti'; | |
| src: url('Calligraffiti-webfont.eot'); | |
| src: url('Calligraffiti-webfont.eot?#iefix') format('embedded-opentype'), | |
| url('Calligraffiti-webfont.woff') format('woff'), | |
| url('Calligraffiti-webfont.ttf') format('truetype'), | |
| url('Calligraffiti-webfont.svg#CalligraffitiRegular') format('svg'); | |
| font-weight: normal; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
| <title>Document</title> | |
| <style> | |
| /* Generic styling (all screen widths) */ | |
| * { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Collapsible Panel</title> | |
| <!-- Use this code however you like. I am at http://AlanSimpson.me- -> | |
| <!-- Load jQuery library (simplifies the JavaScript coding later)--> | |
| <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script> | |
| <script> | |
| //jQuery code. | |
| $(document).ready(function () { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>jQuery Dropdowns </title> | |
| <meta name="description" content="Here is a free and relatively simple clickable dropdown menu for your website that acts more like the menu bars in standard Windows and Mac OS apps, rather than CSS hover menus." /> | |
| <meta name="author" content="Alan Simpson" /> | |
| <!-- Download jQuery library --> | |
| <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script> | |
| <script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html xmlns="http://www.w3.org/1999/xhtml"> | |
| <head> | |
| <title></title> | |
| <style> | |
| /* General style, transition occurs when taking mouse pointer of the item */ | |
| img.crazy { | |
| display: block; | |
| margin: 10em auto; | |
| /* That code is really just the opposite of the hover code. */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Drop Cap Example</title> | |
| <!-- Feel free to use however you wish http://AlanSimpson.me --> | |
| <style> | |
| /* This width is just to make the paragraphs narrow, not required in real life */ | |
| p { | |
| width: 400px; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Play Sound on Click</title> | |
| <meta name="author" content="Alan Simpson - AlanSimpson.me"> | |
| <!-- Get jQuery library from Google cdn --> | |
| <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script> | |
| <script> | |
| $(document).ready(function () { | |
| var audioElement = document.createElement('audio'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Play Sound on Click</title> | |
| <meta name="author" content="Alan Simpson - AlanSimpson.me"> | |
| <!-- Get jQuery library from Google cdn --> | |
| <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script> | |
| <script> | |
| $(document).ready(function () { | |
| var audioElement = document.createElement('audio'); |