Fix a bug... loading remote javascript

This project was awarded to levanilashvili for £33 GBP.

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

I'm having issues including another site (a clothing catalog) directly into a site I am currently building. It must be Included, not iFramed!!

The External Catalog site: [url removed, login to view]
My Site: [url removed, login to view]

As you can see, I have managed to 'include' the external website fairly well, using file_get_contents, and several htaccess hacks that make the navigation and images work etc... (I also make the script trim the first 63 lines of external site to remove headers etc, and then place the css/scripts in the header of my site)

However the Javascript that is on the external page, to load pricing... is not working within my site.. so no pricing is displayed as you will notice on the two URLs above.

A file called [url removed, login to view] which I have cached locally, so I can edit slightly ([url removed, login to view]) , is loading another javascript file ([url removed, login to view]) containing the prices. This is where it has all gone wrong.. i belive because its trying to load js from an external domain it is blocking it. You will notice under the 'Network' tab on Chromes developer tools / firebug, that it is being blocked. "Load Cancelled - Method: OPTIONS"

Im really hoping someone can come up with a solution, and rather than post on StackOverflow etc, am willing to pay for an answer!


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