User Tools

Site Tools

Translations of this page:

Sidebar

Documentation index

  • New Style Rotation
direct_out_links

Direct Out Links

Direct Links example

<html>
<body>
<script src='/scj/includes/js/jquery.js'></script>
<script>
	$(document).ready(function(){
		$('a[jsvar=out]').each(function(){
				var href = '/out.php?url=' + $(this).attr('href');
				$(this).attr('href', href);
		});
	});
</script>


<a jsvar='out' href='http://gallery.com/'> out link </a> <br>
<a href='http://gallery.com/'> direct link </a>

</body>
</html>
direct_out_links.txt · Last modified: 2014/01/29 18:04 (external edit)