[Javascript] google webFont loader

jeffrey morin rufus2021 at gmail.com
Fri May 28 07:34:37 CDT 2010


On Wed, May 26, 2010 at 8:16 PM, Scott Reynen <scott at randomchaos.com> wrote:

> On May 26, 2010, at 8:49 AM, jeffrey morin wrote:
>
>  file://fonts.googleapis.com/css?family=Tangerine%7CCantarell
>>>>
>>>
>> i was just doing this locally.
>>
>
>
> I think the Google code does a check to see if you're loading it from a
> site using http: or https: to avoid mixed content security prompts, and
> you're loading your test HTML via file:, so it's trying to load via file:.
>  I suggest you find a way to test on an actual HTTP server, even if it's
> just running on your local machine.
>
>
> Peace,
> Scott
>
> _______________________________________________
> Javascript mailing list
> Javascript at lists.evolt.org
> http://lists.evolt.org/mailman/listinfo/javascript
>


I think that must be the problem. When I put it on a server it worked
perfectly. Thanks for the help!

Jeff


More information about the Javascript mailing list