Load Content Snippets


05 December, 2016   

Stop IE Page Load Flicker Html code Snippet by Chris Coyier

11 April, 2013   

Pull external HTML code from a file right into your webpage

Two simple functions to read an write tab seperated files (like CSV files, etc).

19 May, 2012   

Example code to load CSV back into mySQL

07 September, 2017   

CSS Code for Common Unicode Icons

01 July, 2015   

Loads and saves a compressed dump of an array

18 November, 2015   

Bind onload function to the iFrame and set the size of the iFrame to the iFrames loaded content. In the example jQuery is used.

13 December, 2015   

Bind onload function to the iFrame and set the size of the iFrame to the iFrames loaded content. In the example jQuery is used.

18 March, 2015   

Example shows how to load a text file

Basic XHTML 1.0 layout which includes basic layout structure and is prepared for jQuery. On load a 'js' class is added to the root element in order to nicely handle graceful degradation if JS is disabled and prevent flickering if JS is enabled.

Make a MySQL Database called "db" with a table named "variables" with three rows ("id", "title", and "content"). Insert your data. Then call the page by going variables.php?id=1 etc.

If a string is contained in another string and you need to search for it, this is a very clever way to do it:

07 March, 2011   

Shows how to create a simple file download by using PHP. The content could also be dynamically generated)

09 March, 2011   

Default XHTML start code for designing a layout or template for your website. Great for working on several clients/projects and do not want to retype this code over and over again.

13 August, 2011   

Although there really isn't any foolproof way to protect your web page content, this JavaScript will discourage the more novice Internet users from copying your content. An alert box will appear displaying your copyright information when the right mouse button is clicked. However, this script will not completely protect your content from more...

27 August, 2012   

HTML code for Top & Bottom Halves Layout

An example of Strict Textmate Template

30 April, 2011   

This allows you to redirect the page using meta tag. Setting content to 0 for immediate redirect.

30 August, 2011   

This snippet to show how to use the Last-Modified and the ETag header to optimize the caching of a website. If used correctly this will speed up your page loads.

Example shown here how to preload the images with jquery in WordPress.