WebFX WebBoard
Message Thread:
View All Messages
Back to WebFX
 DHTML Menu4 on secure server, JJJ, August 19, 2002
     Re:DHTML Menu4 on secure server, Erik Arvidsson, August 19, 2002
         Re:DHTML Menu4 on secure server, JJJ, August 19, 2002
             Re:DHTML Menu4 on secure server , Chris Masiero, May 14, 2003
             Re:DHTML Menu4 on secure server, Erik Arvidsson, August 20, 2002

Subject: Re:DHTML Menu4 on secure server From: Erik Arvidsson Date: August 20, 2002

Thanks a lot for sharing that. I thought the issues was with any document.write call on a new document (like iframe and popup).

erik

From: JJJ
Sent: August 19, 2002
Subject: Re:DHTML Menu4 on secure server

sorry for asking this again, i did look around before i posted but did not see anything.  thanks for the response.

i may have a solution that will at least resolve the issue in some cases ( like mine   8> ).  create a 'blank' html page on the secure server and point the IFRAME's source to it.  in quick testing this works as long as you remain on the same server.

in menu4.js find the IFRAME code and add the 'src' for the IFRAME.

 if ( mf == null ) {
  mf = Menu._measureFrame = document.createElement("IFRAME");
  var mfs = mf.style;
  mfs.position = "absolute";
  mfs.visibility = "hidden";
  mfs.left = "-100px";
  mfs.top = "-100px";
  mfs.width = "10px";
  mfs.height = "10px";
  mf.frameBorder = 0;
  mf.src="/blank.html"                                //<<-- point the iframe to a blank page on the secure server
  document.body.appendChild( mf );
 }

by the way, awesome piece of coding you have done!  thanks!!

From: Erik Arvidsson
Sent: August 19, 2002
Subject: Re:DHTML Menu4 on secure server

This has been answered before.

It cannot be solved (as far as I know) :-(

erik

From: JJJ
Sent: August 19, 2002
Subject: Re:DHTML Menu4 on secure server

when using DHTML Menu 4 on a secure server (i.e. HTTPS://) the 'this page contains both secure and nonsecure items' alert comes up.  is there a good way to avoid this, it is very misleading to the user.  i've run across this using IFRAME before, and have utilized a blank page on the site for the IFRAME source and bypassed the alert.  how would i go about this with DHTML Menu 4?  thanks for any help.  j







Reply
Name: 
Email: 
Subject: 

Enter your reply to this message below. HTML tags are not supported but words that start with http://, ftp:// or mailto: are converted to links.


View All Messages
Back to WebFX