Solved

Is there a https google library for these?

Posted on 2014-03-27
7
138 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 42

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
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 

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 42

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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Requirements JQuery 1.6+ HTML CSS Introduction This article was inspired by an EE question (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28372511.html) on how to make a page show some balloons animate up a page…
Introduction A frequently asked question goes something like this:  "I am running a long process in the background and I want to alert my client when the process finishes.  How can I send a message to the browser?"  Unfortunately, the short answer …
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)

707 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now