Knebel Home
{ HTML }
Disable auto-fill in your input textboxes
Use the following when you want to disable form auto-complete, such as when you want to allow your users to enter sensitive information on a public computer
Drop-Down Boxes / Forwarding (JavaScript)
How to Create Drop-Down Boxes with onClick events: Forward to a new page
Embedding Flash Files (.swf)
In April 2006, Microsoft (Internet Explorer) was required to modify the way they handle Flash movie files. Below is the easiest way I've found: Download SWFObject from http://blog.deconcept.com/swfobject/ and copy the swfobject.js file to the pr...
Embedding WMV Files in HTML
Here's how to embed your WMV Files in HTML! There are many ways to do it, however, I've found that the following works with FireFox and IE. Since it's fairly standard HTML, I'd assume this will support many other browsers, both new and old.
Encoding ( shows up when using include or readfile)
When using the include, include_once or readfile functions in PHP, you might get strange characters, like:  To get around this, change your content-type declarations as follows:
Forward a Browser Anywhere
Moving (Redirecting) a browser is easy. Just paste the following code into your header and you´re done. HTML and Javascript Versions
Replace your plain gray submit button with a picture
Just paste the following code in the place of your submit button code:
Scrolling Marquee
Use the following HTML code (MARQUEE TAG) to easily implement scrolling of your content.
SPAN/DIV tag attributes
The following are the available attributes and events for a SPAN (or DIV) tag:
Text Box and CheckBox Properties Reference: ReadOnly
Setting Textboxes and Checkboxes to Read-Only