GetSimple Support Forum

Full Version: v.3.1 file plugin_functions.php
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
in lines 29,30 in file plugin_functions.php v.3.1
Code:
register_script('jquery', '//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js', '1.7.1', FALSE);
register_script('jquery-ui','//ajax.googleapis.com/ajax/libs/jqueryui/1.8.17/jquery-ui.min.js','1.8.17',FALSE);
substitute
Code:
register_script('jquery', 'http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js', '1.7.1', FALSE);
register_script('jquery-ui','http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.17/jquery-ui.min.js','1.8.17',FALSE);
Why should this be changed? Is jQuery not loading for you? If it isn’t loading, what browser are you using?
jQuery is loaded, but the code looks like this
Code:
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js?v=1.7.1">
and should look like
Code:
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js?v=1.7.1">
Firefox, Opera, Chrom, Safari
Paul Irish explains. Using a // is a quick way of letting the browser choose between using HTTP or the SSL-encrypted HTTPS. It’s a completely correct way of linking to the jQuery file (as proven by the fact that jQuery loads).
oh, sorry, I did not know it