Iframes and verisign seal

Discussion in 'JavaScript' started by tourist91, Jul 27, 2011.

  1. #1
    I did have an iframe called "test" so when a user wanted to login I did open that frame and displaying whatever was needed. The iframe was working perfectly in all browsers. Now, I did install a (shared) verisign seal and I can not close the iframe (when I click in th close button) as it was done before. The code that I used was very simple:

    parent.document.all.test.style.visibility="hidden";
    parent.window.frames["test"].document.body.innerHTML = "";

    Now, that I did make the iframe secure (obviously) the code does not work because the parent is not secure.
    Given that I would like the parent not be secure, could you please help me and tell me what I can do so I can close the iframe?
     
    tourist91, Jul 27, 2011 IP