Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Apr 2010
    Thanked 0 Times in 0 Posts

    I'm sure this should be easy! AJAX Refresh

    Hi all,

    I've been working on a site for a local arts organisation (test site at http://www.uberleaf.com. I'm using Wordpress as the CMS and the NextGen gallery plug-in to upload and display images.

    On the home page I am using

    <div class="image-grid">
    PHP Code:
    <?php if (function_exists("nggDisplayRandomImages")) { nggDisplayRandomImages('6',$Width,$Height); } ?>

    to display 6 random thumbnails every time the page is loaded.

    The client would like these images to change without a page refresh. I have tried to use a number of AJAX scripts that I've found on the web but nothing has worked. I tried the code used by Chris Coyier at http://css-tricks.co...ng-rss-content/ but couldn't get that working either.

    Do you guys have any idea how I might go about this?



  2. #2
    New to the CF scene
    Join Date
    Dec 2009
    Thanked 1 Time in 1 Post
    Im not sure if i get this properly.... ur able to generate 6 random images.... i saw that on the dev site.... now do u want these images to change after a certain time interval? If that is the case, yes that should be easy.... ajax and setInterval should do it for you...


Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts