Element Functions Snippets


Javascript append function "DOM Append Text and Element Functions"

22 August, 2011   

Here shown how to define a Custom Selector

How to calculate distance between Mouse and Element

27 August, 2011   

The <noscript> tag is used to provide an alternate content for users that have disabled scripts in their browser or have a browser that doesn’t support client-side scripting. The noscript element can contain all the elements that you can find inside the body element of a normal HTML page. The content inside the noscript element will...

02 July, 2012   

:first and :last (take the first element or the last element)

17 October, 2011   

Copying Folders With All Contents Including Other Folders. VB.net 2010 does not have a built in code to copy full folders with their contents but only files(one by one)!!! But you can do it by this code

22 August, 2011   

Here shown how to center an element on screen

13 February, 2011   

Check for Empty Elements

01 February, 2011   

Associative Array Syntax

30 March, 2011   

Need to unzip a file? this function can do that for you. It is reccomended that the functions.php file and the file that exicutes the unzip function are NOT in the same directory as the zip files. unzip ( string $zipfile , string $newLocation ) zipfile gets the name of the current zip file. newLocation is where you want to store all the...

24 April, 2012   

Example shown here how to Reuse Your Element Searches

10 November, 2014   

Easy way to parses RSS into an array

28 October, 2014   

Quick and simple example to parses RSS into an array

This example code showing how to use PHP Functions to clean User Input

In Delphi, procedural types (method pointers) allow you to treat procedures and functions as values that can be assigned to variables or passed to other procedures and functions. Here's how to call a function (or procedure) as a parameter of another function (or procedure) : Declare the function (or procedure) that will be used as a...

04 May, 2011   

Need to people out if they have been inactive for too long? Do it with this piece of code. Introduction ----------------------- This takes 3 functions to complete the inactive session task. 1. We need to check if the person is actually logged in using our isLogged function 2. We need the function to check the time the page loaded, and when...

PL/SQL functions returns a scalar value and PL/SQL procedures return nothing. Both can take zero or more number of parameters as input or output. The special feature about PL/SQL is that a procedure/function argument can be of input (indicating the argument is read-only), output (indicating the argument is write-only) or both (both readable and...

22 January, 2011   

This will work in any browser on any element, to support styling changes on hover.

03 April, 2014   

JavaScript functions to add, fetch or delete browser's cookies

03 November, 2011   

Here are some simple examples of using the functions with your variables. Run these from any ".asp" page and watch what happens