Skip to content

Instantly share code, notes, and snippets.

@bdukes
Created December 7, 2011 17:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bdukes/1443793 to your computer and use it in GitHub Desktop.
Save bdukes/1443793 to your computer and use it in GitHub Desktop.
DNN Skin with Client Capability checks
<%@ Control Language="C#" AutoEventWireup="false" Inherits="DotNetNuke.UI.Skins.Skin" %>
<%@ Import Namespace="DotNetNuke.Services.ClientCapability" %>
<div class="<%= ClientCapabilityProvider.CurrentClientCapability.IsTouchScreen ? "touch-please" : "no-touching" %>">
<div id="ContentPane" runat="server"></div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment