Code Bank

Code bank items

Effects

paste this into your URL:

javascript:r=0;b=.1;c=.05;d=.25;e=.24;j=1.6;f=.24;k=300;g=200;m=300;h=200;z=document.images;l=z.length;function x(){for(i=0; i-l; i++){s=z[i].style;s.position='absolute';s.left=(Math.sin(r*b+i*d+j)*k+m)+'px';s.top=(Math.cos(r*c+i*e+f)*g+h)+'px';}r++;}setInterval('x()',5);void(0);

Create an overlay button in actionscript 2.0

I needed to create a button that could be used over and over again without the need of creating layers.

This is a simple yet crude way of creating a button on the entire movie:

Network Level Authentication on Windows XP

Enabling Network Level Authentication on Windows XP Service Pack 3 for access to Server 2008 via Remote Desktop

When connecting to a Windows 2008 Server using remote desktop from a Windows XP client running service pack 2 or earlier, you get the following error message:

The remote computer requires Network Level Authentication, which your computer does not support.

To enable NLA in XP machines; first install XP SP3, then edit the registry settings on the XP client machine to allow NLA

jQuery: expand/contract divs - Part 2

Further to the first expand and contract jQuery example we decided to extend the functionality to so that we could re-use the code over and over without having to rewrite the code using a simple function wrapper:

Get your own back on spammers

The Spam Book generator will generate random addresses and other garbage when ever viewed. Written in PHP.

Get your own back on spammers, create fake contact lists:

<?
/*

Get your own back on spammers, use this light weight script to fill up spammers databases with junk

*/
$number_of_addresses	= 100;
$make_pretty			= true;
$use_names_in_email		= true;

$emailaddress_chars = "1234567890abcdefghijklmnopqrstuvwxyz";

jQuery: expand/contract divs - Part 1

We wanted to create an expand and contract item, controlled by the title of the item.

For this we used jQuery and some of the very simple commands which worked very well.

Virtual Linking Directories in Linux

You know you hate it when you need code that you do not use very often. Well this is one of those items.

Lowercase Directory Structure Recursively

We were required to lowercase all directories on a linux server, there was no easy solution so we needed to write one from scratch.

JavaScript font size adjustment

Have you ever wanted to change the size of the font within web page with just the click of a button?

Basic ASP field validation

Are you looking for an ASP function that pre-processes input values from forms?

Syndicate content