0

Can anyone help?

I want to create an iframe that runs the html script that is inside a html file on another site.

In the html file exists an html code for a search bar. I want my current site run the file and display the search bar.

Below is an example of code, but it does not run the html script. He tries to download the file.

Example code:

<iframe src = "https://sites.google.com/mycolors/colors.html> </ iframe>
  • given that the url doesn't work at all, why would you expect anything to actually happen? – Marc B Aug 05 '15 at 14:06
  • In the html file exists an html code for a search bar. I want my current site run the file and display the search bar. – William Oliveira Aug 05 '15 at 14:12
  • that's fine, but your url above comes up as "site does not exist". – Marc B Aug 05 '15 at 14:26
  • I typed the url (the first one) in my browser (Firefox), the url works but it tries to make me download a file. The issue comes from the url you are trying to include in the first place. –  Aug 05 '15 at 14:32
  • this has NOTHING to do with your iframe. go to that url with your browser, you get prompted for a download. – Marc B Aug 05 '15 at 14:32
  • Looking at the updated URL: **read the error messages in your developer tools console**. They tell you why it doesn't display. – Quentin Aug 05 '15 at 14:38

0 Answers0