Guest tbladecki Posted August 19, 2005 Share Posted August 19, 2005 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 Quote Link to comment Share on other sites More sharing options...
Guest tbladecki Posted August 20, 2005 Share Posted August 20, 2005 Any suggestions?? I would really like to add this feature to my error pages. Quote Link to comment Share on other sites More sharing options...
roban Posted August 20, 2005 Share Posted August 20, 2005 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' Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.