Loading Content Snippets


11 April, 2013   

Pull external HTML code from a file right into your webpage

jQuery example code to add image to browser cache

jQuery example to prevent Anchor Links from Loading

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.

07 September, 2017   

CSS Code for Common Unicode Icons

How to create a splash screen for slow loading apps. below shown a Delphi code example

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...

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

22 December, 2011   

MaxScript code example to load a library

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.

10 April, 2012   

Protect your web page content with JavaScript code

JavaScript Code example to protect Your Web Page Content

28 March, 2011   

When you are writing dynamic link libraries and need to control the loading and unloading of a DLL, or if you want to initialize your DLL when it is loaded, you can have a function called DllMain do your initialization. Windows calls the DllMain function of a DLL in four instances: 1) When a process attaches the DLL 2) When a thread attaches...

24 August, 2011   

When you are writing dynamic link libraries and need to control the loading and unloading of a DLL, or if you want to initialize your DLL when it is loaded, you can have a function called DllMain do your initialization. Windows calls the DllMain function of a DLL in four instances: 1) When a process attaches the DLL 2) When a thread attaches...

The Gmail Bookmarklet will add a unique string to the email signature to prevent Gmail from trimming the content.