|
|
|
|
Tips
and Tricks
Here
are some simple yet effective HTML and JavaScript tricks to improve your website.
1. How
to not underline a hyperlink on mouseover
Example:
CosmicScripts.com
has this feature. |
Code:
<STYLE
type="text/css">
<!--
a {text-decoration: none}
a:hover {text-decoration:underline}
-->
</STYLE>
Put
this between the <HEAD> & </HEAD> at the top of your
html page |
|
2. How
to get your HTML validated
3.
Image change on mouseover
Example:
UK
affiliate software |
Code:
<CENTER><IMG
SRC="ukicon.gif" NAME="ukkicon" HEIGHT=15 WIDTH=25>
<A HREF="http://www.allaffiliatepro.co.uk"
onMouseOver="document.ukkicon.src='images/level_fresh.gif'"
onMouseOut="document.ukkicon.src='images/level_new.gif'">
UK affiliate software</A></CENTER>
You can
see that by adding a few bit's of code that you can choose which picture
to have and which to loadover.
|
4.
Opening new windows
Example:
Open
CosmicPerl.com CGI
Scripts in a new window
|
Code:
target="_blank"
Put this
in the <A ...> after the html link
To open
a new window using java script on page load use the code
<script
language="JavaScript">
window.open("http://www.cosmicperl.com")
</script>
Most pop
up blocks and modern browsers will block this by default
|
5.
Getting out of other peoples frames
6.
Doing all that other great stuff you see on websites
A lot of the cool things you find on websites are probably
done using CGI/PERL scripts. Take a look at the
free scripts from CosmicScripts.com to see a selection
of what CGI can do for your website.
|
|
|
|
|
|
|
|
|
|
Want
the latest news?
Then why not sign
up for our newsletter? Be notified immediately about new
products, upgrades, sales, discounts, bug fixes, site updates
and more. |
|
|
|
|
|