View Full Version : Resolved ddsmoothmenu / SSL problem

11-13-2014, 10:42 PM
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

<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.


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

This portion...

// Navigational Menu ddsmoothmenu
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.

11-14-2014, 12:32 AM
Your page is in violation of Dynamic Drive's usage terms (http://www.dynamicdrive.com/notice.htm), 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.

11-14-2014, 01:04 AM

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/

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.

11-14-2014, 01:34 AM
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.

11-14-2014, 02:44 AM
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: