Skip to content

Instantly share code, notes, and snippets.

@muncman
Created February 17, 2010 06:21
Show Gist options
  • Save muncman/306365 to your computer and use it in GitHub Desktop.
Save muncman/306365 to your computer and use it in GitHub Desktop.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang='en-US' xml:lang='en-US' xmlns='http://www.w3.org/1999/xhtml'>
<head>
<title>VacationTrade</title>
<meta content='text/html; charset=utf-8' http-equiv='Content-Type' />
</head>
<body>
<p><a href="http://www.munc.com/" rel="bookmark">More info via a relationship link popup</a></p>
<p><a href="http://www.munc.com/" rel="bookmark">More info via a relationship link popup</a></p>
<p><a href="http://www.munc.com/" rel="bookmark">More info via a relationship link popup</a></p>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" />
<script type="text/javascript">
// See http://www.w3schools.com/TAGS/att_a_rel.asp for rel values. "popup" seem nicer...
$('a[rel~=bookmark]').attr('target', '_blank');
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment