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 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Feb 2011
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Stop a DIV from refreshing

    Hi.

    I have a div with image links in. I am trying to work out how I can get this DIV to not refresh when one of the image links is selected.

    So for example, a user clicks a link in this DIV, it then reloads the rest of the document but does not refresh the links DIV.

    Can anyone show me how I can do this?

    Thank you!

  • #2
    Regular Coder Amphiluke's Avatar
    Join Date
    Jul 2009
    Posts
    312
    Thanks
    3
    Thanked 89 Times in 89 Posts
    Quote Originally Posted by ccdavies View Post
    it then reloads the rest of the document but does not refresh the links DIV.
    In other words, you want to reload the entire document except one DIV contained within the document? I think it's impossible.
    If, however, not the entire document is reloaded, but only a part, which contains that DIV with image links, then you may temporally move the DIV elsewhere (e.g. into a hidden container), then refresh the part of a document, and finally restore the DIV it its initial position.

    I however can make no hand of what is the reason you wish to realize such a strange behavior.
    I am still learning English


  •  

    Posting Permissions

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