Welcome Guest, Not a member yet? Register   Sign In
jquery
#11

[eluser]InsiteFX[/eluser]
Read this:

Google Libraries API - Developer's Guide
#12

[eluser]einsteinity[/eluser]
i tried to create a php file and load it from controller where it contains the code from the jquery accordion page..

it works fine with http or https.
#13

[eluser]Syllean[/eluser]
You can use a protocol-less reference for Google Libraries API:

Code:
src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"

On a page loaded through regular, unencrypted HTTP, script references using that URL will be loaded via HTTP and be cached as normal. Likewise, on a secure page that was loaded via HTTPS, script references targeting that protocol-less URL will automatically load the script from Google’s CDN via HTTPS and avoid the mixed content warning.
#14

[eluser]einsteinity[/eluser]
solved after read this thread
I misunderstood the .htaccess file.. :down:

thanks for the help.. :-)


how to close this thread? 8-/




Theme © iAndrew 2016 - Forum software by © MyBB