Register Members List Search Today's Posts Mark Forums Read

Reply
 
Article Options
How To Fix Drop Down Menu Problems
peterska2
Join Date: Oct 2003
Posts: 7,123

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: 15953
Reply With Quote
Comments
  #2  
Old 23 Aug 2006, 09:53
Brown23 Brown23 is offline
 
Join Date: Jan 2006
Thanks!
Reply With Quote
  #3  
Old 23 Aug 2006, 15:15
smacklan's Avatar
smacklan smacklan is offline
 
Join Date: Mar 2005
Real name: John
Nice article Kerry-Anne...as always, very helpful
Reply With Quote
  #4  
Old 16 Aug 2008, 13:39
tehblob tehblob is offline
 
Join Date: Apr 2008
Thanks, helped me
Reply With Quote
  #5  
Old 24 Mar 2010, 10:48
fbi1337 fbi1337 is offline
 
Join Date: Mar 2010
and also make sure the javascript code is in the footer
Reply With Quote
Reply


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
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 21:24.

Layout Options | Width: Wide Color: