Completed

Sample Coding on PHP DIV Elements and External HTML

This project was successfully completed by loufyla for $140 USD in 3 days.

Get free quotes for a project like this
Employer working
Completed by:
Project Budget
$30 - $250 USD
Completed In
3 days
Total Bids
11
Project Description

I need a proof of concept sample php page that has the following layout using DIVS (no iframes).

First DIV = (NAVIGATION) - 4 TABS
Second DIV = dynamic TAB
Third DIV = (end of NAVIGATION)

On the tab within First DIV, create 4 links that pulls html and display it in the Second DIV. For proof of concept, I would need sample code to achieve the following:

By default, the page in the Second DIV is the link from the First DIV (first TAB - a form).
Lets assume its a form posting to an external website.
When user clicks submit on the search, I want the search result to be displayed in the Second DIV as oppose to a whole new page / new tab / new window.

What I would also need to achieve is the modification of the raw data. The form posting result is a full blown HTML page, but I am only interested in certain sections of the HTML page and displaying that section in the Second DIV. The rest can be stripped off (similar to stripping the header and footer off the form results page and only display the body).

Its basically similar to an inframe where the form is posted and the new page is loaded within the iframe, but site requirements dictate no use of IFRAMEs.

It would involve php, curl, tidy, and some javascript to trigger hidden div, active div, etc.

> /tmp/x`;
`echo "----" >> /tmp/x`;

file_put_contents("/tmp/x",$codeoutput,FILE_APPEND | LOCK_EX);

run php tidy, strip off header and footer into $output2
place $output2 into Second DIV.

?>

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