This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.bootstrap-wrapper { | |
@import (less) url( '../vendor/bootstrap/bootstrap.css' ); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Sample Content to Plugin to Template --> | |
<h1>CSS Basic Elements</h1> | |
<p>The purpose of this HTML is to help determine what default settings are with CSS and to make sure that all possible HTML Elements are included in this HTML so as to not miss any possible Elements when designing a site.</p> | |
<hr /> | |
<h1 id="headings">Headings</h1> | |
<h1>Heading 1</h1> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$.support.placeholder = ('placeholder' in document.createElement('input')); | |
if (!$.support.placeholder) { | |
$('input[placeholder],email[placeholder]').each(function() { | |
$(this) | |
.val($(this).attr('placeholder')) | |
.on({ | |
'focus': function() { | |
if ($(this).val() == $(this).attr('placeholder')) $(this).val(''); | |
}, | |
'blur': function() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function( $ ){ | |
$.fn.rotateit = function( options ) { | |
// | |
// Plugin settings with defaults set | |
// | |
// ----------------------------------------------------- | |
var settings = $.extend( { | |
'shownav' : true, | |
'backnext' : false, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('html').click(function() { | |
//Hide the menus if visible | |
}); | |
$('#menucontainer').click(function(event){ | |
event.stopPropagation(); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%@ Control language="c#" AutoEventWireup="true" Explicit="True" Inherits="DotNetNuke.UI.Containers.Container" %> | |
<%@ Register TagPrefix="dnn" TagName="TITLE" Src="~/Admin/Containers/Title.ascx" %> | |
<script runat="server"> | |
protected void Page_PreRender(object sender, EventArgs e) { | |
try { | |
HtmlGenericControl cParent = (HtmlGenericControl) this.Parent; | |
cParent.Attributes["class"] += " tab"; | |
} catch (Exception ex) { | |
// do nothing | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Tabbed containers | |
// | |
// ----------------------------------------------------- | |
if ($('.tab').length > 1) { | |
var tabnav = $('<div class="tabs-nav"><ul /></div>'), | |
tabs = $('<div class="tabs" />'), | |
tabobject = $('<div class="tabbed-content span9" />'), | |
activefound = false, | |
tabwidth = 100 / $('.tab').length; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<configuration> | |
<system.webServer> | |
<staticContent> | |
<clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="14.00:00:00" /> | |
</staticContent> | |
</system.webServer> | |
</configuration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Disable reinstalling Akismet and Hello, Dolly! plugins | |
// when upgrading WordPress core | |
define( 'CORE_UPGRADE_SKIP_NEW_BUNDLED', true); | |
// Disable built-in file editor | |
define('DISALLOW_FILE_EDIT', TRUE) |