Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org

Feedback on: irt.org FAQ Knowledge Base Q727, August 15, 2000 at 10:44:46:

You are here: irt.org | About | Feedback | 1627 [ previous next ]

Feedback on:
irt.org FAQ Knowledge Base Q727

Sent by
Ian Ornstein on August 15, 2000 at 10:44:46:

Comments:
I can't always just take; its time to contribute!

Contribution and question.
First:Here is some code for making text menus using rollovers and DHTML. Use it on your site if you like it.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<TITLE>Menu Experiments</TITLE>

<LINK REV="made" HREF="mailto:">
<META NAME="author" CONTENT="">
<META NAME="generator" CONTENT="NoteTab Pro 4.81">
<STYLE>
.Norm
{
border-style:solid;
border-color:silver;
border-width:1;
visibility :visible;
position :absolute;
}
.Over
{
border-style :solid;
border-color :blue;
border-width :2;
font-weight :bolder;
color :blue;
background-color:yellow;
visibility :hidden;
cursor :hand;
position :absolute;
text-decoration :none;
}
</STYLE>

<script type="text/javascript" language="JavaScript">

</script>

</HEAD>

<BODY style="font-family:verdana;">
<DIV style="width:125px;">
<DIV class="Norm" ID="But1N" onMouseOver="show2('But1N','But1O')"> Menu1 </DIV>
<A HREF="http://www.infoave.net"><DIV class="Over" ID="But1O" onMouseOut="hide2('But1N','But1O')"> Menu1 </DIV></A>
</DIV>
<BR><BR>
<DIV style="width:125px;">
<DIV class="Norm" ID="But2N" onMouseOver="show2('But2N','But2O')"> Menu2 </DIV>
<A HREF="http://msdn.microsoft.com"><DIV class="Over" ID="But2O" onMouseOut="hide2('But2N','But2O')"> Menu2 </DIV></A>
</DIV>
<BR>
<DIV style="width:125px;">
<DIV class="Norm" ID="But3N" onMouseOver="show2('But3N','But3O')"> Menu3 </DIV>
<A HREF="http://msdn.microsoft.com"><DIV class="Over" ID="But3O" onMouseOut="hide2('But3N','But3O')"> Menu2 </DIV></A>
</DIV>
<BR><BR>
<HR><SMALL><I>Created on ... August 09, 2000 by IanO</I></SMALL>
</BODY>
</HTML>

Question: The verticle spacing is either too close or too far apart.
Do you have a suggestion for a more rasonable spacing?

- IanO -


©2018 Martin Webb