How can I make the fittext.js plugin work?


hello!
i'm newbie on edge, please bear me.
i've been trying make fittext.js plugin (http://fittextjs.com/) work on project not doing in preview.

this have on stage on creation complete:

 

 

  yepnope( { load: "edge_includes/jquery.fittext.js" } );

 

 

 

 

$("h1").fittext();

 

 

i have text elements h1. tried doing ids ( $("#title").fittext(); ) instead , still no result.
am missing something?

 

thanks!

i seemed making kind of progress code

 

 

  yepnope(

{

          nope:[

          'edge_includes/jquery.fittext.js',

          ],

          complete: init

}

);

 

 

 

 

function init() {

  $("h1").fittext();

}

 

 

 

the text showing small :s must happening. not resizing window though



More discussions in Edge Animate CC


adobe

Comments

Popular posts from this blog

Is this Captcha code corrupt?

How to Grab email address from webform and insert into form action

Thread: "Broken" background image with Super Key