Code: Select all
<a href="search.php" class="nav">{L_ADVANCED_SEARCH}</a>
Code: Select all
<a href="{U_SEARCH}" class="nav">{L_ADVANCED_SEARCH}</a>
martijn2 wrote: Sounds good, any demo available? Is it like vBulletins search box?
Edit: ah, just seen it on the MOD authors site, looks indeed very cool!
Only one small question, is it possible to have the same effect as vB has when clicking it? Expanding from the top-left to the bottom-right I mean
R45 wrote: One small thing, in overall_header.tpl
Should beCode: Select all
<a href="search.php" class="nav">{L_ADVANCED_SEARCH}</a>
For the sessions, nice mod though.Code: Select all
<a href="{U_SEARCH}" class="nav">{L_ADVANCED_SEARCH}</a>
Code: Select all
<a onmouseover="return searchTooltip();" href="{U_SEARCH}" class="mainmenu" id="searchlink"><img src="templates/subSilver/images/icon_mini_search.gif" width="12" height="13" border="0" alt="{L_SEARCH}" hspace="3" />{L_SEARCH} <img src="templates/subSilver/images/icon_mini_menu_down.gif" width="8" height="5" border="0" /></a>
<div id="searchbox" style="display:none;z-index: 100;" onMouseOut="searchTooltip(); return false;">
<form action="{S_SEARCH_ACTION}" method="POST">
<table class="forumline" cellpadding="4" cellspacing="1" border="0">
<tr>
<th class="thHead" height="25"><a onclick="searchTooltip(); return false;" href="#" style="float:right;color: #FFF;font-size: 9px;font-family:Verdana, sans-serif; text-decoration: none;">(X)</a>{L_SEARCH_QUERY}</th>
</tr>
<tr>
<td class="row1" align="center">
<input type="text" style="width: 180px" class="post" name="search_keywords" size="30" /> <input class="liteoption" type="submit" value="{L_SEARCH}" />
<input type="hidden" name="search_terms" value="all" />
<input type="hidden" name="search_forum" value="-1" />
<input type="hidden" name="search_time" value="0" />
<input type="hidden" name="search_cat value="-1" />
<input type="hidden" name="sort_by value="0" />
<input type="hidden" name="sort_dir value="ASC" />
<input type="hidden" name="show_results value="posts" />
<input type="hidden" name="return_chars value="200" />
<input type="hidden" name="search_fields" value="all" />
</td>
</tr>
<tr>
<td class="catBottom" align="center">
<a href="search.php" class="nav">{L_ADVANCED_SEARCH}</a>
</td>
</tr>
</table>
</form>
</div>
eviL<3 wrote: I created an "addon" like that, but it always flickers...
Any ideas? Thanks!
evil
Code: Select all
<a onmouseover="return searchTooltip();" href="{U_SEARCH}" class="mainmenu" id="searchlink"><img src="templates/subSilver/images/icon_mini_search.gif" width="12" height="13" border="0" alt="{L_SEARCH}" hspace="3" />{L_SEARCH} <img src="templates/subSilver/images/icon_mini_menu_down.gif" width="8" height="5" border="0" /></a> <div id="searchbox" style="display:none;z-index: 100;" onMouseOut="searchTooltip(); return false;"> <form action="{S_SEARCH_ACTION}" method="POST"> <table class="forumline" cellpadding="4" cellspacing="1" border="0"> <tr> <th class="thHead" height="25"><a onclick="searchTooltip(); return false;" href="#" style="float:right;color: #FFF;font-size: 9px;font-family:Verdana, sans-serif; text-decoration: none;">(X)</a>{L_SEARCH_QUERY}</th> </tr> <tr> <td class="row1" align="center"> <input type="text" style="width: 180px" class="post" name="search_keywords" size="30" /> <input class="liteoption" type="submit" value="{L_SEARCH}" /> <input type="hidden" name="search_terms" value="all" /> <input type="hidden" name="search_forum" value="-1" /> <input type="hidden" name="search_time" value="0" /> <input type="hidden" name="search_cat value="-1" /> <input type="hidden" name="sort_by value="0" /> <input type="hidden" name="sort_dir value="ASC" /> <input type="hidden" name="show_results value="posts" /> <input type="hidden" name="return_chars value="200" /> <input type="hidden" name="search_fields" value="all" /> </td> </tr> <tr> <td class="catBottom" align="center"> <a href="search.php" class="nav">{L_ADVANCED_SEARCH}</a> </td> </tr> </table> </form> </div>
eviL<3 wrote: I created an "addon" like that, but it always flickers...
Any ideas? Thanks!