code_junkie

Are iframes a terrible idea?

Nov 11th, 2011
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. document.domain = 'somedomain.com';
  2.  
  3. HttpContext.Current.Response.AddHeader("p3p", "CP=""IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT""")
  4.  
  5. <iframe src="content.html">
  6. <p>
  7. This content will only be displayed by browsers that do not support
  8. iframes. You should provide a link to the content, or in your
  9. case an alternative way to use your widget.
  10. </p>
  11. </iframe>
Add Comment
Please, Sign In to add comment