Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Jan 2005
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    some help regarding searching with in the site

    Hi,
    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/scr.../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" />
    </form>


    this results page

    results.html

    <script>
    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>
    <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>
    <script src="http://www.cvxx.com/js_search.php"></script>
    <script>ppcphp_results()</script>

  • #2
    don
    don is offline
    New Coder
    Join Date
    Sep 2002
    Posts
    76
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Have you looked at Google's free search? It is simple to implement, free, trusted by most everyone, and they give you the code.

    http://www.google.com/searchcode.html

    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.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •