i have do开发者_JS百科ne 'everything' that manual says. included all files, adding it properly to html structure, loaded images,..
please, you can view live problem here
You are using ajaxpage
to load the div
with id=slider
for certain categories for page.php
. However, Nivo slider is looking for a div after the primary page has loaded (the $(window).load
function).
Somehow, you need to attach the .load
function call to the page being loaded by ajaxpage
.
You might try adding the $(window).load
call to the bottom of each page whenever you are setting up a Nivo slideshow.
If you were using jQuery's ajax library/module calls, you might be able to attach the load
action to fire when the ajax has loaded.
I looked at the source of one of your page.php
pages with Nivo and I think that you set up the HTML correctly, but the Nivo module just has not been started, partly because of the way the page is pulling in the content using ajax.
This is a clever way of doing things, but just needs a different trick to starting Nivo.
精彩评论