Homepage Frames off Samples 2
Samples for IE

Samples 1 Navigational tools
Style sheets
Services
Java Script
Remote control
Cookies
Forms
Clickable button
Static GIFs
Animated GIFs
GIF rollovers
Tables
Boxes
Wingdings

Samples 2 GIF rollovers
Shadows
Fonts
Popup window
System Info

Samples for IE IFrame
Filters
Homepage
Popup Remote
 

Mike Cockburn's HTML Sample Page #1: sample.htm


HTML Samples

I use this page to save some samples of web page tools I have used. It provides me a good quick reference to handy facilities such as: JavaScript, CSS Style sheets, forms processing, transparent and animated GIFs, hit counter, cookies, tables, fonts and more.

These are for the most part intended for use with Internet Explorer 3 (or later) or Netscape 3 (or later).

For samples using more recent browser functionality see Samples 2 or Internet Explorer samples.

Navigational Tools

  • Drop down address selector - see the top of my main homepage. These do not work on old browsers as they use JavaScript!
  • List of links using frames - see this site using frames.
  • Navigation bar on left using a table - see the left side of this page.
  • Quick reference table - see an example on my main homepage.

Style sheet

There is a single style sheet used by this page and all the pages on this site. Some of the things it does are as follows:

  • The links on the left are set to change color as the mouse goes over. This is done in the definition for the <a> tag.
  • The headers have all been set to have the grey box around them

Services available on the internet

  • See my homepage for examples of a web page hit counter. Also a link to a live weather forecast for Ottawa.

Javascript is used to create and operate this Popup Remote control

Click here to try it!

Javascript is used to update these form boxes

Javascript sample using cookies

This will take you to another page which will prompt for your name. This just stores your name as a cookie on YOUR computer for later use in greeting you in a nice friendly way. Nothing is sent back to me so I cannot see what name you entered. Subsequent invocations of this will display to you the answer you gave before.


Enter your username

Javascript SelectorSet Object

This tool is useful if the use must select one or more values from a long list.
Click here to see Details

Form processing - serverless response via email

Please complete this form the choose the send button below. JavaScript is used to verify the required fields name and phone have been entered before the form is submitted. If your browser does not support Java or if it is disabled then this will submit the form without validation.



* indicates a required field.

Name: *
Telephone: *
Province/State:
Country:
Comments/Suggestions:


Please select the button only once.


Unless you receive an error message, your message will be sent. The message will go through your normal mail system. If you get an error connecting to the mail server you may need to be on-line and/or configure the mail part of your browser application.


Popup details using forms

Topic #1Topic #1

Buttons, without needing graphic download

Static GIFs

[mikec2.gif (34kb)] [me.gif (15kb)] [mikec.gif (3kb)]

Animated GIFs

Here's a silly little joke for you...
    An animated joke

Here is a little animation I created of a kayak roll. I even did the drawing myself...


DOE! I forgot my noseplug! Bouncing ball

Click on the following image for a short movie of Mauro and I. We we're doing a trick where one canoe drives over top of another one. While there were several failed attempts at this as Mauro will attest we did, in the end, manage to do it without dumping. (Don't try this at home!)


[photo.gif (189kb)][189 kb, 6 frames]

GIF Rollover using javascript

If you want to stay here without jumping in Explorer just omit the href=. For Netscape the actions will not happen without the href so it must be there.

Here's a silly little joke for you...

A table with some style attributes

Quick Reference
Personal
Interests...
Other
links...
Site
Navigation...
Music
Me, my family and friends
Canoe/Kayak
Cars/driving
Dining, Sushi
Geneology
Hashing
Humor
Paddling
Photography
Quotes
Sports
Travel
Assorted
Companies/Institutions
Computer related
Events
Government
Internet
Media
Movies
News & Newsgroups
Searching...
Homepage
Frequent
About this page
Index
New Links
Frames off
Frames on


Here's an idea for a table that stands out!

Perpetual Motion:
When a cat is dropped, it always lands on its feet, and when toast is dropped, it always lands buttered side down. It was proposed to strap giant slabs of hot buttered toast to the back of a hundred tethered cats; the two opposing forces will cause the cats to hover, spinning inches above the ground. Using the giant buttered toast-cat array, a high-speed monorail could easily link New York with Chicago.

Guess how this is done???

     
  This gives the effect of a shadow around the box. This could be done with a graphic file but it might slow down the loading of the page.

 
     


     
 
     This one is done in the same way but it is complicated a little bit to give better spacing between text and the surrounding color.

    
 
     


                    
 
How did I get the border inside the colored area???

 
   

Wingdings

These fonts may only be available if you are running a Windows operating system. Note that if you use these the client viewing your site must also have the font installed.


J
Wingdings (provided in most versions of Windows)
a-zabcdefghijklmnopqrstuvwxyz
A-ZABCDEFGHIJKLMNOPQRSTUVWXYZ
0-90123456789
Lower case symbols
`-=[]\;',./
`-=[]\;',./
Upper case symbols
~!@#$%^&*()_+{}|:"<>?
~!@#$%^&*()_+{}|:"<>?
Other ALT codes
















Symbol (provided in most versions of Windows)
a-zabcdefghijklmnopqrstuvwxyz
A-ZABCDEFGHIJKLMNOPQRSTUVWXYZ
0-90123456789
Lower case symbols
`-=[]\;',./
`-=[]\;',./
Upper case symbols
~!@#$%^&*()_+{}|:"<>?
~!@#$%^&*()_+{}|:"<>?
Other ALT codes


















(skipped)
Wingdings 2 (provided in Office '97)
a-h
i-s
t-z{}|~
a b c d e f g h
ijklmnopqrs
tuvwxyz{}|~
A-ZABCDEFGHIJKLMNOPQRSTUVWXYZ
0-90123456789
Lower case symbols
`-=[]\;',./
`-=[]\;',./
Upper case symbols
~!@#$%^&*()_+{}|:"<>?
~!@#$%^&*()_+{}|:"<>?
Other ALT codes
















Wingdings 3 (provided in Office '97)
a-zabcdefghijklmnopqrstuvwxyz
A-ZABCDEFGHIJKLMNOPQRSTUVWXYZ
0-90123456789
Lower case symbols
`-=[]\;',./
`-=[]\;',./
Upper case symbols
~!@#$%^&*()_+{}|:"<>?
~!@#$%^&*()_+{}|:"<>?
Other ALT codes
















Webdings (provided in Windows '98)
a-zabcdefghijklmnopqrstuvwxyz
A-ZA B C D E F G H I J K L M N O P Q R S T U V W X Y Z
0-90123456789
Lower case symbols
`-=[]\;',./
`-=[]\;',./
Upper case symbols
~!@#$%^&*()_+{}|:"<>?
~!@#$%^&*()_+{}|:"<>?
Other ALT codes