>>>Make sure they are included in the right order and also try refreshing everything. I think I had similar problems when one of the scripts was not correctly loaded.
>>
>>I did double check this.
>
>Can you post code of including these two files?
>
>Also, may be there should be css file included as well?
The first message I posted has the inclusion of both files. And no css is used in a test page (where the code works). So I don't see how the .css could contribute to the problem. But, of course, everything is possible.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham