Hi,


lucharles wrote:
> 
> i am trying to use the .load in jquery to inject a jcarousel into my
> document. is this possible? when clicking the site navigation the images
> appear in a vertical list instead of hidden and sliding. something seems
> to not be loading.
> 
> for an example th eurl is:
> http://commissary.memphis.edu/buildingstudio/
> 
> click on current projects and the first subnav.
> 
> a working html version of the file i am injectiing is:
> http://commissary.memphis.edu/buildingstudio/galleryworking.html
> 
> and a php version which is actuall what is going to hopefully (pull from
> db and currently this does not have the css or js files):
> http://commissary.memphis.edu/buildingstudio/current.php
> 

You have to apply jCarousel on the loaded HTML:

function loadCurrent() {
        $("#main_content").load("current.php", function() {
                $('#mycarousel', this).jcarousel({
                        /* Configuration goes here */
                });
        });     
}

Jan

-- 
View this message in context: 
http://www.nabble.com/.load-jcarousel-tf3607584.html#a10085108
Sent from the jCarousel mailing list archive at Nabble.com.

Reply via email to