"partial page refresh" ?

4 replies
Hi

I have just installed a comment script on one of my sites. But the page I am using it on has a pretty big video on it, so I dont like the idea of each person who comments loading the page twice. Plus it takes a while to load.

Is there a way to just have the comment area do its thing after they submit it, while the rest of the page stays the same?

I dont know if such a thing is even possible. So I thought I would ask here.

Thanks

Ashley
#comment #partial page refresh #script
  • Profile picture of the author theIMgeek
    It is very possible with the wonderful world of AJAX. Using javascript you can update only a portion of a page. However, putting that into action does require some heavy technical lifting.

    The easy way might be to look at using IntenseDebate comments enhance and encourage conversation on your blog or website

    -Ryan
    Signature
    FREE WSO: Protect and Automatically Deliver Your Digital Products

    Ask the Internet Marketing Geek
    <-- Happy to help with technical challenges
    MiniSiteMaker.org <-- Free software to make your mini-sites fast and easy
    {{ DiscussionBoard.errors[2036671].message }}
    • Profile picture of the author Manfred Ekblad
      Originally Posted by RJP View Post

      However, putting that into action does require some heavy technical lifting.

      The easy way might be to look at using IntenseDebate comments enhance and encourage conversation on your blog or website
      heavy technical lifting?

      If you want to be the owner and in control of the content on your website then have a look at this free comment system script in PHP/AJAX.
      {{ DiscussionBoard.errors[2037549].message }}
      • Profile picture of the author Ashley Gable
        Originally Posted by Manfred Ekblad View Post

        heavy technical lifting?

        If you want to be the owner and in control of the content on your website then have a look at this free comment system script in PHP/AJAX.
        Thanks Manfred

        I just installed it quickly on my site, it was very easy! The only reason I cannot use it is because it doesnt have an admin panel.

        I dont like the idea of not being able to approve messages before they are posted.

        But it had a nice looking effect, it was exactly what I was looking for minus the ability to put posts in moderation.

        But I have already found another use for it, so thanks!

        Originally Posted by RJP View Post

        It is very possible with the wonderful world of AJAX. Using javascript you can update only a portion of a page. However, putting that into action does require some heavy technical lifting.

        The easy way might be to look at using IntenseDebate comments enhance and encourage conversation on your blog or website

        -Ryan
        Thanks Ryan. I started searching around for ajax and partial page refreshing and found a couple, but you are right, they were way to complicated for me to understand!

        I think I may just have to put this feature on hold, my head is starting to hurt now!

        They were all too complicated, they dont take it step by step, which I need, they all seem to be posting examples for other programmers to look at, not me!


        Thanks again for the help you guys, I appreciate it.

        Ashley
        {{ DiscussionBoard.errors[2037744].message }}
        • Profile picture of the author Christopher Airey
          While I normally wouldn't recommend this, an option would be to use iframes. Simply post whatever comment system you want in an iframe, and any reloads will only occur within that frame. Sample below to do google in an iframe on your page:

          <iframe src="http://google.com" style="height: 300px; width: 500px;">
          </iframe>

          Chris
          {{ DiscussionBoard.errors[2037765].message }}

Trending Topics