html - Can I set a style for the content of an iframe from the main page? -


We have a page that embeds Google Calendar in an iframe. Recently, a warning box division began to appear on the calendar that looks like this:

  & lt; Div id = "warningbox" style = "color: # aa0000;" & Gt; Event calendars can not be shown here by one or more because you do not have permission to view them. & Lt; / Div & gt;  

We do not want this box to appear on the page. Obviously the best solution is to find personal events here and remove them, but so far they have proved useless in the search of those incidents. This calendar is a total of many calendars, in which some of us do not control (i.e. weather). We are still looking, but in the meantime I would like to try to hide that plan (especially if we can not change the private event being proved on a calendar).

I know that the separation between the applied pages of the iframes, such as the child page is very lawful, for self. But surely there should be a way to set a style on an element inside the frame?

Unfortunately, there is not. Until the iframe is on one, you can not access its content. If IRAM is related to the same domain as the parent's page, then you will not have any problems.


Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -