Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 09 Nov 2009, 21:14
Mark.B Mark.B is offline
 
Join Date: Feb 2004
Help me debug my search dropdown box

I have an annoying problem with my search dropdown box.

When you select tghe "Show Posts" radio button when using Firefox, the drop down disappears.

You can then click it again and the radio button is selected.

Switching back to "Show Threads" does not cause the same behaviour.

I know this is related to some custom template stuff because in the default style it doesn't do it. However I have tried manually re-pasting the default search box code into the navbar template and that doesn't help.

Reverting the navbar template doesn't fix it either, so the problem is not in there.

I have also tried disabling plugins and still no joy.

This is a difficult one to track down...so to start with, has anyone ever seen this behaviour before?
Reply With Quote
  #2  
Old 09 Nov 2009, 21:26
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
I've never seen in before. If it is happening on every page, I would guess this has something to do with a template on every page - header, headinclude, or footer. Have you created a copy of your style and tried reverting those templates to see if they are the cause?
__________________
Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #3  
Old 09 Nov 2009, 22:37
Mark.B Mark.B is offline
 
Join Date: Feb 2004
Originally Posted by Lynne View Post
I've never seen in before. If it is happening on every page, I would guess this has something to do with a template on every page - header, headinclude, or footer. Have you created a copy of your style and tried reverting those templates to see if they are the cause?
Thanks...of course, it was obvious when i thought about it...it was indeed in the navbar template as reverting it fixed the problem.

The problem was....I have a separate search box (with no dropdown) at the top of the page, and this was using the same id in the form (rb_nb_sp0 and rb_nb_sp1) as the search dropdown.

Changing or removing these id's from the second search box fixes the problem without breaking either search.

What specifically does that id number do in this case?
Reply With Quote
  #4  
Old 09 Nov 2009, 23:19
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
ids must always be unique or problems will arise. I don't really think it is required that a form has an id, but I always just throw one in there anyway.
__________________
Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
Reply


Similar Threads
Thread Thread Starter Forum Replies Last Post
Member Search on Search Dropdown Exitilus vBulletin 3.7 Add-ons 28 05 Sep 2009 00:57

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

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 20:56.

Layout Options | Width: Wide Color: