Find Jobs
Hire Freelancers

Google Search and Basic Javascript;

$10-15 USD

Completed
Posted over 14 years ago

$10-15 USD

Paid on delivery
Use Javascript and Google search API to create live search results on the attached HTML document. Consult Google for reference on how to use the API: [login to view URL] The results will either be local web search (No other columns or search types); or image search based on settings outlined below. Thanks in advance for your time. ## Deliverables Setup the google search allowing me to alter settings using these self explanatory variables: var liveSearchOn = true; var liveSearchResults = 3; var liveSearchURL = "[login to view URL]"; var liveSearchGrowSpeed = 1000; var liveSearchShrinkSpeed = 3000; var liveSearchDisableShrink = false; var liveSearchContentURL = "[login to view URL]"; var liveSearchImageMode = false; var liveSearchMinimumEntry = 3; var liveSearchCloseDelay = 10; FUNCTION grow Increase the size of liveResults DIV from 0 to its original size for liveSearchGrowSpeed milliseconds ENDFUNCTION FUNCTION shrink Save search in variable and remove the innerHTML out of liveResultsCell Hide the liveContent IFRAME Decrease the size of liveResults DIV from original size to 0 for liveSearchShrinkSpeed milliseconds ENDFUNCTION Store the original height of liveResults DIV Call shrink function with milliseconds set to 0 // Perform search IF liveSearchOn is on AND search input value (text) length is higher than liveSearchMinimumEntry value AND is not a numeral THEN Call grow function Perform google search and populate liveResultCell, in the table that has grown IF liveSearchImageMode THEN display google image results reveal the liveContent IFRAME Navigate the IFRAME to liveSearchContentURL ENDIF // Hide search results when time is up IF the last input field keyup or click event is more than liveSearchCloseDelay milliseconds AND liveSearchCloseDelay is not 0 AND it has a value AND live search is turned on THEN Call shrink function // Provide a cancel shrink command IF user clicks on liveResults DIV AND input field has a value THEN cancel the shrink process reset the close delay timer display the saved search again ENDIF Keep the results hidden if live search is turned off //////////////////////////////////////////////////////// 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.<BR> 2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):<BR>a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.<BR>b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.<BR>3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).<BR> ## Platform Must work on the following browsers: Internet Explorer 6 and above / Firefox 1.5 and above
Project ID: 2932062

About the project

2 proposals
Remote project
Active 15 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
See private message.
$12 USD in 14 days
5.0 (47 reviews)
5.0
5.0
2 freelancers are bidding on average $12 USD for this job
User Avatar
See private message.
$12.75 USD in 14 days
5.0 (8 reviews)
2.0
2.0

About the client

Flag of UNITED KINGDOM
London, United Kingdom
5.0
1
Member since Oct 23, 2009

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.