Calysto du Masque (calysto) wrote in component_help,
Calysto du Masque
calysto
component_help

LiveJournal Search Box

This creates a li'l box containing the LiveJournal search feature. (searches username, interest, region, etc)



LiveJournal Search Box

  • Copy the following code into your customized theme layer inside a function (i.e. print_free_text() )
  • Do not paste it inside a print_comp_header().
  • An example of this component can be seen on my journal, calysto



"""
    <tr><td colspan=7>
     <table cellspacing="0" cellpadding="0" border="0" width="100%">
      <tr>
	<td valign="top" rowspan="3" colspan="3" width="5"><img src="http://www.livejournal.com/palimg/component/curve-top-left.gif/p0ffffff1b3b3b32e5e5e5" width="5" height="5" alt="" border="0" /></td>
	<td class="dkLine"><img src="http://www.livejournal.com/palimg/component/clear.gif" width="1" height="1" alt="" border="0" /></td>
	<td valign="top" rowspan="3" colspan="3" width="5"><img src="http://www.livejournal.com/palimg/component/curve-top-right.gif/p0ffffff1b3b3b32e5e5e5" width="5" height="5" alt="" border="0" /></td>
      </tr><tr>
	<td class="ltLine"><img src="http://www.livejournal.com/palimg/component/clear.gif" width="1" height="1" alt="" border="0" /></td>
      </tr><tr>
	<td class="tabBg"><img src="http://www.livejournal.com/palimg/component/clear.gif" width="1" height="3" alt="" border="0" /></td>
      </tr><tr>
	<td class="dkLine" width="1"><img src="http://www.livejournal.com/palimg/component/clear.gif" width="1" height="1" alt="" border="0" /></td>
	<td class="ltLine" width="1"><img src="http://www.livejournal.com/palimg/component/clear.gif" width="1" height="1" alt="" border="0" /></td>
	<td class="tabBg" width="3"><img src="http://www.livejournal.com/palimg/component/clear.gif" width="1" height="3" alt="" border="0" /></td>
	<td class="tabBg" width="100%" align="center">
        <table>
         <tr>
          <td align="center">
           <form id='Search' action='http://www.livejournal.com/multisearch.bml' method='post'>
            <b>Search <font color="#3333FF">LiveJournal</font></b><br>
              <input id='SearchTerm' type='text' name='q' size='15' value='' /><br>
              <select id='SearchType' name='type'>
               <option value='user'  selected='selected'>Username</option>
               <option value='email' >Email</option>
               <option value='region' >Region</option>
               <option value='int' >Interest</option>
               <option value='aolim' >AOL IM</option>
               <option value='icq' >ICQ Number</option>
               <option value='yahoo' >Yahoo! ID</option>
               <option value='msn' >MSN Username</option>
               <option value='jabber' >Jabber</option>
              </select><br>
              <input type='submit' value='Search' />
             </form>
           </td>
          </tr>
         </table>
	<td class="tabBg" width="3"><img src="http://www.livejournal.com/palimg/component/clear.gif" width="1" height="3" alt="" border="0" /></td>
       <td class="ltLine" width="1"><img src="http://www.livejournal.com/palimg/component/clear.gif" width="1" height="1" alt="" border="0" /></td>
       <td class="dkLine" width="1"><img src="http://www.livejournal.com/palimg/component/clear.gif" width="1" height="1" alt="" border="0" /></td>
      </tr><tr>
	<td valign="top" rowspan="3" colspan="3" width="5"><img src="http://www.livejournal.com/palimg/component/curve-bottom-left.gif/p0ffffff1b3b3b32e5e5e5" width="5" height="5" alt="" border="0" /></td>
	<td class="tabBg"><img src="http://www.livejournal.com/palimg/component/clear.gif" width="1" height="3" alt="" border="0" /></td>
	<td valign="top" rowspan="3" colspan="3" width="5"><img src="http://www.livejournal.com/palimg/component/curve-bottom-right.gif/p0ffffff1b3b3b32e5e5e5" width="5" height="5" alt="" border="0" /></td>
      </tr><tr>
	<td class="ltLine"><img src="http://www.livejournal.com/palimg/component/clear.gif" width="1" height="1" alt="" border="0" /></td>
      </tr><tr>
  	<td class="dkLine"><img src="http://www.livejournal.com/palimg/component/clear.gif" width="1" height="1" alt="" border="0" /></td>
       </tr>
      </table>
     </td></tr>
    <tr><td colspan=5><img src="http://www.livejournal.com/palimg/component/clear.gif" width="1" height="3" alt="" border="0" /></td></tr>
""";




Tags: admin: deprecated, user: calysto
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

  • 17 comments