vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How to adjust google search in navbar (https://vborg.vbsupport.ru/showthread.php?t=114785)

stinger2 05-04-2006 10:15 PM

How to adjust google search in navbar
 
need some help here.......i managed to insert the google seach in navbar.......but the space is getting too wide........how can i keep the space same as the original (i.e between the two navbar)....

thanks in advance

http://www.hostmypiconline.com/images/navbar.jpg

http://www.hostmypiconline.com/images/navbar2.jpg

truCido 05-04-2006 10:16 PM

you could make the input field smaller and maybe change the text on the submit button from "Google Search" to "Search"

stinger2 05-05-2006 12:34 AM

thank you for your reply
it helps a bit but not too much....i can not make it as the original....any other idea?

truCido 05-05-2006 07:59 AM

HTML Code:

<form method="get" action="http://www.google.com/custom" target="

google_window"
>

<table border="0" bgcolor="#ffffff">
<tr><td nowrap="nowrap" valign="top" align="left" height="32">

</td>
<td nowrap="nowrap">
<input type="hidden" name="domains" value="yoursite.co.uk"></input>
<input type="text" name="q" size="20" maxlength="255" value=""></input>
<input type="submit" name="sa" value="Search"></input>
<input type="radio" name="sitesearch" value="" checked="checked"></input>
<font size="-1" color="#000000">Web</font>
</td>
<td>
<input type="radio" name="sitesearch" value="yoursite.co.uk"></input>
<font size="-1" color="#000000">yoursite.co.uk</font>
</td>
</td></tr>
<tr>
<td>&nbsp;</td>
<td nowrap="nowrap">

<input type="hidden" name="client" value="yourcodehere"></input>
<input type="hidden" name="forid" value="1"></input>
<input type="hidden" name="ie" value="ISO-8859-1"></input>
<input type="hidden" name="oe" value="ISO-8859-1"></input>
<input type="hidden" name="cof" value="GALT:#9A2C06;GL:1;DIV:#33FFFF;VLC:D

03500;AH:center;BGC:99CCFF;LBGC:CCE5F9;ALC:440066;LC:440066;T:336699;GFNT:

223472;GIMP:223472;FORID:1;"
>
</input>
<input type="hidden" name="hl" value="en"></input>

</td></tr></table>
</form>

How about this? If thats not what your after then I'd look at removing bits in the code to make the search button below closer to the input box

stinger2 05-05-2006 10:16 AM

No...it would not do......thanks again.....actually i made it so it remains in its own table...which i want to make it smaller
..here is my code......there is another solution it think.........
how can we remove the small space above the search balk and also the small space below the web.site.search button?


PHP Code:

<!-- SiteSearch Google -->
        <
td class="alt2" valign="top" nowrap="nowrap">
        <
div class="smallfont">
<
form method="get" action="http://www.google.com/custom" target="_top">
<
table border="0" bgcolor="#DFE6EE">
<
tr><td nowrap="nowrap" valign="top" align="left" height="16">

</
td>
<
td nowrap="nowrap">
<
input type="hidden" name="domains" value="www.yoursite.org"></input>
<
input type="text" name="q" size="40" maxlength="155" value=""></input>
</
td></tr>
<
tr>
<
td>&nbsp;</td>
<
td nowrap="nowrap">
<
table>
<
tr>
<
td>
<
input type="radio" name="sitesearch" value="" checked="checked"></input>
<
font size="-2" color="#000000">Web</font>
</
td>
<
td>
<
input type="radio" name="sitesearch" value="yoursite.org"></input>
<
font size="-2" color="#000000">yoursite.org</font>
</
td>
<
td>
<
input type="submit" name="sa" value="Google Search"></input>
</
td>
</
tr>
</
table>
<
input type="hidden" name="client" value="******************"></input>
<
input type="hidden" name="forid" value="1"></input>
<
input type="hidden" name="ie" value="ISO-8859-1"></input>
<
input type="hidden" name="oe" value="ISO-8859-1"></input>
<
input type="hidden" name="safe" value="active"></input>
<
input type="hidden" name="cof" value="GALT:#008000;GL:1;DIV:#336699;VLC:663399;AH:center;BGC:FFFFFF;LBGC:336699;ALC:0000FF;LC:0000FF;T:000000;GFNT:0000FF;GIMP:0000FF;FORID:1;"></input>
<
input type="hidden" name="hl" value="en"></input>
</
tr>
</
center>
</
td>
</
TABLE>
</
form>
<!-- 
SiteSearch Google --> 


stinger2 05-11-2006 09:55 PM

solved


All times are GMT. The time now is 05:05 PM.

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.01111 seconds
  • Memory Usage 1,759KB
  • 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
  • (1)bbcode_html_printable
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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