- Timestamp:
- 02/21/09 08:36:00 (3 years ago)
- Location:
- branches/quick_search
- Files:
-
- 1 added
- 2 modified
-
manifest.xml (modified) (1 diff)
-
scripts.js (modified) (3 diffs)
-
style.css (added)
Legend:
- Unmodified
- Added
- Removed
-
branches/quick_search/manifest.xml
r57 r58 4 4 <id>quick_search</id> 5 5 <title>Quick Search</title> 6 <version>1.0. 1</version>6 <version>1.0.2</version> 7 7 <description>Allows quickly search for topics and posts</description> 8 8 <author>daris</author> -
branches/quick_search/scripts.js
r56 r58 23 23 var popup = document.createElement('div'); 24 24 popup.setAttribute('id', 'quick_search_popup'); 25 popup.setAttribute('class', 'brd'); 25 26 26 27 popup.style.position = 'absolute'; … … 31 32 popup.onmouseout = function () {quick_search_popup_hovered = false} 32 33 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>' + 34 35 '<input type="hidden" name="action" value="search" />' + 35 36 '<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" />' + … … 38 39 '<input type="radio" id="show_as_posts" name="show_as" value="posts" /><label for="show_as_posts">' + lang_search['Show as posts'] + '</label>' + 39 40 '</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>'; 41 42 42 43 document.body.appendChild(popup);