Folks;

I am trying to implement the carousel example with dynsmic content loading
via ajax. The images I'm specifying in my version of the *.txt file are
located in a directory in the root of my server. The problem is when the
page loads,  the images are not shown in the carousel: only the names
specified at the end of each line in the *.txt file are shown. 

I've verified that the path names for the images are good in the carousel js
code. So I do not think that the problem is with path names. I do think that
the issue may lie in this section of the js code:

<snip>
 .....

function getItemHTML(data)
{
    var split = data.split(";");
    var url   = jQuery.trim(split[0]);
    var title = jQuery.trim(split[1]);
    var url_m = url.replace(/_s.jpg/g, '_m.jpg');
    return ' ' + url_m + '  ' + url + '  ';
};

....
--</snip>
 I have a pretty good idea what the code snippet is doing, but I do not know
how to customize it for my specific case. 

thanks for any help
-- 
View this message in context: 
http://www.nabble.com/carousel-example-with-dynamic-content-via-ajax-tf3353866.html#a9327163
Sent from the jCarousel mailing list archive at Nabble.com.


_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to