Date: [date]
Between us [company name] and you [customer name].
In short; neither of us will share any confidential information about each-other, by any means, with anyone else.
I was experimenting on custom styling the <select>
elements of a form I was building. One of the things I tried implementing was truncating the text with an ellipsis in case it extended beyond the <select>
's width. It didn't look consistent through browsers, but I've accidentally discovered something really nice.
//Validation for Sponsor in Application Edit/Show | |
function validate(){ | |
var hasSponsor = document.getElementById('hasSponsor'); //check box ID | |
if (hasSponsor.checked){ | |
sponsorUrl = document.getElementById('sponsorUrl'); //sponsor URL field ID | |
sponsorImage = document.getElementById('sponsorImage'); //sponsor Image field ID |
/** | |
* Given a source directory and a target filename, return the relative | |
* file path from source to target. | |
* @param source {String} directory path to start from for traversal | |
* @param target {String} directory path and filename to seek from source | |
* @return Relative path (e.g. "../../style.css") as {String} | |
*/ | |
function getRelativePath(source, target) { | |
var sep = (source.indexOf("/") !== -1) ? "/" : "\\", | |
targetArr = target.split(sep), |
.scrollArea { | |
-webkit-transform: translate3d(0, 0, 0); | |
-webkit-backface-visibility: hidden; | |
-webkit-perspective: 1000; | |
} |
selector: "textarea", // Select all textarea | |
selector: "textarea.editme", // Select all textarea with the class editme | |
selector : "textarea:not(.mceNoEditor)", // Select all textarea exluding the mceNoEditor class |
#home nav .home > a { | |
pointer-events: none; | |
cursor: default; | |
} |