Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
v.3.1 file plugin_functions.php
#1
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);
Reply
#2
Why should this be changed? Is jQuery not loading for you? If it isn’t loading, what browser are you using?
“Don’t forget the important ˚ (not °) on the a,” says the Unicode lover.
Help us test a key change for the core! ¶ Problems with GetSimple? Be sure to enable debug mode!
Reply
#3
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
Reply
#4
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).
“Don’t forget the important ˚ (not °) on the a,” says the Unicode lover.
Help us test a key change for the core! ¶ Problems with GetSimple? Be sure to enable debug mode!
Reply
#5
oh, sorry, I did not know it
Reply




Users browsing this thread: 1 Guest(s)