vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   How do i replace it with a search button? (https://vborg.vbsupport.ru/showthread.php?t=187012)

Adam21 08-02-2008 10:39 AM

How do i replace it with a search button?
 
I've tried putting this code on my side column,but i cant seems to place a search button http://www.simple-upload.com/files/find.gif to let it be the submit button.can anyone tell me which part of my code went wrong??

Code:

<!-- Search Box -->
<td valign="middle"> <div style="white-space:nowrap">
<form action="http://www.xxxxxxxx.com/forum/search.php" method="post">
<input type="hidden" name="s" value="" />
<input type="hidden" name="do" value="process" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="showposts" value="0" />
<input type="hidden" name="quicksearch" value="1" />
<input type="text" style="width:120px;" class="bginput" name="query"/>
<input style="font: bold 10px Arial" type="submit" value="Search" /></form>
<a style="text-decoration:none" href="search.php" accesskey="4" rel="nofollow" id="navbar_search" class=""></a>&nbsp;
</div></td>
<!-- /Search Box -->


Spank 08-02-2008 11:24 AM

I'm not sure on this, but trial and error should get you there.
try replacing
Code:

<input type="text" style="width:120px;" class="bginput" name="query"/>
with
Code:

<img src="URL OF PIC HERE" />

Adam21 08-02-2008 12:27 PM

Quote:

Originally Posted by Spank (Post 1589792)
I'm not sure on this, but trial and error should get you there.
try replacing
Code:

<input type="text" style="width:120px;" class="bginput" name="query"/>
with
Code:

<img src="URL OF PIC HERE" />

thanks for the reply but its not.i've figured it out anyway.here's it if someone else is interested

replace the above with

Code:

<input type="image" src="BUTTON URL" class="inlineimg" alt="Search for it!" />

Spank 08-02-2008 01:22 PM

lol, told you I wasn't sure. Glad you got it sorted =D


All times are GMT. The time now is 07:56 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01040 seconds
  • Memory Usage 1,719KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete