Word Count (jQuery/Javascript)jQuery/Javascript function which trims the surrounding spaces (if any) and then counts words in a string which are separated by only one space.
Wednesday, January 11, 2012 | Browse Category | 9 Views, 0 Commentsstrstr() [jQuery/Javascript]jQuery/Javascript equivalent to PHP's "strstr()" function. Displays part of the string starting from the first occurence of its needle, and/or displays the part of the string before the first needle.
Wednesday, January 11, 2012 | Browse Category | 20 Views, 0 CommentsString Padding (jQuery/Javascript)jQuery/Javascript equivalent to PHP's "str_pad()" function in which a string pads another on the left, right, or on both sides.
Wednesday, January 11, 2012 | Browse Category | 15 Views, 0 CommentsNumber Format (jQuery/Javascript)Converts digits into a formatted number that contains a point after every digits and its opposite puncuation as the decimal point.
Wednesday, January 11, 2012 | Browse Category | 12 Views, 0 CommentsRandom Number from Range (jQuery/Javascript)Selects a random number (a-b) using jQuery/Javascript.
Wednesday, January 11, 2012 | Browse Category | 18 Views, 0 CommentsSort Array Backwards (jQuery/JS)Sorts arrays alphabetcally and numerically in reverse using jQuery/Javascript.
Wednesday, January 11, 2012 | Browse Category | 9 Views, 0 CommentsAlternate Text Colors (jQuery/JS)jQuery/Javascript function that alternates between two font colors.
Wednesday, January 11, 2012 | Browse Category | 9 Views, 0 CommentsConvert Textarea Line Breaks in HTML (jQuery/JS)Breaks lines in HTML as text does in the <textarea> tag.
Wednesday, January 11, 2012 | Browse Category | 17 Views, 0 CommentsFont Increase/Decrease Button (CSS/jQuery)Includes two buttons, both of which increase and decrease the font size of the main text.
Wednesday, January 11, 2012 | Browse Category | 13 Views, 0 CommentsStrip Tags (jQuery/Javascript)Strips HTML tags like PHP's "strip_tags()" function.
Wednesday, January 11, 2012 | Browse Category | 11 Views, 0 CommentsPassword Strength Meter (CSS/jQuery/JS)Measures the strength of the input password using jQuery/Javascript.
Wednesday, January 11, 2012 | Browse Category | 11 Views, 0 CommentsShuffle String (jQuery/Javascript)Shuffles the order of letters of a string using jQuery/Javascript.
Wednesday, January 11, 2012 | Browse Category | 14 Views, 0 CommentsRoman/Arabic Numeral Converter (PHP/jQuery/JS)Converts a number to its Roman Numeral and vice versa, using both PHP & Javascript.
Thursday, December 1, 2011 | Browse Category | 128 Views, 1 CommentMost Searched Terms (PHP)Displays the most searched terms using PHP. Splits every word of the query and checks if any of them matche any keywords in the database; if so each term is counted as one.
Thursday, December 1, 2011 | Browse Category | 83 Views, 0 CommentsCount Online UsersCount the number of logged in users using PHP/MySQL.
Thursday, December 1, 2011 | Browse Category | 80 Views, 0 CommentsLike/Dislike Button (PHP/Ajax/jQuery)A system in which users can rate content. Uses PHP to store the rating, Ajax to rate without refreshing the page, and jQuery for the Ajax callback function.
Thursday, December 1, 2011 | Browse Category | 333 Views, 1 CommentRewrite Username URL (.htaccess)Rewrites URL from 'http://example.com/profile.php?user=wcet2011' to 'http://example.com/wcet2011' using the .htaccess file.
Thursday, December 1, 2011 | Browse Category | 72 Views, 0 CommentsDownload File (PHP)Downloads a file from the server to local hard drive using PHP.
Thursday, December 1, 2011 | Browse Category | 68 Views, 0 CommentsLoad More Posts onScroll (PHP/Ajax/jQuery)Loads one page of older content when at the window scrollbar is at the bottom of its track.
Thursday, December 1, 2011 | Browse Category | 150 Views, 0 CommentsShow Content w/ Input Radio (CSS/jQuery/JS)Shows content that goes with its "input radio" element using CSS & jQuery. Ex: When input#i1 is selected, it shows div#d1, looks at the common denominator, '1,' for comparison.
Thursday, December 1, 2011 | Browse Category | 74 Views, 0 CommentsPrint Window (Javascript)Prints the current web page using Javascript.
Thursday, December 1, 2011 | Browse Category | 75 Views, 0 CommentsLive Timestamp (jQuery)Gets the current timestamp every second using jQuery.
Thursday, December 1, 2011 | Browse Category | 107 Views, 0 CommentsHover Element, Show Another (CSS/jQuery/JS)Shows hidden content above its main content using CSS and the "onMouseOver" Javascript event.
Thursday, December 1, 2011 | Browse Category | 66 Views, 0 CommentsDetect URL in String (PHP/jQuery/JS)'For loop' function that searches a string for link patterns. If any, they will be inserted into an 'a' tag.
Wednesday, November 30, 2011 | Browse Category | 75 Views, 0 CommentsEmail Validator (PHP/jQuery/JS)Checks if email is valid using both PHP and Javascript functions.
Friday, November 11, 2011 | Browse Category | 85 Views, 0 CommentsPassword Alphanumeric Check (PHP/jQuery/JavascriptGets the current timestamp every second using jQuery.
Friday, November 11, 2011 | Browse Category | 124 Views, 0 CommentsUser Agent (PHP/Javascript)Gets the current timestamp every second using jQuery.
Friday, November 11, 2011 | Browse Category | 94 Views, 0 CommentsUpload (Image) File (PHP)Uses simple PHP and cURL to upload a local file to the specified web server via FTP.
Friday, November 11, 2011 | Browse Category | 110 Views, 0 CommentsDivision with Remainder (PHP/jQuery/Javascript)Puts the division and remainder operators together in both PHP and Javascript.
Friday, November 11, 2011 | Browse Category | 101 Views, 0 CommentsLive Validation (PHP/Ajax/jQuery)Checks each input value for errors. If any, they will be displayed next to the input. Includes username, email, password, and password confirmation.
Friday, November 11, 2011 | Browse Category | 139 Views, 0 CommentsLast Login (PHP/Ajax/jQuery)Displays the user's previous login date during the current session. Writes the current date and time as a session upon login and when user logs off, that session is stored in the user's column in database as "last login," which will be displayed in the next session, and so forth.
Friday, November 11, 2011 | Browse Category | 100 Views, 0 CommentsSelect Day of the Year (PHP/jQuery/JS) Gets the current timestamp every second using jQuery.
Friday, November 11, 2011 | Browse Category | 106 Views, 0 CommentsHover Table Rows, Show Options (PHP/jQuery/JS)Shows hidden elements of a table row onMouseover and hides them again onMouseOut.
Friday, November 11, 2011 | Browse Category | 110 Views, 0 CommentsLetter FadeOut (jQuery)Javascript function that makes an element for each character of a string, which all fade out. Fades out from the beginning of string or from the end.
Friday, November 11, 2011 | Browse Category | 88 Views, 0 CommentsNews Ticker (jQuery)Flashes multiple strings from an array like a news ticker.
Friday, November 11, 2011 | Browse Category | 129 Views, 0 CommentsDynamic Pages (jQuery/JS)Javacript function that hides all elements of a class, but when an ID of that class is in present in the address bar, the corresponding content is displayed.
Thursday, November 10, 2011 | Browse Category | 75 Views, 0 CommentsCount Views of a MySQL Row (PHP)Counts each visit of dynamic page as a "view" by retrieving the current number of views from its MySQL database and incrementing it by one.
Tuesday, November 1, 2011 | Browse Category | 161 Views, 0 CommentsReverse String (jQuery/JS)A Javascript/jQuery function allowing a string to be shown in reverse.
Saturday, October 1, 2011 | Browse Category | 214 Views, 0 CommentsCAPTCHACAPTCHA function which features a 'random string' image function in PHP, a 'refresher' button in Javascript/jQuery, and an Ajax that check if the text and image text match.
Saturday, October 1, 2011 | Browse Category | 127 Views, 0 CommentsCreate an Image with InfoCreates an image file with a string and an image URL using several PHP functions.
Saturday, October 1, 2011 | Browse Category | 188 Views, 1 CommentWord Wrap (jQuery/JS)A Javascript/jQuery equivalent to PHP's 'word_wrap' function which here allows a line to break for every 20 characters using in a 'for loop.'
Saturday, October 1, 2011 | Browse Category | 194 Views, 0 CommentsRepeat String (jQuery/JS)A Javascript/jQuery equivalent of the PHP 'str_repeat' function operated by a 'for loop.'
Saturday, October 1, 2011 | Browse Category | 167 Views, 0 CommentsLogin (PHP/Ajax/jQuery)Check for correct username and password on the spot by having users log in with Ajax/jQuery.
Saturday, October 1, 2011 | Browse Category | 102 Views, 0 CommentsRange (jQuery/JS)A Javascript/jQuery equivalent to PHP's 'range' function. using a 'for loop.'
Saturday, October 1, 2011 | Browse Category | 135 Views, 0 CommentsChange Button Color (Hold "Enter")OnKeyDown the button changes color and onKeyUp it reverts back.
Saturday, October 1, 2011 | Browse Category | 139 Views, 0 CommentsTimes Tables (PHP/JS)PHP function which display a 12*12 times table and a Javscript function which enables users to insert two numbers to display one.
Saturday, October 1, 2011 | Browse Category | 106 Views, 0 CommentsSimple Calculator (jQuery/JS)A Javascript/jQuery function which allow live calculating using the OnKeyUp event.
Saturday, October 1, 2011 | Browse Category | 157 Views, 0 CommentsWatermark (PHP)PHP function creating a watermarked image by superimposing a small image on top of a larger one on the bottom right hand corner.
Saturday, October 1, 2011 | Browse Category | 125 Views, 0 CommentsAlternate Table BG Colors (PHP/jQuery/JS)PHP & jQuery/Javascript function which alternate two background colors for user comments by assigning even and odd numbers which corresponds with their assigned colors.
Wednesday, September 21, 2011 | Browse Category | 125 Views, 0 CommentsHighlight Directly After Post (PHP/Ajax/jQuery)After a user submits a comment, the background color of the post will highlight and then fade in 2.5 seconds.
Wednesday, September 21, 2011 | Browse Category | 191 Views, 0 CommentsImplode/Explode (jQuery/Javascript)A jQuery/Javascript function which shows characters added between words of string (implode) and which also shows a string divided by a certain character (explode). Similar to the implode/explode function in PHP.
Sunday, September 18, 2011 | Browse Category | 180 Views, 1 CommentCapitalize Words (jQuery/Javascript)Capitalizes every word in a string with jQuery/Javascript, similar to PHP's 'ucwords()'.
Sunday, September 18, 2011 | Browse Category | 138 Views, 0 CommentsIn Array (jQuery/Javascript)Need to test if a value is in an array? Here's a Javascript alternative. No need for an extra jQuery plug-in, however jQuery is a shortcut for labeling the elements.
Tuesday, August 23, 2011 | Browse Category | 118 Views, 0 CommentsShow More/Less ButtonGets the current timestamp every second using jQuery.
Monday, August 15, 2011 | Browse Category | 172 Views, 0 CommentsRandom Image (PHP)Displays a random image on every page load.
Monday, August 15, 2011 | Browse Category | 190 Views, 0 CommentsRandom String (PHP/jQuery/JS) The 'for loop' displays a random character for the length of the random string, in both PHP and Javascript.
Monday, August 15, 2011 | Browse Category | 246 Views, 2 CommentsShuffle List (PHP)Shuffle a list of any kind: number, letter, images, etc. with the PHP 'Shuffle' and 'for loop' functions.
Monday, August 15, 2011 | Browse Category | 191 Views, 0 CommentsTextarea TricksIncludes removing the browser default focus outline for a custom box shadow. Also includes removing the resize feature, or just limiting it to either vertical or horizontal.
Monday, August 15, 2011 | Browse Category | 185 Views, 0 CommentsSet Cookies in jQuerySet cookies in jQuery with an essential plug-in.
Monday, August 15, 2011 | Browse Category | 218 Views, 0 CommentsSubstring Count (jQuery/Javascript)Can't find a 'Substring Count' in Javascript like you can in PHP? This function has the substring looping through the full string finding any matches and then displays how many matches there are in another element.
Monday, August 15, 2011 | Browse Category | 231 Views, 0 CommentsBar of StatisticsScales statistics of each item by percentage which are proportional to the size of the bar.
Friday, August 19, 2011 | Browse Category | 145 Views, 0 CommentsMax Characters (jQuery)Gets the current timestamp every second using jQuery.
Wednesday, August 3, 2011 | Browse Category | 166 Views, 1 CommentScroll to Top (or other element) [jQuery]When users click on an element, the page scrolls to the top of the page or any other element of page, up or down.
Wednesday, August 3, 2011 | Browse Category | 196 Views, 0 CommentsAuto-Focus Next Input (jQuery)After typing something like the area code of a phone number, the focus automatically goes to the next field for the next three digits.
Wednesday, August 3, 2011 | Browse Category | 175 Views, 0 CommentsFill Input with "Search" (jQuery)When the input field is empty or filled with spaces, on blur it displays a placeholder until it's no longer empty.
Wednesday, August 3, 2011 | Browse Category | 103 Views, 0 CommentsWebkit Custom ScrollbarCreate your own stylish scrollbar for any element or for the entire body.
Monday, August 1, 2011 | Browse Category | 207 Views, 0 CommentsLive Date & Time (jQuery)Display the current date and time by the second in a hidden input element for posting.
Monday, August 1, 2011 | Browse Category | 191 Views, 0 CommentsTabbed Tables (CSS/jQuery)Have similar pieces content in separate tabs.
Monday, August 1, 2011 | Browse Category | 66 Views, 0 CommentsCtrl+(Shift)+Enter (jQuery)Gets the current timestamp every second using jQuery.
Sunday, July 31, 2011 | Browse Category | 160 Views, 0 CommentsHorizontal Menu (CSS)Simple jQuery and CSS can display a fully functional horizontal menu.
Sunday, July 31, 2011 | Browse Category | 162 Views, 0 CommentsBackground PopUp (CSS/jQuery)With a press of a button, this will display a black (or whatever color), transparent background with content even include an "Escape" button which hides the background.
Sunday, July 31, 2011 | Browse Category | 208 Views, 0 CommentsImage Scale (PHP)Executes image reduction, scaling it down within its maximum dimensions.
Sunday, July 31, 2011 | Browse Category | 240 Views, 0 CommentsLoad More Button (jQuery)Instead of pagination, this code contains the "Load More" button, which loads a page of content from the bottom.
Thursday, July 28, 2011 | Browse Category | 186 Views, 0 CommentsLive Search (PHP/Ajax/jQuery)Have search results after each letter without pressing "Search." Contains simple Ajax and jQuery functionality as well PHP/MySQL.
Wednesday, July 27, 2011 | Browse Category | 273 Views, 1 CommentPagination (PHP/Ajax/jQuery)Have users browse pages of content within one page. Contains simple Ajax and jQuery functionality as well PHP/MySQL.
Saturday, July 23, 2011 | Browse Category | 138 Views, 1 CommentCheck/Uncheck All + Delete Messages (jQuery)Checks and/or unchecks all checkboxes in an array and deletes all selected records with a press of a button.
Friday, July 22, 2011 | Browse Category | 218 Views, 1 Comment