How do I solve this jQuery plugins conflict?

后端 未结 4 1266
离开以前
离开以前 2021-01-29 02:59

I am using two different jQuery plugins; one for news logo ticker and another for horizontal text slider.

but only one of them is working at a time when when used in sin

4条回答
  •  别那么骄傲
    2021-01-29 03:00

    Try arranging your script references:

    1) jquery

    2) jquery-ui

    3) newsticker

    and add it to the top of the page before calling any jquery related methods.

    Not 100% sure if this will work, but give it a try.

    Don't know which version of newsticker you are using, but have a look at this link.

提交回复
热议问题