Results 1 to 4 of 4

Thread: nivoslider https help

  1. #1
    Join Date
    May 2012
    Posts
    217
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default nivoslider https help

    Hi

    I just set up a SSL on a website domain and it has stopped the nivoslider from working on https url but works on non https url

    it does seem to be a common issue with https and nivoslider and just seeing if anyone knows how to solve it, I am forcing the site to use https in the htaccess file, I have cleared the cache as well and nothing seems to work

    Thank you in advance

  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

    I have no experience with this specifically. In general though, migrating anything to an SSL requires that all resources, images, scripts, css, etc. also originate from an SSL. So, for example, if you're using a script library (like jQuery maybe) from another domain, it must also be hosted on an SSL. But one must also make sure that all the local resources required by the slider are on your SSL. And there's always the possibility that the slider code barfs on the string 'https' or the protocol https for some reason, intentionally or otherwise, though that seems unlikely.

    If you want more help, please post a link to the problematic page.
    - John
    ________________________

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

  3. #3
    Join Date
    May 2012
    Posts
    217
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    Hi

    Sorry just sussed it, I just updated the js googleapis file to use https so is now the following in case anyone else needs to know how to solve it

    FROM
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js" type="text/javascript"></script>

    TO

    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js" type="text/javascript"></script>

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

    Right, exactly what I was saying - all resources must be SSL (https). You can also use:

    Code:
    <script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js" type="text/javascript"></script>
    and the browser will fill in the current protocol of the page. This only works on a live page though, as any local page or localhost server page will fill in that protocol and of course, Google doesn't host things on your computer or localhost server.
    - John
    ________________________

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

Similar Threads

  1. nivoslider and captions issue
    By ianhaney in forum JavaScript
    Replies: 5
    Last Post: 05-12-2016, 03:48 PM
  2. Fluidtextresizer disables Nivoslider
    By janvl in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 12-16-2012, 05:44 AM
  3. Ajax on HTTPS
    By leroyuk1983 in forum JavaScript
    Replies: 9
    Last Post: 06-16-2012, 11:24 PM
  4. Using https with ddsmoothmenu down and right arrows
    By defiant1950 in forum Dynamic Drive scripts help
    Replies: 5
    Last Post: 02-11-2012, 05:39 AM
  5. https breaks enableshim
    By George Langley in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 09-09-2009, 05:55 AM

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
  •