Category: programming
-
PHP – make an array unique – remove duplicates
Code: /** * Removes duplicate keys from an array * * @param array $array * @return array */ function array_unique_key($array) { $result = array(); foreach (array_unique(array_keys($array)) as $tvalue) { $result[$tvalue] = $array[$tvalue]; } return $result; }
-
JavaScript – dynamically create IFrame overlay
URL: Create IFRAME Overlay Hide IFRAME Overlay Code: URL: Create IFRAME Overlay Hide IFRAME Overlay
-
JavaScript – Disable Button on Submit
Form Submit – disable on submit Nickname: Enable Submit Button Code: Form Submit – disable on submit Nickname: Enable Submit Button
-
Fisheye-Like Hover Pagination Links Using Pure CSS
The pagination links are history aware and zoom upon mouse over. 1 2 3 4 5 Code: 1 2 3 4 5
-
Tableless CSS – CSS Tables replacing HTML Tables
Examples of Pure CSS Tables which replace certain types of HTML Tables Tableless CSS – Example 1 This is Cell Nr. 1.1. row=1, column=1 This is Cell Nr. 1.2. row=1, column=2 This is Cell Nr. 1.3. row=1, column=3 This is Cell Nr. 2.1. row=2, column=1 This is Cell Nr. 2.2. row=2, column=2 This is Cell…
-
CSS Styles for INPUT Text and TEXTAREA Form elements
Inputtext: Textarea: This is a styled TEXTAREA ! Code: Inputtext: Textarea: This is a styled TEXTAREA !