Closed

Replace Text with Links Javascript

This project was awarded to johnmechel for £200 GBP.

Get free quotes for a project like this
Employer working
Project Budget
£20 - £250 GBP
Total Bids
10
Project Description

I have a javascript file which can be embedded on ANY website (this file [url removed, login to view]).

This file gets the document TEXT and POSTS it here [url removed, login to view] (doesn't work without post data).

This returns JSON to the first javascript page, the results of what words to highlight are found on line 20.

The JSON should then be used to replace text with a style (found in "underline_style" => "text-decoration: underline") and the link from the "link" value.

The replace script MUST be based on this code [url removed, login to view] this project has taken great care in it's approach to what it can and cannot replace in the DOM - you will see some of the scenarios in the read me.

Finally an optional pop up box should appear from the "popup_html" field. This is to be styles like the attached image [url removed, login to view]

MUST BE WRITTEN IN PURE JAVASCRIPT AND BE CROSS BROWSER COMPLIANT!

Awarded to:
Skills Required

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online