Skip to content

Instantly share code, notes, and snippets.

@noogler617
Created March 23, 2017 18:16
Show Gist options
  • Save noogler617/8ae7cd9197e5060908b6e6154d5c9efc to your computer and use it in GitHub Desktop.
Save noogler617/8ae7cd9197e5060908b6e6154d5c9efc to your computer and use it in GitHub Desktop.
jQuery Example...
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>jQuery FAQ Slider</title>
<link rel="stylesheet" type="text/css" href="../faqslider/style.css">
</head>
<body>
<a href="http://www.jquery.com">jQuery</a>
<script>
$(document).ready(function(){
$("a").click(function(event){
alert('thanks for visiting!')
event.preventDefault();
});
});
</script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="../faqslider/script.js"></script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment