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
<!DOCTYPE html> | |
<html lang="en-US"> | |
<head> | |
<meta charset="windows-1252"> | |
<title>Experiment into client-side value storage</title> | |
<script type="text/javascript"> | |
// Does your browser support localstorage? | |
if(typeof(Storage)=="undefined") | |
{ |
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
<!DOCTYPE html> | |
<html lang="en-US"> | |
<head> | |
<meta charset="windows-1252"> | |
<title>Keep webform data persistent</title> | |
<!-- jQuery CDN --> | |
<script src="http://code.jquery.com/jquery-latest.js"></script> | |
<style type="text/css"> | |
/*Float the form labels to the left and allow them 40% of the width of the form*/ |
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
<!DOCTYPE html> | |
<html lang="en-US"> | |
<head> | |
<title>How to display RSS via JavaScript</title> | |
<!-- jQuery CDN --> | |
<script src="http://code.jquery.com/jquery-latest.js"></script> | |
</head> | |
<body> | |
<script type="text/javascript"> |
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
<!--- How many pages should you link to at any one time? ---> | |
<cfset intPagesToLinkTo = 5> | |
<!--- How many items are you displaying per page? ---> | |
<cfset intItemsPerPage = 10> | |
<!--- How many items do you need to display, across all pages. ---> | |
<cfset intNumberOfTotalItems = 100> | |
<!--- What is the current page you are on? ---> | |
<cfif isdefined("url.page")> | |
<cfset intCurrentPage = val(url.page)> | |
<cfelse> |
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> | |
<head> | |
<title>What type of device am I using?</title> | |
</head> | |
<body> | |
<!-- Show the window width --> | |
<div id="WinWidth"></div> | |
<!-- Show the window height --> | |
<div id="WinHeight"></div> | |
<!-- Show the device type --> |
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
<cfsilent> | |
<cfif isDefined("url.language")> | |
<cfquery name="VocabQuery" datasource="erp"> | |
select vcName as name, | |
vcValue as value, | |
vcLanguage as language | |
from tblVocab | |
where vcLanguage = <cfqueryparam cfsqltype="cf_sql_varchar" value="#url.language#"> | |
</cfquery> | |
<cfset variables.vocabulary = StructNew()> |
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
<!-- | |
Joe Steinbring | |
http://steinbring.net | |
11/10/2013 | |
--> | |
<html> | |
<head> | |
<title>Decimal to Binary Converter</title> | |
</head> | |
<body> |
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
<form method="post" enctype="multipart/form-data"> | |
<input name="theFile" type="file"> | |
<input name="submitButton" name="submit" type="submit" value="Upload"> | |
</form> | |
<cfif isDefined("form.theFile")> | |
<!--- Is there a file? Upload it to the files folder. ---> | |
<cffile action="upload" | |
filefield="theFile" | |
accept="application/vnd.openxmlformats-officedocument.wordprocessingml.document" |
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
<!DOCTYPE html> | |
<html lang="en-US"> | |
<head> | |
<title>Pocket Joe</title> | |
<!-- jQuery CDN --> | |
<script src="http://code.jquery.com/jquery-1.9.1.js"></script> | |
<!-- jQuery UI CDN --> | |
<script src="http://code.jquery.com/ui/1.10.4/jquery-ui.js"></script> | |
<!-- A jQuery UI CSS --> | |
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Pocket Joe</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<link rel="stylesheet" href="css/jquery.mobile-1.4.0.min.css"> | |
<link rel="stylesheet" href="css/main.css"> | |
<script src="js/jquery.js"></script> | |
<script src="js/jquery.mobile-1.4.0.min.js"></script> |
OlderNewer