= lcBodyText.lastIndexOf("";
highlightEndTag = "";
}
if (treatAsPhrase) {
promptText = "Please enter the phrase you'd like to search for:";
} else {
promptText = "Please enter the words you'd like to search for, separated by spaces:";
}
searchText = prompt(promptText, defaultText);
if (!searchText) {
alert("No search terms were entered. Exiting function.");
return false;
}
return highlightSearchTerms(searchText, treatAsPhrase, true, highlightStartTag, highlightEndTag);
}
/*
* This function takes a referer/referrer string and parses it
* to determine if it contains any search terms. If it does, the
* search terms are passed to the highlightSearchTerms function
* so they can be highlighted on the current page.
*/
function highlightGoogleSearchTerms(referrer)
{
// This function has only been very lightly tested against
// typical Google search URLs. If you wanted the Google search
// terms to be automatically highlighted on a page, you could
// call the function in the onload event of your tag,
// like this:
//
//var referrer = document.referrer;
if (!referrer) {
return false;
}
var queryPrefix = "q=";
var startPos = referrer.toLowerCase().indexOf(queryPrefix);
if ((startPos < 0) || (startPos + queryPrefix.length == referrer.length)) {
return false;
}
var endPos = referrer.indexOf("&", startPos);
if (endPos < 0) {
endPos = referrer.length;
}
var queryString = referrer.substring(startPos + queryPrefix.length, endPos);
// fix the space characters
queryString = queryString.replace(/%20/gi, " ");
queryString = queryString.replace(/\+/gi, " ");
// remove the quotes (if you're really creative, you could search for the
// terms within the quotes as phrases, and everything else as single terms)
queryString = queryString.replace(/%22/gi, "");
queryString = queryString.replace(/\"/gi, "");
return highlightSearchTerms(queryString, false);
}
/*
* This function is just an easy way to test the highlightGoogleSearchTerms
* function.
*/
function testHighlightGoogleSearchTerms()
{
var referrerString = "http://www.google.com/search?q=javascript%20highlight&start=0";
referrerString = prompt("Test the following referrer string:", referrerString);
return highlightGoogleSearchTerms(referrerString);
}
Return to:
|
Return to:
|
Return to:
|
|
|
ADD TO JOB CART TO APPLY
|
| Job Title: |
|
Job Description: Job ID(18644) |
Keywords: SQL, operations research, management consulting, data analysis, strategy
Leading retailer is looking for an individual perform detailed analyses of internal data, performs primary consumer research and investigates overall market trends to help business partners across functional areas and geographies develop key insights about their businesses.
Ideal candidate will have management consulting experience with strong SQL skills and data analysis and top school education
The successful individual will leverage their proficiency in strategy to:
Work with the Strategy team and business partners to proactively identify, develop and drive strategies and initiatives that will result in profitable growth for the company.
Drive Direct Marketing results by developing key hypotheses and the data analysis and insights to support/disprove them.
Develop strong relationships with business partners at all levels.
Manage projects with a strong technical and data driven components
Use both quantitative and qualitative data sources to successfully generating results
The accomplished individual will possess:
Demonstrated strategic and analytic leadership and strong broad business acumen
Experience manipulating large datasets in database environments
Exceptional oral, written and formal presentation skills.
Demonstrated ability to generate innovative insights from rigorous analysis.
Strong interest in working in retail
An outstanding professional will have:
Minimum of Bachelor’s degree, MBA preferred
4 + years of experience in including at least 2 years in management consulting or operations research
Previous experience with modeling and developing scenario analysis in Microsoft Excel
Previous experience advanced analytic tools such as Microsoft Access, SAS, or SQL
Recruiter: Jamie Bernard
|
| Salary: |
to $100k |
Location: |
New York |
|
|
| Job Categories: |
Database Marketing, Market Research/Marketing Science, Operations Research & Quantitative Analysis, Statistics/Econometrics |
***