05-04-2007, 04:20 PM
See the link below. The PHP is fine, but if you start clicking through thumbnails you can see that the page's functionality is suffering big time. The page must reload to pass the PHP variables. Take a look at the URL's and the links...is there any way to get this done without reloading the page? Is there any way to do it using only collection.php (i.e. not creating a new page and having to fit everything in)?
I'm sorry, I'm a PHP person, I have no starting point here with AJAX. I understand if you're not willing to help.
05-07-2007, 04:56 PM
Yes it can be done. Personally I'm not even sure I'd use ajax for this site unless the number of items in each collection isn't representitive of the final website. It looks like you have 30-40 items. Sometimes what I do instead of ajax is to just load all the data into the original webpage and only show the bits I need to show at any given time.
It looks like the only parts that are changing are the item information, the description, and the medium sized image. Plus the highlight border in the gallery. All that can be represented with text (the image by using the URL).
The other way is with ajax which can make things more flexible but typically takes a bit more work. If you are going to start having more (maybe 100+?) returns from a search then ajax probably makes more sense.
Do you have any thoughts on which one makes more sense for your site?
05-07-2007, 06:19 PM
try this out, hoping it helped: