16 projects tagged "BSD Original"
Phone Spell is a PHP class which can find words which can be used to spell a phone number. It takes a given phone number and tries to find existing words with letters equivalent to the phone number digits. It uses the pspell extension to look up words, but can also use a custom dictionary to find the equivalent words.
Light source is an object which can apply a shadow to page elements based on the position of a light. It takes the identifier of a page element and changes its CSS atttributes which define shadow parameters depending on the position of a light source relative to the target element and its children elements. The shadow can be generated either with the shape of the text elements or the whole box of the target element.
Word Solver generates words or anagrams from specified rules. It can take a string which defines rules for the words to be generated, like the allowed letters, the position of certain letters, letters which should be used together, or the whole characters which may be used. It returns one or more generated words in an array.
Texpand expands textarea input as the user types the text. It listens to the events triggered when the user types or delete text in a textarea input. The object can adjust the dimensions of the textarea input to make the text fit in the visible area of the input. The minimum or maximum width and height of the textarea input are configurable parameters.
Tmatrix manipulates matrices to transform Web page elements. It can create a matrix which defines transformation parameters to apply to a page element and recalculates the matrix values by applying different transformation operations like scaling, rotating, and skewing. The object can also apply absolute or relative transformations to specific elements like canvas, and return transformation values to use in CSS definitions.
Image Selector previews images defined in select input options. It can take as a parameter the identifier of a form select input element which has options set to the URLs of images to be picked by the user. The object can display the currently-selected image inside a preview page element. The object can also change the currently-selected image to move to the next, previous, first, last, or to any of the images in the list.
Image Font can render images with text, using graphics as fonts. It takes a text string and creates an image on which the characters of the string are displayed using separate image files to render each character. The text may be aligned to the left, right, or center, or be justified. The image width may be limited so the text is wrapped if it exceeds the width limit. The character graphics may be mapped to image files with the same base name in a given directory. Alternatively, an array may be passed to define the paths of the character image files. The generated image may be saved to a file or displayed as the current script output in any of the formats supported by the PHP GD image extension.
CSS fix is a class that can replace CSS properties with properties with browser-specific names. It can parse a CSS definition and find CSS properties that are not yet well supported by all browsers. The class can add browser-specific properties that are equivalent to the found properties. It also applies other fixes for different CSS browser-specific definitions..
Lightning effect JS is an object that can draw a random lightning bolt on the page. It can create a canvas on which a glowing random line similar to lightning bolt is drawn within given page boundaries. The position, color, and thickness of the lightning bolt are configurable parameters.
Gestures is an object that can recognize user gestures that form configurable shapes. It can listen to events of the user moving the mouse forming known gesture shapes. The object can recognize custom gesture shapes defined by a list of vertex points of the shape. A given callback function is invoked when the object recognizes a known user gesture shape. The object can also draw the gesture shape as the user moves the mouse.
A Swing component for displaying PDF documents in applets or applications.
A Java framework for building modular, cross-platform applications.