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 7 of 7
  1. #1
    Regular Coder student101's Avatar
    Join Date
    Nov 2007
    Posts
    634
    Thanks
    80
    Thanked 15 Times in 15 Posts

    Question PHP, javascript - load without refresh?

    Have tried whole day to get this to work.
    I would like to load the content without a page refresh

    The page I have up is a test page that has content on it.
    http://www.kleyn.co.za/cart/?catid=1

    When I click the left nav the top nav should load without refresh
    When I click the top nav the main image should also load without a refresh

    Is this possible?

    This all works from a mysql database and the links work like this;
    PHP Code:
    <a href="index.php?catid=<?php echo $_GET['catid']; ?>&amp;img=<?php echo $row_rsnav1['thumb']; ?>&amp;id=<?php echo $row_rsnav1['sortorder']; ?>"><img src="images/thumbs/<?php echo $row_rsnav1['thumb']; ?>" alt="" width="100" border="0"/></a>
    Cheers
    Thanks for your support!
    Update MySQL with checkboxes | Tell A Friend | Delete MySQL with checkboxes

    Give thanks & resolve when done :thumbsup:

  • #2
    Regular Coder ninnypants's Avatar
    Join Date
    Apr 2008
    Location
    Utah
    Posts
    504
    Thanks
    10
    Thanked 47 Times in 47 Posts
    It doesn't reload on me

  • #3
    Regular Coder student101's Avatar
    Join Date
    Nov 2007
    Posts
    634
    Thanks
    80
    Thanked 15 Times in 15 Posts

    Question

    Quote Originally Posted by ninnypants View Post
    It doesn't reload on me
    What do you mean by reload?
    The page refreshes on every click, I don't want it to refresh on any click.
    Thanks for your support!
    Update MySQL with checkboxes | Tell A Friend | Delete MySQL with checkboxes

    Give thanks & resolve when done :thumbsup:

  • #4
    Regular Coder ninnypants's Avatar
    Join Date
    Apr 2008
    Location
    Utah
    Posts
    504
    Thanks
    10
    Thanked 47 Times in 47 Posts
    I mean that only the content changes your navigation never even moves, and your content changing doesn't even flicker

  • #5
    Regular Coder student101's Avatar
    Join Date
    Nov 2007
    Posts
    634
    Thanks
    80
    Thanked 15 Times in 15 Posts
    Ok, I may have found the answer to my question - may be back.

    Doesn't the top menu slide to selected item after clicking it?

    Cheers
    Thanks for your support!
    Update MySQL with checkboxes | Tell A Friend | Delete MySQL with checkboxes

    Give thanks & resolve when done :thumbsup:

  • #6
    Regular Coder ninnypants's Avatar
    Join Date
    Apr 2008
    Location
    Utah
    Posts
    504
    Thanks
    10
    Thanked 47 Times in 47 Posts
    Yeah it does

  • #7
    Regular Coder student101's Avatar
    Join Date
    Nov 2007
    Posts
    634
    Thanks
    80
    Thanked 15 Times in 15 Posts
    Cool thanks.
    Thanks for your support!
    Update MySQL with checkboxes | Tell A Friend | Delete MySQL with checkboxes

    Give thanks & resolve when done :thumbsup:


  •  

    Posting Permissions

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