Index Page Snippets


Normally index.html or index.php is the default page a server serves up when visiting a directory without specifying a file name. You can change this with .htaccess:

28 January, 2012   

JavaScript Code example to choose a page and Jump

31 July, 2012   

Code example for TSQL COVERING INDEX

02 July, 2012   

:even and :odd (Select elements with an even index or odd index elements. The index starts from 0.)

29 August, 2011   

Be careful that these boxes aren't sitting within another element that has a background, otherwise the negative z-index values (required for this to work) will force the shadows underneath that and not show up.

29 March, 2015   

When creating an index, the default method Oracle uses to sort the index is in ascending order (SORT). However, if the rows are already stored in the database in ascending order you can use the NOSORT clause to skip the sorting process. If neither SORT or NOSORT is provided, Oracle will use SORT as the clause.

07 April, 2011   

Here are the code for Page Curl Shadows in CSS

Convert a coordinate (x,y) into the index for a 1D array. For example, the coordinate (3,1) would be at array index 8 if there are 5 columns. Assumption: Arrays start at 0.

22 August, 2011   

Here shown how to define a Custom Selector

07 April, 2013   

A simple example code for user login with a login form and database query

05 December, 2016   

Stop IE Page Load Flicker Html code Snippet by Chris Coyier

09 April, 2011   

On form, insert a Page Break after the first group of fields. This creates two "pages" in the form, which can be toggled using a command button on each.

Removes an item from the page, without affecting page flow or causing scrollbars. Much better than display: none; or even visibility: hidden;

Place the following code where you would like the button to appear.

If you're looking for a great way to enable your visitors to navigate your web site, this JavaScript drop down box with automatic redirect may be what you're looking for. This JavaScript code will enable your visitors to click on a drop down box to select the location on your web site in which they would like to navigate. Once they make their...

09 November, 2013   

Just like your browser's back button, the following script allows the user to press a button to returns the user to the previous page. Paste the following code where you want the button to appear on your page:

06 May, 2014   

This PHP script allows you to parse multiple feeds from different sources into separate pages using SimplePie class. A fast and efficient way to serve fresh content to your site as to provides the most up-to-date information to the readers.

26 November, 2012   

Example code for smarty Loop for x to y with no array

27 February, 2013   

An example pure CSS Tooltip

PHP & Mysql based code to Print table with client-side sorting function.