SitePoint Sponsor |
|
User Tag List
Results 1 to 3 of 3
Thread: Collaps and uncollaps a div?
-
Feb 9, 2004, 08:21 #1
- Join Date
- Mar 2003
- Location
- Sweden
- Posts
- 370
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Collaps and uncollaps a div?
Hello sitepointers!
I want to make a Like menu that has a head and a body. In the body are the links to the different sections. In the head is the title and a picture that you can click on. When you click on that image the body collaps (disapears) and the image change to another image. Clicking the new image uncollaps the body and the menu is shown again. The head should ofcourse be visible all the time (the head is where the collaps image is).
Can I do this? I think I've seen it somewhere.
Thanks in advance!
Martin Lundberg
Sweden
-
Feb 9, 2004, 11:35 #2
- Join Date
- Mar 2003
- Location
- Sweden
- Posts
- 370
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Guess it's not that easy...maybe it's not a css problem?
Martin Lundberg
Sweden
-
Feb 9, 2004, 13:02 #3
- Join Date
- Jan 2003
- Location
- Hampshire UK
- Posts
- 40,556
- Mentioned
- 183 Post(s)
- Tagged
- 6 Thread(s)
Hi,
You'd really need some sort of javascript routines for that so it's not really a CSS question.
Have a look at the techniques used in the suckerfish menus and you should be able to work something out.
http://www.alistapart.com/articles/dropdowns/
Paul
Bookmarks