Godot Taxis
Tuesday 2nd December 2008 9:45pm
5,742 posts
Quote: billwill @ December 2 2008, 4:09 PM GMT
You haven't said what effect you were trying to create?
Drop-down menues need Javascript coding as well as CSS, usually, though I suppose that you could use OnMouserOver to use the bare minimum javascript to change the Z coordinate of pre-prepared <div>s creating a drop-down mmenu effect.
Not something I've ever tried, I tend to just have a conventional context-relevant menu in the left column, with maybe a horizontal main menue accross the top below any logos etc.
Thanks Bill, I did exactly what you said to make the ORIGINAL (not the ones on the site now) menus - using javascript and layers. They worked fine and the code was neat. Load the page in Explorer 6 or 7 and the menus didn't always drop down. Don't know whether it was the javascript or the css or both. But it was definitely only an explorer problem. Spry menus didn't work either, so I used the suckerfish code that a lot of people have been using. I tested it on explorer 6 and 7 and it worked. Several people since have told me it doesn't work, so that's why I'm mystified.
Thanks for pointing out the a:hover line error - I've corrected this.
The stylesheet is really messy as it's undergone lots of cutting and pasting. 'li:hover' comes from the suckerfish menus. I haven't touched it because it seemed to work with explorer and my compliant code didn't.
The problem is essentially this. Pure css dropdowns didn't work in IE 6 or 7. Undeniably IE's fault, but potential customers for the site use IE so had to find a workaround. Spry menus also didn't work, so find some code that is KNOWN to work. That seemed to be the Suckerfish code, but now I'm hearing that doesn't work either.
I can ditch the dropdown menus, but the problem is i want to spend as little time on this job as possible and don't want to have to draw some tab pages or something else.