| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| NamePros Member Join Date: Jul 2006 Location: Gardendale, Texas
Posts: 48
![]() | Placement of a search box Hello there! I'm trying to put a search box from google on my website. For the life of me, I can't figure out how to put it where I want it. The site is at www.wow-tlc.com and I want to put the search box between View Our New Guild Roster and Guild Meetings and Events. The site is mostly php. I can post the source if you like, but I figure you can check the page and just view the source there. Thanks for any help in advance! |
| |
| | #2 (permalink) |
| NamePros Member Join Date: Apr 2006
Posts: 186
![]() | Right below the Guild Roster image just create a new table and stick the search box code in it. Code: <table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td>{search-code-here}</td>
</tr>
</table>
__________________ |
| |
| | THREAD STARTER #3 (permalink) |
| NamePros Member Join Date: Jul 2006 Location: Gardendale, Texas
Posts: 48
![]() | Yes, I could add that if I could find where the heck it is in the index file. The gif that I want to put it under is called guildroster.gif, I figured if I just did a quick search looking for that gif, I could stick it right under there, the problem is, I can't find where the original coder stuck that pic... |
| |
| | #4 (permalink) |
| NamePros Member Join Date: Apr 2006
Posts: 186
![]() | Code: <td width="197">
<a href="?s=guild&p=members"><img src="images/guildroster.gif" width="197" height="84"></a><br>
<br>
<table border="0" cellpadding="0" cellspacing="0" id="memberdetailsbox">
<tr>
<td class="subheader">Guild Meetings and Events</td>
</tr>
<tr>
<td class="smalltext" style="padding:10px;">
<b>Guild Meeting Info posted</b><br><i>05-19-2006</i><br><br><div align="justify" class="smalltext">Latest guild meeting information posted on the Guild Meeting section of the LC board. Or, it can be <a href="http://wow-tlc.com/phpBB2/viewtopic.php?t=1223">Found here.</a></div><br> <a href="?s=community&p=meetings">View more events.</a>
</td>
</tr>
</table>
__________________ |
| |
| | THREAD STARTER #5 (permalink) |
| NamePros Member Join Date: Jul 2006 Location: Gardendale, Texas
Posts: 48
![]() | Ok, I think I know the problem then...though I don't know how to solve it...the index I have is completely different than the source from the page. I guess since it's all php, it's written to refer to other pages to fill in the content. Edit: I didn't do it right, blah...How do I add the source into the little box then? Edit #2: I'm a dummy...It was in my home.php file. But that code only goes on the home page, not each page. Well, I guess one search box is better than none.
Last edited by Zhang; 07-16-2006 at 12:57 PM.
|
| |