Popular source snippets
-
» OPEN WINDOW
Category: Javascript
Visits: 15491
- Javascript open window sometimes is useful for adding a popup window to your pages. When the user clicks on a link, a new window opens and displays a page. There are some available optional parameters which...
-
» STRING PAD
Category: Javascript
Visits: 5782
- This functions returns the input string padded on the left, the right, or both sides to the specified padding length. If the optional argument "pad" is not supplied, the input is padded with...
-
» COOKIES
Category: Javascript
Visits: 5591
- Here you will find an object with methods to save, read and erase cookies. Using these methods you can manipulate cookies on your site. Cookies provide a means for a Web server to induce a client to store...
-
» STRING REPLACE
Category: ActionScript
Visits: 5469
- Search and replace is a very useful thing to have. Actionscript dosent have a built-in function for this purpose. This is very simple function which can do the above thing.
-
» DYNAMIC FAVICON
Category: Javascript
Visits: 4988
- Here, you will learn a method how to change page favicon dynamically while the page is already loaded. This method is supported by FF 1.0+ and OP 8.0+ no exploder though :(
-
» FILE HANDLING WITH PYTHON
Category: Python
Visits: 4602
- This snippet takes a look at Python file handling. Different ways to write and read text files, zipped files and memory streams. Investigates how to access only part of a file. Also explores the...
-
» MD5
Category: ActionScript
Visits: 4447
- MD5 (Message-Digest algorithm 5) is a widely-used cryptographic hash function with a 128-bit hash value. MD5 has been employed in a wide variety of security applications, and is also commonly used to check...
-
» IN_ARRAY()
Category: Javascript
Visits: 3690
- The same function as in_array() in PHP. Checks if a value exists in an array.
-
» UNSELECTABLE TEXT
Category: Javascript
Visits: 3566
- How to make text in an html page unselectable for the visitors? I don't know for what reasons you may need this, but here is the code you want, read below.
-
» DATAGRIDVIEW WITH ROW NUMBERS
Category: C#
Visits: 3128
- Implementation of the System.Windows.Forms.DataGridView that shows automatically formatted and sized row numbers in the row header.