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
/* Z-Index of #mask must be lower than #boxes .window */ | |
#mask{ | |
position:absolute; | |
z-index:9000; | |
background-color:#000; | |
display:none; | |
} | |
#boxes .window{/* Setup all the defaults for the Modal Window */ | |
position:absolute; |
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
<cffunction name="dspNestedNav" output="false" returntype="string"> | |
<cfargument name="contentid" type="string" > | |
<cfargument name="viewDepth" type="numeric" required="true" default="1"> | |
<cfargument name="currDepth" type="numeric" required="true" default="1"> | |
<cfargument name="type" type="string" default="default"> | |
<cfargument name="today" type="date" default="#now()#"> | |
<cfargument name="class" type="string" default=""> | |
<cfargument name="querystring" type="string" default=""> | |
<cfargument name="sortBy" type="string" default="orderno"> | |
<cfargument name="sortDirection" type="string" default="asc"> |
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
Gist has been moved into Mura plugin at http://github.com/davidlong03/more-dspobjects. | |
<cfif $.content('Type') EQ 'calendar'> | |
<cfsilent> | |
<cfscript> | |
if(structKeyExists(URL,'month'))cMonth = URL.month; | |
else cMonth = month(now()); | |
if(structKeyExists(URL,'year'))cYear = URL.year; | |
else cYear = year(now()); | |
</cfscript> |
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
Gist has been moved into Mura plugin at http://github.com/davidlong03/more-dspobjects. | |
<cfoutput> | |
<form name="selectDate" method="post" action="?display=search"> | |
<input type="hidden" name="searchSectionID" value="#$.content('contentid')#" /> | |
<input type="hidden" name="display" value="search" /> | |
<input type="hidden" name="newSearch" value="true" /> | |
<input type="hidden" name="noCache" value="1" /> | |
<fieldset> | |
<legend>Search in #$.content('menutitle')#</legend> |
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
.popupBubble{ | |
position:relative; | |
display:inline; | |
} | |
.popupBubble .popup{ | |
position:absolute; | |
display:none; | |
border:1px solid #AAA; | |
background:#FFF; | |
padding:5px; |
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
<cffunction name="renderFileSize" access="public" output="false" hint="Returns file size in either b, kb, mb, gb, or tb"> | |
<cfargument name="size" type="numeric" required="true" hint="File size to be rendered" /> | |
<cfargument name="type" type="string" required="true" default="bytes" /> | |
<cfscript> | |
local.newsize = ARGUMENTS.size; | |
local.filetype = ARGUMENTS.type; | |
do{ | |
local.newsize = (local.newsize / 1024); | |
if(local.filetype IS 'bytes')local.filetype = 'KB'; |
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
<cfset foo = arrayNew(1)> | |
<cfset foo[1] = 'bar' /> | |
<cfset foo[2][1] = 'bar2' /> | |
<cfdump var="#foo#" /> | |
<cfset bar = arrayNew() /> | |
<cfset bar[1][1] = 'foo' /> | |
<cfset bar[2][2] = 'foo2' /> | |
<cfdump var="#bar#" /> |
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
var sys = require("sys"), | |
http = require("http"), | |
url = require("url"), | |
path = require("path"), | |
fs = require("fs"); | |
//Create the server wrapper | |
http.createServer(function(request, response) { | |
var uri = url.parse(request.url).pathname; | |
console.log('URI: ' + uri); |
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
/* Primary Nav ================================ */ | |
div#nav-wrapper{ | |
background: url(../images/nav-bkg.png) repeat-x; | |
width: 100%; | |
height: 40px; | |
float: left; | |
} | |
#navPrimary{ | |
height: 40px; | |
padding: 0; |
OlderNewer