This is a discussion on "Drop-down menu solution?" within the Web Page Design section. This forum, and the thread "Drop-down menu solution? are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Drop-down menu solution?
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
Drop-down menu solution?
Hello. I'm trying to make a drop-down menu based on a hierarchical unordered list system.
This is the code I tried to modify (so that it would work with my code):
|
|
|
|
#2
|
||||
|
||||
|
Re: Drop-down menu solution?
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)
|
|
#3
|
|||
|
|||
|
Re: Drop-down menu solution?
Not sure suckerfish is the correct solution, as this can be done without the scripting with CSS and .htc file for IE.
Looking at your menu code you have no nested UL so the CSS you wrote can't target anything.
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
Last edited by moojoo; Apr 18th, 2008 at 16:56. Reason: Adding link |
|
#4
|
||||
|
||||
|
Re: Drop-down menu solution?
Good reply moojoo, but I can't see how your suggestion differs from suckerfish.
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)
|
|
#5
|
|||
|
|||
|
Re: Drop-down menu solution?
Suckerfish requires javascript which scrubs the source and uses js to manipulate elements. Also utilizing a conditional comment is a better solution than using js browser sniffing as well, which suckerfish also handles via js. At any rate the solution I provided is probably easier and more direct than suckerfish is as well. Not that suckerfish is not a good solution, just think in this case it may be over kill.
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
Last edited by moojoo; Apr 19th, 2008 at 15:41. |
|
#6
|
||||
|
||||
|
Re: Drop-down menu solution?
.htc is still a scripting file, and will not take effect if the user has Javascript disabled.
Last Blog Entry: The Google Misconception (Feb 3rd, 2008)
|
|
#7
|
||||
|
||||
|
Re: Drop-down menu solution?
Popup menus cannot be achieved without any javascript because IE6 does not handle anything:hover. As aso186 said, if javascript is disabled, suckerfish or not, popup menus will not work in IE6. So why the js-phobia?
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)
|
|
#8
|
|||
|
|||
|
Re: Drop-down menu solution?
cant offer direct help but http://www.cssplay.co.uk have loads of this type of menu, might be worthwhile checking it out?
|
|
#9
|
|||
|
|||
|
Re: Drop-down menu solution?
I'll vouch for CSS play's quaility. I've used there stuff a number of times.
All they request is a link back for personal sites or an email to request permission on larger sites. http://www.cssplay.co.uk/menus/dd_valid.html The above link is a Cross browser CSS only DD menu. Hope this helps |
|
#10
|
|||
|
|||
|
Re: Drop-down menu solution?
Aso yes, but the htc method is a tad less obtrusive than suckerfish imo. Either way the end result is the same I guess. The menu should function with or without either, and sub links available on sub pages in some form. Simple enough in some no script tags or conditional depending on what you are using.
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
|
|
#11
|
|||
|
|||
|
Re: Drop-down menu solution?
Because the drop down menus are written Javascript the links created in the drop down menu are not relative and are therefore not updated when used on an actual page. This is important because the template is stored in a sub folder called template and not with the other HTML pages so the links are always wrong.
|
![]() |
| Tags |
| css, drop-down, html, menu |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Drop-down Menu | kaz | JavaScript Forum | 1 | May 24th, 2007 10:32 |
| I have a normal css menu, but want ot add drop down menu to it | multichild | Web Page Design | 7 | Jan 9th, 2007 16:07 |
| Drop down menu ... | Drysdale | Web Page Design | 3 | Jul 21st, 2005 22:00 |
| help with drop menu | makemesick | JavaScript Forum | 8 | Apr 25th, 2005 21:19 |
| drop menu help | makemesick | JavaScript Forum | 2 | Apr 23rd, 2005 05:48 |