Monday, October 30, 2006
Monday, August 28, 2006
Redirects
Webpage/Web site Redirects
Optimally you should always do this on the server side with a 403 Redirect. As a resort, and for certain other usages you can use an HTML redirect. Below are a few examples:
Optimally you should always do this on the server side with a 403 Redirect. As a resort, and for certain other usages you can use an HTML redirect. Below are a few examples:
HTML Method:
<meta equiv="Refresh" content="0; URL=http://www.website.com/html-redirect.html">
ASP Method:
<% Response.Redirect "http://www.w3schools.com" %>
PHP Method:
<?php
header( 'Location: http://www.yoursite.com/new_page.html' ) ;
?>
CSS Property Index: Scrollbars
CSS Property Index: Scrollbars
scrollbar-face-color
scrollbar-arrow-color
scrollbar-base-color
scrollbar-shadow-color
scrollbar-darkshadow-color
scrollbar-highlight-color
scrollbar-3dlight-color
scrollbar-track-color
scrollbar-face-color
scrollbar-arrow-color
scrollbar-base-color
scrollbar-shadow-color
scrollbar-darkshadow-color
scrollbar-highlight-color
scrollbar-3dlight-color
scrollbar-track-color
Wednesday, August 23, 2006
Passclicks
Passclicks
Passclicks is a new way to login to websites without users having to remember thir old style textual password. Studies have revealed that humans are way better in remembering visual things than textual things. With passclicks your normal textual passwords are replaced with a sequence of clicks on an image.
Passclicks is a new way to login to websites without users having to remember thir old style textual password. Studies have revealed that humans are way better in remembering visual things than textual things. With passclicks your normal textual passwords are replaced with a sequence of clicks on an image.
Tuesday, August 22, 2006
Print Page From a Link
Sometimes it is handy to have a page that you can use to print a hard copy of. Forms or instruction pages are a good example. To create a link to print the page you can use the following:
<a onClick="window.print();">Print This Page</a>
If you need to format the page, remove graphics etc to fit better into a printed document you can use a print CSS method described here.
<a onClick="window.print();">Print This Page</a>
If you need to format the page, remove graphics etc to fit better into a printed document you can use a print CSS method described here.
Wednesday, August 16, 2006
Comment Form with Image Verification
In an effort to make our web forms more secure and prevent spam we have developed a PHP based comment form with image verification. It was designed to make it very easy to use, and no need to modify any cgi files! You can have as many form fields as you like.
There are some instructions that you will need to follow.
>>Download the files<<
1) The page must be saved as .php, but you can name it whatever you like.
2) Include all files in the same directory as the .php page. (sample.php not required)
3) Include the <?php .... ?> section at line 1 of the file
4) Change the To, From Name, and From Email to the correct information
5) The submit button must be named 'submit'
6) The verification textbox name must be named 'txtNumber' and be accompanied by <img src="randomimg.php"> (image size is 85x40)
7) Form action must call the same page (itself) and be set to POST
8) Copy the <?php .... ?> sections at the bottom of the sample.php file and paste under the </form> tag
Optional settings:
To have the page redirected, remove the # and change the redirect URL
To have cc emails add to the php code: $cc='stevet@sesamecommunications.com';
There are some instructions that you will need to follow.
>>Download the files<<
1) The page must be saved as .php, but you can name it whatever you like.
2) Include all files in the same directory as the .php page. (sample.php not required)
3) Include the <?php .... ?> section at line 1 of the file
4) Change the To, From Name, and From Email to the correct information
5) The submit button must be named 'submit'
6) The verification textbox name must be named 'txtNumber' and be accompanied by <img src="randomimg.php"> (image size is 85x40)
7) Form action must call the same page (itself) and be set to POST
8) Copy the <?php .... ?> sections at the bottom of the sample.php file and paste under the </form> tag
Optional settings:
To have the page redirected, remove the # and change the redirect URL
To have cc emails add to the php code: $cc='stevet@sesamecommunications.com';
Friday, August 11, 2006
Printable Pages with CSS
Want to let people print out a web page? Try using the @media function in a CSS file. This will allow you to modify the layout of your page and remove the images when the page is printed.
Here is a sample CSS file with the screen display and print formatting.
Simply use these containers to define the output mode:
@media screen {
@media print {
}
Here is a sample CSS file with the screen display and print formatting.
Simply use these containers to define the output mode:
@media screen {
@media print {
}