Results 1 to 2 of 2

Thread: SSL Breaks Script

  1. #1
    Join Date
    Jan 2013
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unhappy SSL Breaks Script

    1) Script Title: All Levels Navigational Menu (v3.02)

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

    3) Describe problem: I installed the contents of the zip file into a test folder and uploaded to my site.
    My site happens to be an HTTPS (SSL) site, and there is a problem with the script when run here.
    https://theamericasdiamonds.com/test/demo.htm
    If I load the same folder on a non secure site it works fine.

    The problem occurs when you hover over any multilevel menu, the screen Breaks in half horizontally with 2 404 errors. One above the menu and another below.

    Try it!

    I would like to use it with my ssl site.

    Thanks
    thefitz1

  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

    For SSL you need to make up a blank HTML page called blank.htm and put it in the same folder as the menu. See inside the script:

    Code:
    //** All Levels Navigational Menu- (c) Dynamic Drive DHTML code library: http://www.dynamicdrive.com
    //** Script Download/ instructions page: http://www.dynamicdrive.com/dynamicindex1/ddlevelsmenu/
    //** Usage Terms: http://www.dynamicdrive.com/notice.htm
    
    //** Current version: 3.02 See changelog.txt for details
    
    if (typeof dd_domreadycheck=="undefined") //global variable to detect if DOM is ready
    	var dd_domreadycheck=false
    
    var ddlevelsmenu={
    enableshim: true, //enable IFRAME shim to prevent drop down menus from being hidden below SELECT or FLASH elements? (tip: disable if not in use, for efficiency)
    
    arrowpointers:{
    	downarrow: ["ddlevelsfiles/arrow-down.gif", 11,7], //[path_to_down_arrow, arrowwidth, arrowheight]
    	rightarrow: ["ddlevelsfiles/arrow-right.gif", 12,12], //[path_to_right_arrow, arrowwidth, arrowheight]
    	showarrow: {toplevel: true, sublevel: true} //Show arrow images on top level items and sub level items, respectively?
    },
    hideinterval: 200, //delay in milliseconds before entire menu disappears onmouseout.
    effects: {enableswipe: true, enableslide: true, enablefade: true, duration: 200},
    httpsiframesrc: "blank.htm", //If menu is run on a secure (https) page, the IFRAME shim feature used by the script should point to an *blank* page*within* the secure area to prevent an IE security prompt. Specify full URL to that page on your server (leave as is if not applicable).
    
    ///No need to edit beyond here////////////////////
    
    topmenuids: [], //array containing ids of all the primary m . . .
    If you have several menus in different folders, you may specify the absolute path to the blank.htm file as long as it's on the secure server. The 404's you're seeing are the page looking for this file. If you choose to specify the absolute path, use a text only editor like NotePad to edit the ddlevelsmenu.js file.
    - John
    ________________________

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

Similar Threads

  1. echo line breaks within <script>
    By ggalan in forum PHP
    Replies: 1
    Last Post: 01-06-2011, 03:47 AM
  2. Breaks between Divs
    By weatherview in forum Dynamic Drive scripts help
    Replies: 0
    Last Post: 04-10-2009, 11:28 AM
  3. jQuery 1.2.x breaks all JS
    By MoscowModder in forum Dynamic Drive scripts help
    Replies: 13
    Last Post: 02-18-2009, 05:37 PM
  4. Fast clicking breaks script
    By Krabat in forum JavaScript
    Replies: 4
    Last Post: 01-28-2008, 08:29 AM
  5. preloading breaks script in Opera
    By jscheuer1 in forum JavaScript
    Replies: 4
    Last Post: 12-16-2006, 05:19 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
  •