Cleveland Nightlife Forum Index
    
Calendar

Post new topic   Reply to topic Help integrating the google search bar.

Cleveland Nightlife Forum Index : Suggestions, Support, and Bug Reports
View previous topic : View next topic
Posted by: Tymezup Reply with quote Add User to Ignore List
 Moderator
Posted: Sun Aug 17, 2008 8:36 pm
Joined: 01 Feb 2004  Posts: 5295
 Post Post subject: Help integrating the google search bar.

Location: Cleveland, OH
Back to top


Ok.... I have tried everything in the world to make that google search bar work properly (and I do love the way it is integrated into the form when you do a search).

I just can't find a way to make it look right in the header, however. I would like to make it part of the menu bar. I have tried every way to do it, and it just don't work. So for those of you who are good at it... let's see what you can come up with.

The stuff between the CENTER tag is the google code - which can't be edited - not even the DIV tags. I was thinking I could use "IFRAME" but don't really want to here.



Code:

<table>
<tr>
<td><span class="mainmenu">&nbsp; <a href="{U_CALENDAR}" class="mainmenu">{L_CALENDAR}</a>&nbsp; &nbsp; <a href="{U_GALLERY}" class="mainmenu">Gallery</a>&nbsp; &nbsp; <a href="{U_FAQ}" class="mainmenu">{L_FAQ}</a>&nbsp; &nbsp;<a href="{U_SEARCH}" class="mainmenu">{L_SEARCH}</a>&nbsp; &nbsp;<a href="{U_MEMBERLIST}" class="mainmenu">{L_MEMBERLIST}</a>&nbsp; &nbsp;<a href="{U_GROUP_CP}" class="mainmenu">{L_USERGROUPS}</a>&nbsp;
<BEGIN>
&nbsp;<a href="{U_REGISTER}" class="mainmenu">{L_REGISTER}</a>&nbsp;
<END>
<span class="mainmenu">&nbsp;<a href="{U_PROFILE}" class="mainmenu">{L_PROFILE}</a>&nbsp; &nbsp;<a href="{U_PRIVATEMSGS}" class="mainmenu">{PRIVATE_MESSAGE_INFO}</a>&nbsp; &nbsp;<a href="{U_LOGIN_LOGOUT}" class="mainmenu">{L_LOGIN_LOGOUT}</a>&nbsp;</span>
                  <BEGIN>
                  &nbsp;<a href="{is_modo.U_PC_LIST}" class="mainmenu">{is_modo.L_PC_LIST}</a>&nbsp;
                  <END>
</span></td>
</tr>
</table>
      {CALENDAR_BOX}
<center>
<table>
<tr><td>

<div class="cse-branding-right">
  <div class="cse-branding-form">
    <form>
      <div>
        <input>
        <input>
        <input>
        <input>
        <input>
      </div>
    </form>
  </div>
  <div class="cse-branding-logo">
    <img src="http://www.google.com/images/poweredby_transparent/poweredby_000000.gif" alt="Google">
  </div>
  <div class="cse-branding-text">
    Custom Search
  </div>
</div>

</td></tr>
</table>
</center>
<end>



 View user's profile Send private message Send e-mail Visit poster's website AIM Address ICQ Number

Posted by: The Scythian Reply with quote Add User to Ignore List
 Cockmongler
Posted: Sun Aug 17, 2008 10:39 pm
Joined: 04 Mar 2005  Posts: 2184
 Post Post subject:

Location: ...all up in your tight ass!
Back to top


You can't edit the code because it will screw up how it works, or you can't edit the code because google said so? I don't blame you if they say so and you listen. This site gets some heavy traffic and they might get a wee bit pissed about it.

If you can't edit the code though. I think you are pretty much SOL. I goofed around with it ALOT, the only way to really make it look presentable though is to hack that code up, or just put it at the bottom of the site.

_________________


 View user's profile Send private message Send e-mail Visit poster's website AIM Address

Posted by: Tymezup Reply with quote Add User to Ignore List
 Moderator
Posted: Sun Aug 17, 2008 10:56 pm
Joined: 01 Feb 2004  Posts: 5295
 Post Post subject:

Location: Cleveland, OH
Back to top


I wasn't totally clear on that... the only thing that can't be edited per google TOS is this:

Code:

<div class="cse-branding-right">
  <div class="cse-branding-form">
    <form>
      <div>
        <i type="hidden" name="cx" value="partner-pub-3405328735048623:nlsyzl-sb7r">
        <i type="hidden" name="cof" value="FORID:10">
        <i type="hidden" name="ie" value="ISO-8859-1">
        <i type="text" name="q" size="31">
        <i type="submit" name="sa" value="Search">
      </div>
    </form>
  </div>
  <div class="cse-branding-logo">
    <img src="http://www.google.com/images/poweredby_transparent/poweredby_000000.gif" alt="Google">
  </div>
  <div class="cse-branding-text">
    Custom Search
  </div>
</div>



Interestingly enough.. the stuff inside the <input> tags didn't appear... that's a strange bug so I changed input to i.


 View user's profile Send private message Send e-mail Visit poster's website AIM Address ICQ Number

Posted by: graph Reply with quote Add User to Ignore List
 hublugggggghhhh
Posted: Sun Aug 17, 2008 11:14 pm
Joined: 06 Apr 2004  Posts: 8898
 Post Post subject:

Location: 216/412
Back to top


as far as 'making it look right' what do you mean? what's the end goal?

_________________


 View user's profile Send private message

Posted by: Tymezup Reply with quote Add User to Ignore List
 Moderator
Posted: Mon Aug 18, 2008 5:11 am
Joined: 01 Feb 2004  Posts: 5295
 Post Post subject:

Location: Cleveland, OH
Back to top


End goal is either:

A) Integrate it into the menu bar.

B) Find a better placement for it than I did.

It is actually growing on me somehow. I need to get the "Calendar" icon on the same row..... working on that now for a few.


 View user's profile Send private message Send e-mail Visit poster's website AIM Address ICQ Number

Posted by: TekKnowProd Reply with quote Add User to Ignore List
 Afterhours Champion
Posted: Mon Aug 18, 2008 8:35 am
Joined: 17 Jan 2008  Posts: 1365
 Post Post subject:


Back to top


Remove this, its just fluff
"

Custom Search
"

then on the add class=""

then look through your page codes and see what style name is applied to your text box's currently and add that name as the class param.

Edit: does not look like you currently apply a style to the textboxs so your going to have to replace class="" wth style="" and create the visual in there
This will give you a good start on style - http://www.w3schools.com/TAGS/tag_style.asp

_________________
http://www.facebook.com/group.php?gid=85462434860&ref=ts


 View user's profile Send private message

Posted by: Tymezup Reply with quote Add User to Ignore List
 Moderator
Posted: Mon Aug 18, 2008 5:54 pm
Joined: 01 Feb 2004  Posts: 5295
 Post Post subject:

Location: Cleveland, OH
Back to top


TekKnowProd wrote:
Remove this, its just fluff
Code:
"<div class="cse-branding-logo">
    <img src="http://www.google.com/images/poweredby_transparent/poweredby_000000.gif" alt="Google">
  </div>
  <div class="cse-branding-text">
    Custom Search
  </div> "


then on the
Code:
<i type="text" name="q" size="31"> add class=""


Cannot edit the google code. That has to remain as it as part of their Terms of Service.

then look through your page codes and see what style name is applied to your text box's currently and add that name as the class param.

Edit: does not look like you currently apply a style to the textboxs so your going to have to replace class="" wth style="" and create the visual in there
This will give you a good start on style - http://www.w3schools.com/TAGS/tag_style.asp


I tried i frame earlier today, but couldn't make that work either. I'll keep trying though.


 View user's profile Send private message Send e-mail Visit poster's website AIM Address ICQ Number

Posted by: TekKnowProd Reply with quote Add User to Ignore List
 Afterhours Champion
Posted: Tue Aug 19, 2008 7:48 am
Joined: 17 Jan 2008  Posts: 1365
 Post Post subject:


Back to top


Tymezup wrote:
TekKnowProd wrote:
Remove this, its just fluff
Code:
"<div class="cse-branding-logo">
    <img src="http://www.google.com/images/poweredby_transparent/poweredby_000000.gif" alt="Google">
  </div>
  <div class="cse-branding-text">
    Custom Search
  </div> "


then on the
Code:
<i type="text" name="q" size="31"> add class=""


Cannot edit the google code. That has to remain as it as part of their Terms of Service.

then look through your page codes and see what style name is applied to your text box's currently and add that name as the class param.

Edit: does not look like you currently apply a style to the textboxs so your going to have to replace class="" wth style="" and create the visual in there
This will give you a good start on style - http://www.w3schools.com/TAGS/tag_style.asp


I tried i frame earlier today, but couldn't make that work either. I'll keep trying though.


IFrames blow. Not supported consistently across platforms and browsers.

_________________
http://www.facebook.com/group.php?gid=85462434860&ref=ts


 View user's profile Send private message

Post new topic   Reply to topic
Display posts from previous:   

Page 1 of 1
All times are GMT - 5 Hours

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot post calendar events in this forum

Cleveland Nightlife topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group