Pegefølsomknap / billede frem.
Hvordan får man indsat en "Buttons.Gif"i stedet for den understregede hyberlink.<HTML>
<HEAD>
<TITLE>Magic Buttons! - Mouseover effects tutorial</TITLE>
<SCRIPT LANGUAGE="JavaScript"><!--
/*********************************************************
M A G I C B U T T O N S v3.0
http://junior.apk.net/~jbarta/tutor/buttons/
Permission is granted to freely use this script.
**********************************************************/
// preload images:
if (document.images) {
birds = new Image(160,120); birds.src = "birds.gif";
cangoose = new Image(160,120); cangoose.src = "cangoose.gif";
cockatoo = new Image(160,120); cockatoo.src = "cockatoo.gif";
pigeon = new Image(160,120); pigeon.src = "pigeon.gif";
stork = new Image(160,120); stork.src = "stork.gif";
swan = new Image(160,120); swan.src = "swan.gif";
toucan = new Image(160,120); toucan.src = "toucan.gif";
}
function hiLite(imgName,imgObjName) {
if (document.images) {
document.images[imgName].src = eval(imgObjName + ".src");
}}
//--></SCRIPT>
</HEAD>
<BODY BGCOLOR="#FFFFFF">
<CENTER><P><TABLE CELLSPACING=0 CELLPADDING=10 BORDER=0>
<TR>
<TD align=center><FONT FACE="trebuchet ms">
<A HREF="cangoose.html" onMouseOver="hiLite('img10','cangoose')" onMouseOut="hiLite('img10','birds')">Canadian Goose</A><BR>
<A HREF="cockatoo.html" onMouseOver="hiLite('img10','cockatoo')" onMouseOut="hiLite('img10','birds')">Cockatoo</A><BR>
<A HREF="pigeon.html" onMouseOver="hiLite('img10','pigeon') " onMouseOut="hiLite('img10','birds')">Pigeon</A><BR>
<A HREF="stork.html" onMouseOver="hiLite('img10','stork') " onMouseOut="hiLite('img10','birds')">Stork</A><BR>
<A HREF="swan.html" onMouseOver="hiLite('img10','swan') " onMouseOut="hiLite('img10','birds')">Swan</A><BR>
<A HREF="toucan.html" onMouseOver="hiLite('img10','toucan') " onMouseOut="hiLite('img10','birds')">Toucan</A><BR>
</FONT></TD>
<TD><IMG SRC="birds.gif" WIDTH="160" HEIGHT="120" BORDER="0" ALT="" NAME="img10"></TD>
</TR>
</TABLE></CENTER>
</BODY>
</HTML>
Kan også ses her (Animals)
http://junior.apk.net/~jbarta/tutor/buttons/
Hilsen PPN
