• Hi,

    I use simple catch theme and I simply want to reload content only on page reload and prevent from reloading header and footer every time I go to other page.
    Can you please help me doing so?

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • https://www.ads-software.com/extend/plugins/advanced-ajax-page-loader/

    This may be the ‘simplest’ way.

    Chances are, there is no way to do this without smoe sort of theme modifications, unless you are really lucky!

    Thread Starter brexes

    (@brexes)

    Thank you, but I still want only a code.. like this one but unfortunately I don’t know how to use it and what changes should be made and where to locate it:

    <script>
    $(function(){
    $('#content').load('/php/twitter.php');
    $('#nav a').click(function(){$('#nav li').removeClass('on');
    $(this).parent('li').addClass('on');
    var page = $(this).attr('href');
    $('#content').load('/php/' + page + '.php');
    return false
    ;})
    ;});
    </script>

    Hope you help me :/

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘reload content without reloading page(prevent header and footer from reloading)’ is closed to new replies.