Results 1 to 4 of 4

Thread: https and non secure alert

  1. #1
    Join Date
    Apr 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question https and non secure alert

    1) Script Title: DHTML Window Widget

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...wler/index.htm

    3) Describe problem:
    hi,
    First of all many thanks for distributing this wonderful script. We are using it on one of the secure sites. All the contents are coming from secure level however, when I click on a cancel button which I have provided I am calling the hide method on the object created in parent page.

    When this hide is called in IE6 it is giving me a secure non secure content alert. There is no non secure content on this page. It works fine with IE7 and FF.

    Can you kindly help? Thanks in advance.

    Regards

    Parag
    Last edited by ddadmin; 04-17-2009 at 08:21 AM.

  2. #2
    Join Date
    Aug 2004
    Posts
    9,895
    Thanks
    3
    Thanked 967 Times in 955 Posts
    Blog Entries
    15

    Default

    Please do a search on the forums- there are a few threads on this already.
    DD Admin

  3. #3
    Join Date
    Apr 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    actually the problem is that this security alert is shown when I am using modal.js using dhtmlmodal object. It is serving the functionality of modal window. But throwing the security alert when I am using hide method.

    If I am using the dhtmlwindow object it is working fine without security alert.

    I could not find a similar theread in forum ... can you kindly refere any if I have missed?

    Many Thanks

    Parag
    Last edited by ddadmin; 04-17-2009 at 08:00 PM.

  4. #4
    Join Date
    Aug 2004
    Posts
    9,895
    Thanks
    3
    Thanked 967 Times in 955 Posts
    Blog Entries
    15

    Default

    The modal script inherits from the main DHTML window script, so any solution for the later should work for the former as well. One such discussion on this can be found here. In a nutshell, inside dhtmlwindow.js, try finding the below line:

    Code:
    			t.contentarea.innerHTML='<iframe src="" style="margin:0; padding:0; width:100%; height: 100%" name="_iframe-'+t.id+'"></iframe>'
    And change the src property to point to an actual page behind the secure layer, such as:

    Code:
    			t.contentarea.innerHTML='<iframe src="blank.htm" style="margin:0; padding:0; width:100%; height: 100%" name="_iframe-'+t.id+'"></iframe>'
    blank.htm should just be a blank page that exists.
    DD Admin

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •