Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Is there a https google library for these?

Posted on 2014-03-27
7
141 Views
Last Modified: 2014-03-27
Hi,
I have a script for our Intranet site and it will only use https jquery library.  Is there a https version for the first 2?  I can't seem to find it here, https://developers.google.com/speed/libraries/devguide
thank you.

      <script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
      <script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js"></script>
      <link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/themes/black-tie/jquery-ui.min.css" type="text/css" media="screen" charset="utf-8"/>
      <script type="text/javascript">
0
Comment
Question by:lapucca
7 Comments
 
LVL 8

Assisted Solution

by:soupBoy
soupBoy earned 125 total points
ID: 39959481
Since you are leaving off the 'http' or the 'https' in both of those script calls, it will use the protocol that your site is using.  So, if you are using HTTPS, is should connect to google's CDN via HTTPS.
0
 
LVL 58

Assisted Solution

by:Gary
Gary earned 125 total points
ID: 39959487
They all have https versions, just set the full path to use https:
0
 
LVL 43

Expert Comment

by:Chris Stanyon
ID: 39959541
You've already set your links to what's called 'protocol agnostic' so you'll automatically receive the correct version. Leave your links as they are :)
0
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 

Author Comment

by:lapucca
ID: 39959561
the 3rd link with https would land on something but the 1st 2 link I already tried adding https and lands on nothing that's why I posted the question here.
0
 
LVL 82

Accepted Solution

by:
leakim971 earned 125 total points
ID: 39959579
Click here : first
And here : second

Do you lands on nothing?
0
 
LVL 43

Assisted Solution

by:Chris Stanyon
Chris Stanyon earned 125 total points
ID: 39959604
You don't need to add the https:

Just leave it as it is and Google will deliver from the correct protocol
0
 

Author Closing Comment

by:lapucca
ID: 39959672
Thank you everyone.  I had a typo so I didn't land on anything earlier with those 2 libraries.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Delay Form Submission without touching existing code? 5 27
Jquery GMAP3 Hierarchy 1 35
Customizing jQuery UI Accordion CSS 3 28
ajax jquery 3 25
by Julian Matz As of jQuery (http://jquery.com/) 1.4 the .live() method (http://api.jquery.com/live/) supports custom events as well as some standard JavaScript events that it previously didn't support. Among these is the submit event. Unlike …
How to build a simple, quick and effective accordion menu using just 15 lines of jQuery and 2 css classes
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

789 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question