View Full Version : some help regarding searching with in the site

01-19-2005, 01:06 PM
pls somebody kindly help me, i don'nt know much about javascript

i want to place some search option in my website.
while i am searching google i saw this site(www.ccvv.com ) which provide script for searching internal site.
i already used that code but i din'nt get results page.

what i did was just place first part of code in one page(in head section)
and i modified <form action="http://www.xyz.org/results.html" method="get">

and <input type="hidden" name="target_url" value="http://www.xyz.org/results.html" />

just i modified in these two places only.

and i created results.html also

first i am giving first page code where i made small changes as i already mentioned

after that i am also giving results.html page code

pls can anybody tell me what modifications i have to do ,and one more thing

idon'nt want ccvv logo in my pages(they already mentioned in their site that u can use with out ccvv logo and this is free script (http://www.downloadfreetrial.com/scripts/javascript/java1028.html))

pls i need help

<form action="http://(your page)/results.html" method="get">
<input type="hidden" name="username" value="raul" />
<input type="hidden" name="results" value="15" />
<input type="hidden" name="target_url" value="http://(your page)/results.html" />
<input type="text" name="keywords" size="45" />
<input type="submit" value="Buscar" />

this results page


var titleColor = '0033FF'
var titleFontFace = 'Verdana'
var titleFontStyle = 'none'
var titleFontSize = '8'
var descriptionColor = '000000'
var descriptionFontFace = 'Verdana'
var descriptionFontStyle = 'none'
var descriptionFontSize = '8'
var biddedUrlStatus = '1'
var biddedUrlColor = 'C4C4C4'
var biddedUrlFontFace = 'Verdana'
var biddedUrlFontStyle = 'none'
var biddedUrlFontSize = '8'
var biddedUrlText = 'Bidded url:'
var biddedUrlTextColor = 'C4C4C4'
var biddedUrlTextFontFace = 'Verdana'
var biddedUrlTextFontStyle = 'none'
var biddedUrlTextFontSize = '8'
var costStatus = '1'
var costColor = '0033FF'
var costFontFace = 'Verdana'
var costFontStyle = 'none'
var costFontSize = '8'
var costTextColor = '000000'
var costTextFontFace = 'Verdana'
var costTextFontStyle = 'none'
var costTextFontSize = '8'
var costText = 'Cost to advertiser: '
var externalEngineStatus = '1'
var externalEngineColor = '000000'
var externalEngineFontFace = 'Verdana'
var externalEngineFontStyle = 'none'
var externalEngineFontSize = '8'
var externalEngineText = 'Results from: '
var externalEngineResultsColor = '000000'
var externalEngineResultsFontFace = 'Verdana'
var externalEngineResultsFontStyle = 'none'
var externalEngineResultsFontSize = '8'
var displayStyle = '0'
<script language='javascript'>
function ju(juego){
window.open(juego,'_blank','location=0,menubar=0,toolbar=0,personalbar=0,status=0,scrollbars=1,width =750,height=500,top=0,left=100');
<script src="http://www.cvxx.com/js_search.php"></script>

01-20-2005, 08:57 PM
Have you looked at Google's free search? It is simple to implement, free, trusted by most everyone, and they give you the code.


The only problem is you can't search within a specific subfolder of your site, but that doesn't seem to be what you want to do anyway.