1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

SSL and iFrames

Discussion in 'HTML & Website Design' started by fireflyproject, Mar 23, 2007.

  1. #1
    Does anyone know of any conflicts with iframes and SSL certificates? I have my SSL site set up as best I know for compliance, but I'm still getting errors about it. This is somewhat urgent so the quicker the better. Thanks so much.

    If you want to see the page, it's at https://www.njoynow.com. (NSFW) The splash page works fine with the SSL, however the home.php in the next does now.
     
    fireflyproject, Mar 23, 2007 IP
    Clive likes this.
  2. jiosis

    jiosis Well-Known Member

    Messages:
    892
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    110
    #2
    jiosis, Mar 23, 2007 IP
  3. Clive

    Clive Web Developer

    Messages:
    4,507
    Likes Received:
    297
    Best Answers:
    0
    Trophy Points:
    250
    #3
    I receive a "Connection partially encrypted" message on your homepage.

    Get rid of the iframe by replacing it with the following code:
    <div style="width: 500px; height: 150px; overflow: auto;">Your terms here.</div>
    Code (markup):
    Div scrollers will be automatically added if required, just like with an iframe. But you won't need to create a separate page to put in the iframe. It's the better way of doing things.
     
    Clive, Mar 24, 2007 IP
  4. fireflyproject

    fireflyproject Active Member

    Messages:
    969
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    70
    #4
    Right Clive. If I designed the site originally, that's how it would have been done. When I was first hired onto this job, the entire site was all images, no text at all, so I've done a lot of MAJOR improvements, but until we step into our next phase, the iframe has to stay unfortunately. I guess there is a correlation between the two, I'll try to figure out a way around it for the time being I guess.
     
    fireflyproject, Mar 24, 2007 IP
  5. Clive

    Clive Web Developer

    Messages:
    4,507
    Likes Received:
    297
    Best Answers:
    0
    Trophy Points:
    250
    #5
    Right, there are other errors that are breaking the SSL lock on your homepage.

    Like for instance
    <img src=http://www.njoynow.com/site/images/straight.jpg border=0>
    Code (markup):
    Chould be changed to
    <img src=https://www.njoynow.com/site/images/straight.jpg border=0>
    Code (markup):
    By rule, all page elements should be loaded using the SSL connection, therefore all images, javascript, css stylesheets location should be called using https://.
     
    Clive, Mar 24, 2007 IP
  6. fireflyproject

    fireflyproject Active Member

    Messages:
    969
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    70
    #6
    Allright. Thanks Clive.
     
    fireflyproject, Mar 24, 2007 IP
  7. Clive

    Clive Web Developer

    Messages:
    4,507
    Likes Received:
    297
    Best Answers:
    0
    Trophy Points:
    250
    #7
    I see no updates on your site, still having issues?
     
    Clive, Mar 24, 2007 IP
  8. fireflyproject

    fireflyproject Active Member

    Messages:
    969
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    70
    #8
    I won't be in the office until monday, so no updates till then. I'm posting this from home.
     
    fireflyproject, Mar 24, 2007 IP
  9. fireflyproject

    fireflyproject Active Member

    Messages:
    969
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    70
    #9
    Ok, I think I figured out our issue. We are using Google Analytics as one stat program... but we were not using the SSL version, so I've changed to that and so far it's working well, we will see if I run into any other troubles.
     
    fireflyproject, Mar 26, 2007 IP
  10. Clive

    Clive Web Developer

    Messages:
    4,507
    Likes Received:
    297
    Best Answers:
    0
    Trophy Points:
    250
    #10
    Yep, good to see it working. Anyway, remember that a page running a SSL lock should not make any calls to unencrypted content, be it javascript or CSS stylesheets or anything else, or it will cause the secure connection to break.
     
    Clive, Mar 26, 2007 IP
  11. fireflyproject

    fireflyproject Active Member

    Messages:
    969
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    70
    #11
    Allright, thanks again for all the help Clive!
     
    fireflyproject, Mar 26, 2007 IP