Changeset 58 for branches

Show
Ignore:
Timestamp:
02/21/09 08:36:00 (3 years ago)
Author:
daris
Message:

quick search: styling fixes + releasing 1.0.2

Location:
branches/quick_search
Files:
1 added
2 modified

Legend:

Unmodified
Added
Removed
  • branches/quick_search/manifest.xml

    r57 r58  
    44        <id>quick_search</id> 
    55        <title>Quick Search</title> 
    6         <version>1.0.1</version> 
     6        <version>1.0.2</version> 
    77        <description>Allows quickly search for topics and posts</description> 
    88        <author>daris</author> 
  • branches/quick_search/scripts.js

    r56 r58  
    2323        var popup = document.createElement('div'); 
    2424        popup.setAttribute('id', 'quick_search_popup'); 
     25        popup.setAttribute('class', 'brd'); 
    2526 
    2627        popup.style.position = 'absolute'; 
     
    3132        popup.onmouseout = function () {quick_search_popup_hovered = false} 
    3233 
    33         popup.innerHTML = '<form id="quick_search_form" action="' + url_search + '" method="get"><div>' + 
     34        popup.innerHTML = '<div class="main-content"><form id="quick_search_form" action="' + url_search + '" method="get"><div>' + 
    3435                        '<input type="hidden" name="action" value="search" />' +  
    3536                        '<input type="text" size="20" id="quick_search" name="keywords" onkeypress="quick_search_onchange(event)" /><input type="submit" value="' + lang_search['Submit search'] + '" name="search" />' + 
     
    3839                        '<input type="radio" id="show_as_posts" name="show_as" value="posts" /><label for="show_as_posts">' + lang_search['Show as posts'] + '</label>' +  
    3940                '</div></form>' + 
    40                 '<a href="' + url_search + '">' + lang_search['Perform new search'] + '</a>'; 
     41                '<a href="' + url_search + '">' + lang_search['Perform new search'] + '</a></div>'; 
    4142                 
    4243        document.body.appendChild(popup);