Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Apr 2005
    Location
    austin, tx
    Posts
    148
    Thanks
    0
    Thanked 0 Times in 0 Posts

    PHP submit without reload

    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)?

    http://www.catherinepage.net/collection.php?c=Acanthus

    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.

  • #2
    Senior Coder
    Join Date
    Nov 2006
    Posts
    1,000
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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?

    david_kw

  • #3
    New Coder
    Join Date
    Mar 2007
    Posts
    74
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Smile

    Hello,

    try this out, hoping it helped:

    http://www.huddletogether.com/projects/lightbox/

    Regards


  •  

    Posting Permissions

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