Welcome, Guest. Please login or register.
Did you miss your activation email?
May 27, 2012, 03:42:38 AM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155555 Posts in 21715 Topics by 7737 Members
Latest Member: gx-world
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Drop down menu problem  (Read 657 times)
Bryony84

Offline Offline

Posts: 5


« on: June 10, 2008, 01:46:36 PM »

Hi everyone, I've been writing a css drop down menu based on a web tutorial and its nearly displaying properly.

I currently have 3 parent links which all have a set of children. The only problem I have with it is that the dropdown for the children will only display if the parent link is the current page. Does anyone know how to fix this?
Logged
marathoner

Offline Offline

Posts: 495


« Reply #1 on: June 10, 2008, 02:47:49 PM »

You didn't provide the CSS or a link to your site so it's hard to help you. Probably best for to you take a look at any of the existing templates that use CSS for a drop down effect. You might want to start with the AllCSS2 template.
Logged
Bryony84

Offline Offline

Posts: 5


« Reply #2 on: June 10, 2008, 03:15:07 PM »

I looked at the css2 template to start with, thats where I found the link to the tutorial site.

This is the site in question. Each of the 3 parent links has children, but you can only look at the selected set. This is only the 2nd wb site I've ever done and also the first drop down menu. Unfortuantely that was one of the few things they said they definitely wanted on the site.

http://www.greenbankvets.co.uk/wb/
Logged
marathoner

Offline Offline

Posts: 495


« Reply #3 on: June 10, 2008, 03:20:12 PM »

I just looked at your site and everything that is in your HTML is displayed correctly with the CSS. If your "About Us" and "Information" menu items actually have children then the problem is with your menu call. You need to return all of the children of all of the main menu items.
Logged
Bryony84

Offline Offline

Posts: 5


« Reply #4 on: June 10, 2008, 03:47:14 PM »

Thank you for your help - all working fine now! Knew it would most probably be one tiny wrong thing, usually is!
Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!