function - Jquery - can not use plugin? -


I am trying to use a scrollbar plugin written with jquery: tinyscrollbar You can find it here : I use jquery 5 with this command:

  & lt; Script src = "http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery min.js" & gt; & Lt; / Script & gt;   

And I learned it after the bus:

    

And finally here is the html code:

  & lt; Div id = "scrollbar1" & gt; & Lt; Div class = "scrollbar" & gt; Div class = "track" & gt; & Lt; Div class = "thumb" & gt; & Lt; Div class = "end" & gt; & Lt; / Div & gt; & Lt; / Div & gt; & Lt; / Div & gt; & Lt; / Div & gt; & Lt; Div class = "viewport" & gt; & Lt; Div class = "overview" & gt; & Lt ;? Php $ content ;; & Gt; & Lt; / Div & gt; & Lt; / Div & gt; & Lt; / Div & gt;   

I have a bug while loading the plugin (or second, I have made several attempts ...): Firebug tell me $ ("# scrollbar1"). Tinyscrollbar (); There is no function.

But the script has been loaded and I have tried to create a warning and you have got an idea completely ???

PS: Sorry English for me ... this is not my language ^^ '

You have to load the plugin. What you have loaded so far is jquery.

Comments