javascript - Multiple JQuery elements on a page not working when placed together -
i designing website jquery zweather feed yahoo. wanted make large image gallery faded next image.
i tried adding jcobb basic-slider. slider worked perfect, jquery zweather feed stopped working. thought might have jcobb basic-slider "trigger" went in outermost div, or might have library.
i abandoned using slider, still use it. can put more 1 javascript/jquery items on page? if 1 item has "trigger, other not? if curious, site working on is:
www.orangeburgcounty.org/countywebsite/index.asp
there few things can try working.
be sure script being pulled page, 1 way check using 'sources' tab in chrome debugger , searching file else in html head section
be sure you've included datatale script after you've included jquery, dependant upon that.
check whether jquery included , once only.
watch out jquery conflicts. there other library overridding $, code not working because $ not alias jquery anymore. can use
jquery.noconflict()
avoid conflicts other libraries on page use same variable $.check chrome/firebug developer tools js errors.
Comments
Post a Comment