Jump to content

Addint Typekit issue


Recommended Posts

Hi,

 

Thanks for getting back to me.

 

I initially inserted the code like this in the header.tpl:

 

        <script type="text/javascript" src="//use.typekit.net/wms3uux.js"></script>
        <script type="text/javascript">try{Typekit.load();}catch(e){}</script>

 

The code didnt work so I carried out a search and found that it may be added like this in the header.tpl (I have also tried footer.tpl):

 

        <script type="text/javascript" src="//use.typekit.net/wms3uux.js"></script>
        <script type="text/javascript">Typekit.load();</script>

 

The strange thing is that it appears to work in Firefox, but within IE it does not.

Edited by michael.hayes (see edit history)
Link to comment
Share on other sites

if your code uses brackets { } you need to use literal tags:

{literal}
        <script type="text/javascript" src="//use.typekit.net/wms3uux.js"></script>
        <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
{/literal}
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...