mirror of https://github.com/vitalif/dimple
parent
eef39d9aef
commit
f04be57953
|
@ -75,6 +75,21 @@
|
|||
var pageTracker = _gat._getTracker("UA-41100937-1");
|
||||
pageTracker._trackPageview();
|
||||
} catch(err) {}
|
||||
$(function() {
|
||||
$("a").on('click',function(e){
|
||||
var url = $(this).attr("href");
|
||||
if (e.currentTarget.host != window.location.host) {
|
||||
_gat._getTrackerByName()._trackEvent("Outbound Links", e.currentTarget.host.replace(':80',''), url, 0);
|
||||
if (e.metaKey || e.ctrlKey) {
|
||||
var newtab = true;
|
||||
}
|
||||
if (!newtab) {
|
||||
e.preventDefault();
|
||||
setTimeout('document.location = "' + url + '"', 100);
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -115,6 +115,21 @@
|
|||
var pageTracker = _gat._getTracker("UA-41100937-1");
|
||||
pageTracker._trackPageview();
|
||||
} catch(err) {}
|
||||
$(function() {
|
||||
$("a").on('click',function(e){
|
||||
var url = $(this).attr("href");
|
||||
if (e.currentTarget.host != window.location.host) {
|
||||
_gat._getTrackerByName()._trackEvent("Outbound Links", e.currentTarget.host.replace(':80',''), url, 0);
|
||||
if (e.metaKey || e.ctrlKey) {
|
||||
var newtab = true;
|
||||
}
|
||||
if (!newtab) {
|
||||
e.preventDefault();
|
||||
setTimeout('document.location = "' + url + '"', 100);
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
var disqus_shortname = 'dimplejs';
|
||||
|
|
|
@ -78,6 +78,21 @@
|
|||
var pageTracker = _gat._getTracker("UA-41100937-1");
|
||||
pageTracker._trackPageview();
|
||||
} catch(err) {}
|
||||
$(function() {
|
||||
$("a").on('click',function(e){
|
||||
var url = $(this).attr("href");
|
||||
if (e.currentTarget.host != window.location.host) {
|
||||
_gat._getTrackerByName()._trackEvent("Outbound Links", e.currentTarget.host.replace(':80',''), url, 0);
|
||||
if (e.metaKey || e.ctrlKey) {
|
||||
var newtab = true;
|
||||
}
|
||||
if (!newtab) {
|
||||
e.preventDefault();
|
||||
setTimeout('document.location = "' + url + '"', 100);
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -115,6 +115,21 @@
|
|||
var pageTracker = _gat._getTracker("UA-41100937-1");
|
||||
pageTracker._trackPageview();
|
||||
} catch(err) {}
|
||||
$(function() {
|
||||
$("a").on('click',function(e){
|
||||
var url = $(this).attr("href");
|
||||
if (e.currentTarget.host != window.location.host) {
|
||||
_gat._getTrackerByName()._trackEvent("Outbound Links", e.currentTarget.host.replace(':80',''), url, 0);
|
||||
if (e.metaKey || e.ctrlKey) {
|
||||
var newtab = true;
|
||||
}
|
||||
if (!newtab) {
|
||||
e.preventDefault();
|
||||
setTimeout('document.location = "' + url + '"', 100);
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
var disqus_shortname = 'dimplejs';
|
||||
|
|
15
index.html
15
index.html
|
@ -129,6 +129,21 @@
|
|||
var pageTracker = _gat._getTracker("UA-41100937-1");
|
||||
pageTracker._trackPageview();
|
||||
} catch(err) {}
|
||||
$(function() {
|
||||
$("a").on('click',function(e){
|
||||
var url = $(this).attr("href");
|
||||
if (e.currentTarget.host != window.location.host) {
|
||||
_gat._getTrackerByName()._trackEvent("Outbound Links", e.currentTarget.host.replace(':80',''), url, 0);
|
||||
if (e.metaKey || e.ctrlKey) {
|
||||
var newtab = true;
|
||||
}
|
||||
if (!newtab) {
|
||||
e.preventDefault();
|
||||
setTimeout('document.location = "' + url + '"', 100);
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<a href="https://github.com/PMSI-AlignAlytics/dimple/fork">
|
||||
<img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub">
|
||||
|
|
Loading…
Reference in New Issue