| You are here: DEVPPL ‹ Forum ‹ Programming ‹ JavaScript Forum |
NOTIFICATIONS
|
|
|||||||||||||||
Login |
menus
6 posts
• Page 1 of 1
0
menus
Hi im making a website but ive come stuck because i dont know how to make a menu that has images and once som1 clicks it some links appear under it. my site is www.lil9.com
An example of what i mean, www.cncden.com there menu works how id like mine to.
Could any1 help me out on what i have to do?
thanks
lil9
An example of what i mean, www.cncden.com there menu works how id like mine to.
Could any1 help me out on what i have to do?
thanks
lil9
- Lil
- Reputation: 0
- Posts: 56
- Joined: Wed Sep 08, 2004 10:31 am
- Location: UK - England - Hull
- Highscores: 0
- Arcade winning challenges: 0
- Phate
- Reputation: 0
- Posts: 826
- Joined: Sun Nov 21, 2004 5:12 am
- Location: 127.0.0.1
- Highscores: 0
- Arcade winning challenges: 0
0
Here's one, quick n' easy:
Works in Mozilla, IE and Opera
{Edit}
After playing around with the code for a bit Opera seems to like this:
But non of the other browsers do
- Code: Select all
<style type="text/css">
#menu1 { border: 1px solid #000; width: 120px; }
#items1 { overflow:hidden; height:0px; }
</style>
<div id="menu1" onmouseover="document.getElementById('items1').style.height='auto';" onmouseout="document.getElementById('items1').style.height='0px';">
Menu Header
<div id="items1">
<a href="#">a blah</a><br />
<a href="#">b blah</a><br />
<a href="#">c blah</a><br />
</div>
</div>
Works in Mozilla, IE and Opera
{Edit}
After playing around with the code for a bit Opera seems to like this:
- Code: Select all
<style type="text/css">
.menu { border: 1px solid #000; width: 120px; }
.items { overflow:hidden; height:0px; }
.menu:hover .items { height: auto; }
</style>
<div class="menu">
Menu Header
<div class="items">
<a href="#">a blah</a><br />
<a href="#">b blah</a><br />
<a href="#">c blah</a><br />
</div>
</div>
But non of the other browsers do

- Malcolm
- Reputation: 0
- Posts: 198
- Joined: Thu Oct 07, 2004 10:53 pm
- Location: Ontario, Canada
- Highscores: 0
- Arcade winning challenges: 0
0
hi lil
if you could give apictorial representation of what exactly type of window you need i could code one for you
well but you will have to wait till 6 th till i login again
i will be busy next week with my exams
--DAFUNKYMUNKY
if you could give apictorial representation of what exactly type of window you need i could code one for you
well but you will have to wait till 6 th till i login again
i will be busy next week with my exams
--DAFUNKYMUNKY
- Dafunkymunky
- Reputation: 0
- Posts: 183
- Joined: Fri Apr 08, 2005 8:32 am
- Location: India
- Highscores: 0
- Arcade winning challenges: 0
|
|
