Hi!

I'm working on a site with smarty installed. I've wanted to add a scrollable playlist to a videoplayer, but it doesn't work at all. I believe that I've been doing everything just like it is said in the demo sourcecode (horizontal one). The playlist show up, but the scrolling buttons aren't clickable. The error I receive says, that the playlist div is a null object or it's empty.

I've got a php file, that is loading a main template file. There are all the includes that have to be done for a certain page (it's working fine), then it's loading a sub template with a content of the page. I wonder if somehow the jquery function loads too fast, and smarty isn't on time with loading the sub template that contains playlist div.

Does anyone know the solution to this problem? I'd appreaciate any help and ideas (just not the one to uninstall smarty ;-))

Thanks!
Blacksword.

Edit: I've forgot to add, that I'm very very far from being a jquery expert (just know the basics of javascript), so I'd appreaciate the help even more if it would be kind of straightforward. :D