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
<cfscript> | |
emojis = [ | |
{ | |
name: "Grinning Face", | |
hex: "1F600" | |
}, | |
{ | |
name: "Heart", | |
hex: "2764 FE0F" |
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
<cfscript> | |
param name="url.test" type="string"; | |
requestData = getHttpRequestData(); | |
// We're going to echo-back the type of beacon data that we received. | |
response = [ | |
contentType: requestData.headers[ "Content-Type" ], | |
method: cgi.request_method, |
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"> | |
<head> | |
<meta charset="utf-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1" /> | |
<link rel="stylesheet" type="text/css" href="./main.css" /> | |
</head> | |
<body> | |
<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
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8" /> | |
<link rel="stylesheet" type="text/css" href="./main.css" /> | |
</head> | |
<body> | |
<h1> | |
Using A Transient CSS Stylesheet To Remove Scrolling On Body While Modal Is Open |
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"> | |
<head> | |
<meta charset="utf-8" /> | |
<link rel="stylesheet" type="text/css" href="./main.css" /> | |
</head> | |
<body> | |
<h1> | |
Removing A CSS Stylesheet Removes Its Affect On The 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"> | |
<head> | |
<meta charset="utf-8" /> | |
<link rel="stylesheet" type="text/css" href="./main.css" /> | |
<style type="text/css"> | |
.modal { | |
display: flex ; | |
flex-direction: column ; |
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
component | |
output = false | |
hint = "I provide game play methods for Conway's Game of Life." | |
{ | |
/** | |
* I initialize the Game of Life with the given cell keys. Each key is a composite of | |
* the "x,y" coordinate of a living cell within the infinite canvas of biodiversity. | |
*/ | |
public void function init( |
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
<cfscript> | |
frapi = createObject( "java", "com.intergral.fusionreactor.api.FRAPI" ) | |
.getInstance() | |
; | |
csp = application.contentSecurityPolicy.getCspConfig(); | |
// Set the strict Content-Security-Policy. | |
cfheader( attributeCollection = csp.header ); |
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
document.addEventListener("DOMContentLoaded", function() { | |
// Get the form element | |
const form = document.querySelector("form"); | |
// Listen for the Turbo Drive form submission event | |
form.addEventListener("turbo:submit-end", function() { | |
// Scroll the form back into view | |
form.scrollIntoView(); | |
}); | |
}); |
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
<cfmodule template="./tags/page.cfm" section="about"> | |
<cfoutput> | |
<h2> | |
About This Site | |
</h2> | |
<p> | |
Copy copy copy.... | |
</p> |