Drag the black border. Credits:Original idea: solipsistaCP´s pen
I hereby claim:
- I am runningrhetoric on github.
- I am hahn (https://keybase.io/hahn) on keybase.
- I have a public key whose fingerprint is 3D0A 9C55 6133 BE49 3008 7E2C 0365 FED4 A8C7 8B4B
To claim this, I am signing this object:
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
<div class="container-nav"> | |
<nav class="nav-mbl"> | |
<ul> | |
<li><a href="#" class="btn-togglebox btn-nav-main" data-target="nav-main">Main Menu</a></li> | |
</ul> | |
</nav> | |
<nav id="nav-main" class="nav-main cascadingMenu" role="navigation"> | |
<ul> | |
<li><a href="#">Nav</a></li> | |
<li><a href="#">Nav</a> |
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
$("a[href^=http]").each( function(){ | |
if(this.href.indexOf(location.hostname) == -1) { | |
$(this).attr('target', '_blank'); | |
} | |
}); |