mouse-over submenu

Status
Niet open voor verdere reacties.

lennartack

Nieuwe gebruiker
Lid geworden
12 jun 2005
Berichten
1
hallo, ik heb een simpel mouse-over submenu nodig. Ik heb al heel veel gezocht maar ik kon niks vinden dat het goed deed of het was te ingewikkeld voor mij. Kan iemand mij helpen?

Lennart
 
Op deze site tref je html info:
http://www.htmlgoodies.com/
schrijf je in voor de nieuwsbrief, en iedere week krijg je wat nuttige info.

Zoals dit:

Q. I love the Dual Image Flip effect. Instead of buttons I'd like to put plain old links.
I don't know how to do this and if I change a thing, it won't work. Please help! Also, I
need help on putting the image in one place, and placing the text in another. I have a
square box that I need to put the image flip in.

A. Here's what you want:
<.html>
<.head>
<.title>Image Flip<./title>
<.script language="JavaScript">
function flip(img,imgn)
{
document.images[imgn].src=img
}
<./script>
<./head>
<.body>
<.a href="somepage.html" onmouseover="flip('1.gif','pica')" onmouseout="flip
('0.gif','pica')">Mouse Over Me<./a>
<.img src="0.gif" name="pica" border="0"><./a><.br>

<./body>
<./html>
As far as placing the picture it depends on how you have your square box defined. You
could use a table to position the image or even layers such as <.div> or <.span> in
combination with the style tag.

De hierboven getoonde code krijg je dus in je mailtje.
Echter de code moet je aanpassen, door de punt . weg te halen.
Dan heb je wederom normale code en werkt het.

:cool:

/// edit
coolMenu al gezien?

http://www.dhtmlcentral.com/projects/coolmenus/
 
Laatst bewerkt:
Status
Niet open voor verdere reacties.
Terug
Bovenaan Onderaan