Article View: be.comp.programming
Article #9667dhtml menu
From: Didi
Date: Tue, 16 Apr 2002 15:37
Date: Tue, 16 Apr 2002 15:37
58 lines
2829 bytes
2829 bytes
Ik heb hier een dhtml scriptje,als ik boven een link kom te staan, komt er
onderaan de pagina uitleg over naar waar die link verwijst.
Nu is mijn vraag, of het mogenlijk is om die info in een andere frame te
krijgen? dus de links in een frame, en de uitleg over die links in een
andere frame? Heeft iemand deze script?
Dank, mvg Didi.
<html>
<head>
<style>
body{font-family:"Lucida Console"; font-size:12;; background-color: #C6BFAA}
.info{font-size:12pt; color:#000000; position:absolute; visibility:hidden;}
table { background-color: #96918B; position: absolute; visibility: visible;
left: 5px; top: 5px; clip: rect( )}
td { text-align: center; vertical-align: middle; line-height: 25px}
a:link { text-decoration: none; color: #000000}
a { color: #000000}
.hoofdmenu { text-transform: uppercase; border-color: #000000 black black;
font-weight: bold; border-style: solid; border-top-width: 2px;
border-right-width: 0px; border-bottom-width: 2px; border-left-width: 0px}
</style>
<script type="text/javascript">
function GeefInfo(infotext){
switch (infotext){
case "Infohome":
text = "Hier gaat u terug naar de startpagina."
break;
}
document.getElementById('info').innerHTML = text;
document.getElementById('info').style.visibility = "visible";
}
function WegInfo()
{
document.getElementById('info').style.visibility = "hidden";
}
</script>
<title>leftframe</title>
</head>
<body>
<div class="info" id="info" style="left: 8px; top: 217px; width: 127px;
height: 132px"></div>
<table style="width: 130px">
<tr>
<td class="hoofdmenu">Hoofdmenu</td>
</tr>
<tr>
<td><a href="index.html" target="mainframe"
onMouseOver="GeefInfo('Infohome')" onMouseOut="WegInfo()">Home</a></td>
</tr>
</table>
</body>
</html>
Technical Details
Message-ID:
<9zXu8.20361$Ze.4590@afrodite.telenet-ops.be>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news1.google.com!sn-xit-02!sn-xit-04!supernews.com!news.cs.utwente.nl!newsgate.cistron.nl!skynet.be!skynet.be!ossa.telenet-ops.be!afrodite.telenet-ops.be.POSTED!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII-7-bit X-Google-Thread: fcea4,1f471b9b981d2092,start X-Google-Attributes: gidfcea4,public X-Google-ArrivalTime: 2002-04-16 08:38:13 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news1.google.com!sn-xit-02!sn-xit-04!supernews.com!news.cs.utwente.nl!newsgate.cistron.nl!skynet.be!skynet.be!ossa.telenet-ops.be!afrodite.telenet-ops.be.POSTED!not-for-mail From: "Didi" <dvanherenthals@hotmail.com> Newsgroups: be.comp.programming Subject: dhtml menu Lines: 60 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: <9zXu8.20361$Ze.4590@afrodite.telenet-ops.be> Date: Tue, 16 Apr 2002 15:37:41 GMT NNTP-Posting-Host: 213.224.180.249 X-Complaints-To: abuse@telenet.be X-Trace: afrodite.telenet-ops.be 1018971461 213.224.180.249 (Tue, 16 Apr 2002 17:37:41 MET DST) NNTP-Posting-Date: Tue, 16 Apr 2002 17:37:41 MET DST Organization: Telenet Internet