Skip to content

Instantly share code, notes, and snippets.

J. Reuben Wetherbee jrweth

View GitHub Profile
@jrweth
jrweth / pennsound-custom-css.css
Last active Dec 20, 2016
Modification of the Jplayer Jukebox to load tracks as needed and grab meta-data from media.sas
View pennsound-custom-css.css
<style type="text/css">
.jp-jukebox .jp-gui-bg {
background-color:#f3f2f4 !important;
}
.jp-app-bar, .jp-toggles {
display:none !important;
}
.faked-jp-page-btn-play, .faked-jp-page-btn-pause {
@jrweth
jrweth / GetFontSizeForCharsInSetWidth.js
Created Oct 21, 2016
Function to calculate the font-size to fit a given number of characters into a given pixel width.
View GetFontSizeForCharsInSetWidth.js
/**
* Gets the font size needed to cram a given number of Characters into a setWidth
*
* This function works by actually inserting some pixels into the page and then
* measuring the resulting element
*
* @param numChars int Number of characters you want to fit
* @param setWidthPx int Number of pixels you want the characters to fit into
* @param options {
* tagName string the tag name to place the characters in for measuring (default "div")
@jrweth
jrweth / apex-tree-state-saver.js
Created Oct 29, 2014
Script to save the state of an Oracle APEX tree
View apex-tree-state-saver.js
/*!
* apex-tree-state saver. The way to spruce up a Checkbox Item List into a Tree format in Oracle APEX.
*
* Copyright (c) 2014 J. Reuben Wetherbee
* http://jrweth.com
*
* Licensed under MIT
* http://www.opensource.org/licenses/mit-license.php
*
* Launch : October 2014
@jrweth
jrweth / apex-tree-checkbox.js
Last active Jun 28, 2017
The way to spruce up a Checkbox Item List into a Tree format in Oracle APEX.
View apex-tree-checkbox.js
/*!
* apex-tree-checkbox. The way to spruce up a Checkbox Item List into a Tree format in Oracle APEX.
*
* Copyright (c) 2014 J. Reuben Wetherbee
* http://jrweth.com
*
* Licensed under MIT
* http://www.opensource.org/licenses/mit-license.php
*
* Launch : October 2014
@jrweth
jrweth / ApexInteractiveFixedHeader.js
Created Jul 3, 2014
Oracle Apex Interactive Table fixed header javascript function for creating fixed headers
View ApexInteractiveFixedHeader.js
/**
* ApexInteractiveFixedHeader
* @author J. Reuben Wetherbee <jrweth@gmail.com>
*
*
* Modified from UltimateScrollingTable
* http://nevcal.com/eclectic/UltimateScrollingTable.html
*
* The fixed header works by making a copy of the table for the header to insure widths are consistent.
*
@jrweth
jrweth / ApexInteractiveRepeatingHeader.js
Created Jul 3, 2014
Repeated Table Header for Oracle APEX Interactive Report
View ApexInteractiveRepeatingHeader.js
/**
* ApexInteractiveRepeatedHeader
* @author J. Reuben Wetherbee <jrweth@gmail.com>
*
* Takes the header row of an Oracle Apex Interactive Report and repeats throughout the table
*
* To initiate repeated header do the following:
*
* - upload this file in the "Application->Shared Components->Static Files" section
* - in the "edit page->javascript->file Url" reference the file "#APP_IMAGES#ApexInteractiveRepeatedHeader.js"
You can’t perform that action at this time.