When searching on packages.gentoo.org, the search results are shown in the left pane (leftcontent) instead of the center pane (middlecontent). Screenshot here: http://tinypic.com/view.php?pic=23lgna&s=7
I'm not sure if the above mentioned bug can fix it, but the rest of the search function is broken too: 1. Two search input fields with 2 search buttons 2. Enter button does work with the second field 3. Unnecessary (annoying) alert box with the message: "Running search for" It has been broken for a month. Please fix it.
I agree with previous commenter, and am still able to reproduce all points.
Created attachment 308543 [details, diff] Fix search results shown in middlecontent Add width and word-wrap(break-word) in style.css
The search function is broken for a few months now. It would be very simple to fix this problem. So please fix it! Thanks!
An hour of my time and much pleading by Zero Chaos, this should be fixed. I will go on record and state that I really hate javascript. -A
It's fixed! This is awesome! \o/ So much happiness for so few lines of code =)
Alec, is it to much asking to focus that search field by default? ps. Thanks for fixing the main issue. I'm using that search almost everyday and that bug was a big pain.
(In reply to comment #7) > Alec, is it to much asking to focus that search field by default? Assume that I know nothing about web development at all; how do I make the search box have focus with javascript? :) -A > > > ps. Thanks for fixing the main issue. I'm using that search almost everyday > and that bug was a big pain.
I can comment on that one =) http://www.mediacollege.com/internet/javascript/form/focus.html
(In reply to comment #9) > I can comment on that one =) Practically, it's not a pure javascript. The script is provided by google and it might not have that function by default I'm currently looking at http://code.google.com/apis/ajax/playground/#custom_search_control http://www.technologytoolbox.com/blog/jjameson/archive/2012/02/02/building-technologytoolbox-com-part-21.aspx So trick might be to call searchBox.focus(); method from configureSearchBox function (instead of searchBox.val("Search..."); )
The "OnLoad=" and .focus() is a part of standard HTML/JS I think, so it's worth a shot. The thing it does is to tell the browser where to put the focus after loading the page, so I guess it should work. But whatever does the trick is good enough for me! I can't say I like the new Google functionality though. Ugly search results plus it automatically opens links in a new window (something I choose to do myself by using middle-click). Perhaps the option to switch to znurt should be re-iterated (depending on how hard it would be).
(In reply to comment #11) > The "OnLoad=" and .focus() is a part of standard HTML/JS I think, so it's > worth a shot. The thing it does is to tell the browser where to put the > focus after loading the page, so I guess it should work. > But whatever does the trick is good enough for me! > > I can't say I like the new Google functionality though. Ugly search results > plus it automatically opens links in a new window (something I choose to do > myself by using middle-click). new? Its been this way for years. We can the make the results prettier if someone wants to style them. This thing is mostly in maintenance mode though, so I can only fix bugs, not add features. > > Perhaps the option to switch to znurt should be re-iterated (depending on > how hard it would be). Nothing stops you from using it :) -A
I've been using the old search box when searching (there were two before), So perhaps that's why I haven't seen the "new" way of presenting the results. Just a question out of curiosity, how many visits does the site get per day?
(In reply to comment #13) > I've been using the old search box when searching (there were two before), > So perhaps that's why I haven't seen the "new" way of presenting the results. Ahh. > > Just a question out of curiosity, how many visits does the site get per day? 150k / day including bots / search engines / whatnot. 100k / day for human-only traffic. -A