davidenos/Sandbox — pull request #2 by marascof (2014-06-16 01:42:53+00:00)
Title: Franchesca M. Test

Hello! Here are the changes you requested from the test. Here's a quick rundown of what I did based on my understanding of the instructions:

I edited the example.html file to act as the "main" website that would be utilizing the message iframe, presumably as third-party content. I used some javascript to automatically generate an iframe, assign it an id, and generate the src url within it. Then there's a function to change the background of the iframe to a separate color from the host site, as I understand that (for security reasons), iframes and their host pages cannot communicate, and so the iframe was unable to display the background color as different from the main page.

There's two new files: frame.html, which is the iframe's default page, and is the where the actual mockup was built; the style.css is pretty self explanatory, just the css I used to make it pretty.

The form doesn't actually work, as I wasn't sure where to send it to in the first place - but clicking submit should generate a pop-up. Same goes for the facebook log in (especially since they require you to create an app and what-not to connect to your page to allow users to log in and grant permission to your page to access their information).

If there's anything I misunderstood, please let me know and I'd be happy to fix it. Otherwise, I hope everything is in working order! Thanks!