PageRenderTime 18ms CodeModel.GetById 16ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

/source/app/NOS.Wiki/ClientImageBrowser.ascx

http://github.com/agross/netopenspace
ASP.NET | 20 lines | 5 code | 3 blank | 12 comment | 0 complexity | de9f6a2c1e68fd93feb05b195bb92416 MD5 | raw file
 1<%@ Control Language="C#" AutoEventWireup="true" Inherits="ScrewTurn.Wiki.ClientImageBrowser" Codebehind="ClientImageBrowser.ascx.cs" %>
 2
 3<asp:Literal ID="lblStrings" runat="server" />
 4
 5<script type="text/javascript">
 6<!--
 7	//var CurrentDivId = ""; // Probably needs to be set on server-side
 8	
 9	function DisplayDiv(divId) {
10		var div = document.getElementById(divId);
11		var current = document.getElementById(CurrentDivId);
12		if(current) current.style["display"] = "none";
13		div.style["display"] = "";
14		CurrentDivId = divId;
15		return false;
16	}
17// -->
18</script>
19
20<asp:Literal ID="lblContent" runat="server" EnableViewState="false" />