WebDev

Resize a div layer with javascript

Resize a div layer with javascript

Formula and example included.

 

 

Read more…

Moving a div layer with javascript

Moving a div layer with javascript

Formula and example included.

 

 

Read more…

IE and PHP sessions

IE and PHP sessions

I ran into a strange encounter after testing out a session based login system through an IE browser. I had been working mostly with it in other browsers, mainly Firefox where it was working fine.

Read more…

Wordpress 2.8.6 Spell Check Languages

Wordpress 2.8.6 Spell Check Languages

When trying to add norwegian as the default language for one of my wordpress sites, I had problems finding documentation for where the language list actually is located. Tracking it down myself become a long task as well. Here is how you can edit the languages for your wordpress system.

Read more…

String encryption in PHP

String encryption in PHP

I’ve been working on 2 PHP functions that can be used to encrypt and decrypt alphanumeric strings between web pages. This is used for e.g. Captcha codes that you can generate yourself and encrypt / decrypt with these functions.

Read more…

Alphanumeric Captcha values in PHP

Alphanumeric Captcha values in PHP

In my former post I wrote about making Captcha solutions without the need for database storage. I wrote an example exclusively based on pure numeric values. I’d like to illustrate how you could create alphanumeric Captcha values instead of numeric ones, as this might be of interest for someone who would like a more fully fledged solution.

Read more…

Your own numeric Captcha in PHP

Your own numeric Captcha in PHP

The purpose with a Captcha user control is to give the user a challenge that a computer normally can’t resolve. In most cases this means an image with random letters and numbers on it. This is rather easy to set up without any need for a database, that many use as a solution to handle the encrypted messaging that has to happen between part1 and part2 in a Captcha utility.

Read more…

DHTML Flyout Menus

DHTML Flyout Menus

A script I made ages ago for all my DHTML flyout menu needs. It utilizes csshover.htc which you can read more about here. Easy to implement on any web site and useful as an example on how to use the csshover.htc to create your own dynamic HTML menus.

Read more…

Disabling WordPress Post Revisions

Disabling WordPress Post Revisions

WordPress 2.8 has what I would call a nasty default habit of saving way too many drafts / revisions during post editing. Read more…

IE7 and onclick events

IE7 and onclick events

The onclick event is getting more used than ever before these days as AJAX is becoming increasingly used for interactive web site functions. But there is a problem sometimes when using it with IE7.

An onclick event will work perfectly in Firefox, but when you try in Internet Explorer 7 (and maybe 6) it will seemingly bug out without any error or warnings at all.

Read more…