Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<div class="scrollbar" id="scrollbar">
	<ol class="tree">
		#foreach($object in $allobjects) #if($object.isDirectory())
		<li class="folder">
			<label for="$object.toString()">
				<a style="color: #333"
					href="$serverURL/$identifierType/$internalId/$object.getID()/$object.getVersionByDate($date).getRevision()">$object.toString()</a>
				<a
					href="$serverURL/$identifierType/$internalId/$object.getID()/$object.getVersionByDate($date).getRevision()/ZIP"
					target="_blank">
					<i class="fa fa-download" title="download as zip"></i>
				</a>
			</label>
		</li>
		#else
		<li class="myfile">
			<a style="color: #333" id="$object.toString()"
				href="$serverURL/$identifierType/$internalId/$object.getID()/$object.getVersionByDate($date).getRevision()">$object.toString()</a>
			<a
				href="$serverURL/$identifierType/$internalId/$object.getID()/$object.getVersionByDate($date).getRevision()/DOWNLOAD"
				target="_blank">
				<i class="fa fa-download" title="download"></i>
			</a>
		</li>
		#end #end
	</ol>
</div>
<script type="text/javascript">
	window.onload = function()
	{
	var divObject =
	document.getElementById('scrollbar');
	divObject.scrollTop =
	divObject.scrollHeight;

	$(function () {
	$("#ballsWaveG").hide();
	});

	}
</script>
New to GrepCode? Check out our FAQ X