Jump to content

Search Field


Guest tbladecki

Recommended Posts

Guest tbladecki

How can I add the "search" function to my 404 page? I know how to edit the coding on the page, but what is or where can I find the coding for CC? I would like to be able to copy and paste in code where I want it on the 404 page. My hosting company has a "search" generator, however it does not work with CC. please help

Link to comment
Share on other sites

You should be able to do this using javascript and using includes\boxes\searchForm as your reference. I don't have time to work this out but would look something like:

<form action="http://www.yoursiteaddress/includes/boxes/searchForm.php"

target="_blank">

The whole thing might look something like:

<form action=""http://www.yoursiteaddress/includes/boxes/searchForm.php" "

target="_blank">

<div id="Layer9" style="position:absolute; width:274px; height:18px; z-index:9; left: 650px; top: 244px;">

<p><span class="style25">Quality</span> <span class="style9">Products at</span><span class="style25"> Affordable</span> <span class="style9">Prices</span> </p>

</div>

<div align="justify">

<table width="385" height="28" border="0"

cellpadding="0" cellspacing="0">

<tr><td width="385" height="30" valign="top" bgcolor="#FFFFFF"><p align="top" style="margin-top: 2; margin-bottom: 2"><font face="Arial"><span class="style9">search</span>

<input type="text" name="search" size="10">

</font><select name="way" size="1">

<option value="any">Any Words</option>

<option value="all" selected>All Words</option><option value="exact">

Exact Phrase</option>

</select>

<font face="Arial">

<input type="submit" value="Go" name="B1">

</font></p>

</td></tr>

</table>

</div>

</form>

This would give the option to search with 'all words' or 'any words'

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...