Register Members List Search Today's Posts Mark Forums Read

Article Options
How To Fix Drop Down Menu Problems
Join Date: Oct 2003
Posts: 6,504

Manchester, UK
by peterska2 peterska2 is offline 30 Jul 2006

This is quite a common problem so as it comes up frequently, I decided that the best solution would be to write up a post on how to fix it.

You are in the situation where you have modified your site, or recently upgraded and all of a sudden the dropdown menus stop working. Often this is just in some threads, and more often than not it is the thread tools menu that you notice is not working.

Despite the fact that it only seems to be the dropdowns in the threads themselves that are not working, the fault is usually with the navbar template.

The best way to fix it is to revert your navbar template. However, if you are running a custom style, it is advisable to first export your style in case additional modifications to it have been made.

If your navbar has been moved to your header, then you will also need to remove it from there.

When you have got just a default navbar running, with no navbar in your header (if appropraite) then try the thread tools menus again. in the majority of cases they will now work.

Once you have it working, add each link back to your navbar, checking between each one that the thread tools and other dropdowns are still working. Take your time while doing this, as any errors will break them again.

If, after reverting your navbar, your menus still do not work, and you have made any modifications to your showthread template, then it is also recommended that you revert this template. In the majority of cases this is not required.

While having your navbar in your header can look good depending on your style, it can in some instances, if not coded correctly, cause these problems. A good solution to this is to move the nav buttons part of your navbar to the top of your navbar template underneath the script for the logout button then add a couple of breaks to space it out.

I hope that you find this useful.
Views: 18972
Reply With Quote
Old 23 Aug 2006, 10:53
Brown23 Brown23 is offline
Join Date: Jan 2006
Reply With Quote
Old 23 Aug 2006, 16:15
smacklan's Avatar
smacklan smacklan is offline
Join Date: Mar 2005
Real name: John
Nice article always, very helpful
Reply With Quote
Old 16 Aug 2008, 14:39
tehblob tehblob is offline
Join Date: Apr 2008
Thanks, helped me
Reply With Quote
Old 24 Mar 2010, 11:48
fbi1337 fbi1337 is offline
Join Date: Mar 2010
and also make sure the javascript code is in the footer
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Article Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

New To Site? Need Help?

All times are GMT. The time now is 16:17.

Layout Options | Width: Wide Color: