Results 1 to 5 of 5

Thread: ddsmoothmenu / SSL problem

  1. #1
    Join Date
    Dec 2005
    Posts
    133
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question ddsmoothmenu / SSL problem

    1) Script Title: ddsmoothmenu

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

    3) Describe problem:

    Having this strange SSL error at https://www.logicweb.com/billing/clientarea.php (and during ordering process)

    It was giving off an SSL "insecure elements" error.

    I found the culprit that causes the SSL to be "partially" secured is because of this JS file

    Code:
    <script src="/js/custom.js"></script> <!-- Custom Js file for javascript in html -->
    I had to remove that for now. The content of that file is below. I cannot figure out what's in that file that is causing this.

    http://snippi.com/s/lmtnx5n

    I traced the cause from the custom.js file and had to remove it to make sure SSL is fully secured.

    This portion...

    Code:
    // Navigational Menu ddsmoothmenu
    ddsmoothmenu.init({
        mainmenuid: "menu", //menu DIV id
        orientation: 'h', //Horizontal or vertical menu: Set to "h" or "v"
        classname: 'navigation', //class added to menu's outer DIV
        contentsource: "markup" //"markup" or ["container_id", "path_to_menu_file"]
    })
    As soon as I change "menu"to something else like "menus", it fixes the SSL problem, but breaks the menu itself site-wide. Not sure what to do from here to resolve this both ways. I'm baffled why that small code is causing a 'partially secured" error.

    Would appreciate anyone's help on this. Thank you.
    Talk Jesus Forums [ Over 100 Fulfilled Prophecies in the Bible ]
    .....................................................................................
    LogicWeb [ Awesome Web Hosting Since 2004 ]

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Your page is in violation of Dynamic Drive's usage terms, which, among other things, state that the script credit must appear in the source code of the page(s) using the script. Please reinstate the notice first.


    custom.js is not a part of the dd smooth menu script. Additionally, I'm not getting any error on the page you linked to.

    Almost always though, if you have a security error on a https protocol page (ssl), it is because you are including content from a non-https protocol source (image, script, style, video, iframe, etc.)

    To get rid of the warning/error make sure that all content on the page is also hosted on an ssl (https) partition.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Dec 2005
    Posts
    133
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi,

    Thanks for your reply. This is a design created by someone else, so as for the credit not sure what's missing because the .js file shows this

    /* Smooth Navigational Menu- By Dynamic Drive DHTML code library: http://www.dynamicdrive.com
    Script Download/ instructions page: http://www.dynamicdrive.com/dynamicindex1/ddlevelsmenu/
    */


    Quote Originally Posted by jscheuer1 View Post
    To get rid of the warning/error make sure that all content on the page is also hosted on an ssl (https) partition.
    Well, that's the whole point of me asking/posting here. Did you read the OP? I was as clear as I could be about the issue I'm having. All my content is already fine with https but the problem is that code from this menu script. It's in the OP.
    Talk Jesus Forums [ Over 100 Fulfilled Prophecies in the Bible ]
    .....................................................................................
    LogicWeb [ Awesome Web Hosting Since 2004 ]

  4. #4
    Join Date
    Dec 2005
    Posts
    133
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I found the culprit, FYI in case someone else faces this problem (and earlier I did find someone who posted a similar issue with this script).

    In the .js file, this line

    var ddsmoothmenu={arrowimages:{down:["downarrowclass","",0]
    Changed to

    var ddsmoothmenu={arrowimages:{down:["downarrowclass"]
    SSL good, menu still working as is.

    Hope this helps.
    Talk Jesus Forums [ Over 100 Fulfilled Prophecies in the Bible ]
    .....................................................................................
    LogicWeb [ Awesome Web Hosting Since 2004 ]

  5. #5
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    That solution sounds to me like covering up one error with another, in this case a misunderstanding of how the script works. But if it works for you, that's fine with me.

    And for future reference, please follow DD's usage terms. The credit should be on the page not simply in the script. See also:

    http://www.dynamicdrive.com/notice.htm
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Similar Threads

  1. ddsmoothmenu problem with IE
    By garyw2 in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 11-09-2011, 06:42 AM
  2. ddsmoothmenu problem
    By garyw2 in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 10-30-2011, 10:54 PM
  3. help ddsmoothmenu problem
    By COMECOCO in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 10-12-2011, 07:02 PM
  4. ddsmoothmenu problem with IE 8
    By theladuke in forum Dynamic Drive scripts help
    Replies: 6
    Last Post: 08-17-2011, 03:33 AM
  5. ddsmoothmenu problem in IE8
    By gr00vytunes in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 03-12-2010, 02:34 PM

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
  •