HTTPS-friendly jQuery CSS theme from Google CDN -


just trying https friendly version of google's hosted jquery css themes, i.e

http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css

loading https://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css works, except there problems of icons not served https. namely:

the page @ https://mysite.com ran insecure content http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css. page @ https://mysite.com/ displayed insecure content http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/images/ui-bg_flat_75_ffffff_40x100.png. page @ https://mysite.com/ displayed insecure content http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/images/ui-icons_222222_256x240.png. page @ https://mysite.com/ displayed insecure content http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png. page @ https://mysite.com/ displayed insecure content http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png. page @ https://mysite.com/ displayed insecure content http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/images/ui-icons_222222_256x240.png.

i want hosted google.

you cannot it. because jquery-ui.css https://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css internally uses images http://... only.

try protocol-relative url (by section 4.2 of rfc 3986):

<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css"   type="text/javascript"></script>  

Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -