Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6235683
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T10:42:45+00:00 2026-05-24T10:42:45+00:00

OK guys, my website is almost finished – http://www.visualise.ca/ But there is one thing

  • 0

OK guys, my website is almost finished – http://www.visualise.ca/

But there is one thing that really bugs me. When I click on a thumbnail to open a post which loads within the same page using AJAX and then click on another thumbnail to load another post the transition is not smooth and the image takes a while to load and it’s ugly. Is there a way I can improve that and make everything smooth using fadeIn/fadeOut ?

Here is what I tried with no luck (active now).

$(".ajaxed").live("click", function(event) {
        $.address.crawlable(true).value($(this).attr("rel"));
        $("#content").fadeTo(500,0);
        $("html,body").animate({scrollTop: 205}, 300);
        var post_slug = $(this).attr("rel");
        $("#board").load("ajax/",{slug:post_slug});
        $("#board").delay(1500).slideDown("slow");
        return false;
});

Many thanks for your time and help

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T10:42:46+00:00Added an answer on May 24, 2026 at 10:42 am

    Here is the code I end up using.

    $(".navig a").live("click", function(event) {
        var post_slug = $(this)[0].pathname.substring(1);
        var board_h = $("#board").height();
        $.address.crawlable(true).value(post_slug).strict(true);
        $("#board-wrapper").css('height', board_h + 'px');
        $("#board").fadeOut('slow', function(){
            $("#board").stop().load("ajax/",{slug:post_slug}, function(){
                $("#board").delay(1000).fadeIn('slow', function(){
                    var board_h2 = $("#board").height();
                    $("#board-wrapper").css('height', board_h2 + 'px');
                });
    
            });
        });
        return false;
    });
    

    Just to let people know.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hi Guys I have this website: http://www.godfreysammut.com . As you can see in the
Hey guys I have my own webserver that is hosting a website that I
Guys, I am trying to make a website that keeps a cookie active, so
Duplicate: Multiple javascript/css files: best practices? Hi guys, my application is almost done but
Hey guys i'm making a website but for some reason my div tags are
Hey guys, I have a website that has a url that looks sorta like
hey guys! why is it that everytime i click something on my website and
hey guys, i'm looking for a finished product that i can use on my
hey guys, i have a certain plugin on my website that adds a inline
Alright guys, well, here is the thing. I used this wonderful website and found

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.