Created
August 9, 2011 10:17
-
-
Save craigmartin/1133713 to your computer and use it in GitHub Desktop.
HTML file for the jQuery plugin for Question #6
This file contains 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> | |
<style>p { background:yellow; margin:6px 0; } p.off { background: black; }</style> | |
<script src="http://code.jquery.com/jquery-latest.js"></script> | |
<script src="validateLinks.js" type="text/javascript"></script> | |
<script type="text/javascript"> | |
$().ready(function() { | |
$('#links').validateLinks( { | |
}); | |
}); | |
</script> | |
</head> | |
<body> | |
<p>Hello!</p> | |
Good to see you. | |
<p>Want to try some links?</p><br /><br /> | |
<div id="links"> | |
<p><a href="http://google.com">Try using Google as a search engine? Just got back from your trip to Neptune? ... I understand.</a></p><br /> | |
<p><a href="http://www.uab.edu/news/latest/item/1039-deep-space-travel-could-create-heart-woes-for-astronauts">It might affect more than your brain too ..</a></p><br /> | |
<p><a href="http://www.bloomspot.com/chicago/astro-palace-hotel-suites/">And then you can rest here, great for space travelers.</a></p><br /> | |
</div> | |
<button>Disable/enable links</button> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment