load page via ajax

hi,

i would like to update parts of a page using ajax, i.e. i want to dynamically load different pages (from zenpage) to a container next to an album. so a user can find out more about the pictures of an album without reloading the whole site (with all its images) again.
i guess it shouldn't be that hard, more or less along the lines of this small demo: http://tutorialzine.com/2009/09/simple-ajax-website-jquery/ - but i don't really have a clue, how to accomplish this with zenpage/zenphoto.

hope someone can point me in the right direction! :)

thomas

Comments

  • acrylian Administrator, Developer
    Sorry, no easy answer possible. If you wish to use jQuery/ajax to load html content generated by Zenphoto functions you need to call it as a custom theme pages (See the theming tutorial). That will need to have the code to get what you wish.

    If you wish to use Zenpage pages outside the actual context you need to learn about Zenphoto's object model. There is a tutorial but be aware this is rather advanced coding already.

    I hope that helps.
Sign In or Register to comment.