Hi there,
I'm currently working on a site using Big Cartel - an e-commerce online CMS. This means I'm limited to using their own proprietary language for grabbing data content (no PHP support etc...).
I'm also using the Supersized jQuery plugin to try and present present data to the user. The plugin works by reading an array from a script tag, and outputting to specified divs. The array it uses looks like the following:
<script type="text/javascript">
jQuery(function($){
$.supersized({
// Functionality
property_1 : value,
property_2 : value,
slides : [
{image :'http://image1.jpg', title :'Name1', url :'1.html'},
{image :'http://image2.jpg', title :'Name2', url :'2.html'},
{image :'http://image3.jpg', title :'Name3', url :'3.html'},
],
// Options
option_1 : value,
option_1 : value
});
});
</script>
What I need to able to do is generate the "slides" portion when the page is loaded, using the Big Cartel API, which can apparently output products to XML and JSON. I only need the values listed above (image, title & url), and would also need to be able to filter results further if needed, e.g: to only include products of a certain type.
The problem is, apart from HTML and CSS, I'm a bit of a novice. Could anyone get me started in the right direction, or point me to a resource that deals with this kind of thing?
Thanks for making this far into the question,
Chris