HTML Tricks



This page shows you how to do cool things with HTML and Javascript.



Note: If something is in italics, that means you can change it.



New

This code shows you how to "Flash" all different b.g. colors using onmouseover. Example

Click here to get the code.



The most popular request has now arrived...
This code shows you how to change images with onmouseover. Like this:

Click here to get the long code., or click here for the short version.



This code shows you how to change the background ONLY when the mouse is over it.Example

Click here for the code.



This code shows you how to change the background color with select circles. Orange Blue

Click here for the code.



This code shows you how to make an alert come up when the circle is selected.
What is the Square Root of 9?
81 4.5 3

Click here for the code.



This code shows you how to use a button to link somewhere without window.open.
Heres the code:
<form method="post" action="LINK"><input type="submit" value="example"></form>



This code shows you how to make a window open using onmouseover. Example

Heres the code:<a href=""onmouseover="window.open('URL')">Example</a>




This code shows you how to make a link-like button.
Heres the code:
<form><input type="button" value="Example" onclick="window.open('URL')></form>



This code shows you how to change the status bar message. Example

Heres the code:
<a href=""onmouseover="window.status='Your message';return true">Example</a>


This code shows you how to change the Background using onmouseover. Example>

Heres the code:
<a href=""onmouseover="document.bgColor='Color'">Example</a>


This code shows you how to change the background using a button.
Heres the code:
<form><input type="button" value="Example" onclick="document.bgColor='color'"></form>


This code shows you how to make a custom color changer using onmouseover. Example

Heres the code:
<a href="" onMouseOver="var bg = prompt('Says up top');document.bgColor=bg">Example</a>



This code shows you how to make the subject on a mailto tag. Example

Heres the code:<a href="mailto:name@host.com?subject=subject here">mail me</a>


This code shows you how to use an alert using onmouseover. Example

Heres the code:<a href=""onmouseover="alert('message')">alert</a>


This code shows you how to combine a button and an alert.
Heres the code:
<form><input value="Example" type="button" onclick="alert('message')"></form>



If you don't see something here that you want, send request's here.

Or send comments etc. here.

Or send your cool tricks here and get your link and name on this page!



More coming soon, so bookmark this page!

Back to home page

My many thanx to ta dal who very, very much so helped me with this page, so much where to the most part identical, so thanx man, and go check out his page

This page hosted by  Get your free web pages here