I'm using jQuery to pull a JSON feed of Flickr images and append them to a div (following this tutorial). This bit works fine, but just adds the images in a row.
I'm trying to make it a bit neater, by using the jQuery Cycle plugin to display them with some navigation (like this) but it doesn't seem to do anything.
If I code in the images without using javascript, the cycle plugin works as it should do, but it doesn't seem to like working with the JSON script.
The Cycle script does get called, as I can see that it adds the UL with an id of "nav" before the div I'm targetting. It's as though it can't find the images within the div to work with - could this be a timing problem?
Any ideas?
Thanks,
I'm trying to make it a bit neater, by using the jQuery Cycle plugin to display them with some navigation (like this) but it doesn't seem to do anything.
If I code in the images without using javascript, the cycle plugin works as it should do, but it doesn't seem to like working with the JSON script.
The Cycle script does get called, as I can see that it adds the UL with an id of "nav" before the div I'm targetting. It's as though it can't find the images within the div to work with - could this be a timing problem?
Any ideas?
Thanks,