Make sure the names of all files and folders on your website are written in lowercase
Copy the html/javascript-code below into a new page in your text editor (Notepad) - save the file as 404.htm - and upload the file to the root of your website. It's as simple as that!JavaScript > Scripts and Programs > Windows and FramesOct 12, 2006
Use this script to allow visitors to change a page style sheet on-the-fly, by clicking on a link in the page. The script works by switching the active style sheets. You can use any number of style sheets, which are automatically detected by the script. Optional alerts are included. Setup is easy and straightforward.
The Change Style Sheets On-The-Fly script set comes as a complete kit, as well as in the usual listings format. You can download the full kit (~3K)
The JavaScript Window Meta-object is a JavaScript object that adds custom functions and properties to the standard JavaScript Window object.
With this object you can exercise greater control over the display and functionality of browser windows with fewer lines of code and without worrying about cross-platform compatibility issues.
It is my hope that web designers as well as developers will have good experiences using this code in their projects. As many have before me, I've tried to write the code so that it is logical and easy to acquire.
DHTML replacement for popup windows created with window.open() JavaScript function. DHTML popup window has the following advantages over the standard popups:
It has fully customizable design.
It will not be blocked by popup blocking software.
Unlike standard popups, it will not be sent to back when you click on the main window.
Other features:
You have many options to position DHTML popup window: relative to the browser window, relative to the mouse pointer, relative to an HTML element, or you can keep its current position.
You can move and close DHTML popup window just the same way as a window in a Windows application
The Referring URL Probe can help keep visitors on your web site longer, especially if you have reached a targeted visitor. How is this possible? The Referring URL Probe control determines if a visitor has accessed one of your web pages directly, or through another site (such as a search engine).
If the control detects that the visitor has directly accessed a web page, or has come from another site, it will display a timed message that the visitor will see. Since you can customize the message, it should be something to the effect of "More can be found by clicking on the button on the top left of the page" or what you deem relevant. After the message disappears, the control places a link at the top-left of the page (the link is customizable as well).
Sometimes the simplest things are the more difficult to find.
Maybe because they are not so simple as they seem, but I think the following code is quite simple, even if I never found it on the internet.
The following javascript function will generate a popup on your screen. Hey... the web is full of javascript popuppers*. You're almost right, the point is I can control everything in my popup with one single function... and as you probably know the only scripts you can find can center a popup, or make a popup have scrollbars, or whatever... but this function does it all in a single call.
Joining mailing list will entitle you
to receive occasional emails informing you of news and
updates to the site and any special offers that may be
of interest to you.