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 6994209
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T19:51:47+00:00 2026-05-27T19:51:47+00:00

Am trying to have an image visually echo through from intro page to homepage~which

  • 0

Am trying to have an image visually echo through from intro page to homepage~which I have sorted, (see other question How to slowly FadeOut an image ON LOAD using jQuery ), but now realise that I have created an irritating effect as the image loads and fades each time the homepage link is clicked.

My question is, how can I have the image load only once, from the intro page?

The visual effect is this…

By clicking my name (link) on the intro page, you get to the homepage, where there is a copy of the name link, which appears briefly, (has the same co-ordinates & with jquery fadeOut applied).

  • 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-27T19:51:47+00:00Added an answer on May 27, 2026 at 7:51 pm

    Option 1: Cookies

    You can easily keep track of whether it is the first time a user is visiting your site by using cookies. Since you are already using jQuery, you can use the jQuery cookie plugin (available at https://github.com/carhartl/jquery-cookie). In order to keep track of whether to fade in the image or not, you can use this code snippet:

    if ($.cookie('hasVisited')) {
      // Don't fade the image in...
    } else {
      $.cookie('hasVisitied', 'true');
      // Fade image in...
    }
    

    Keep in mind that this will only work if the user accepts cookies. If your want the image to always fade in for users that do not have cookies enabled client side, then that code snippet will work fine. Otherwise, have a look into this post on how to detect if cookies are enabled client side; and if they aren’t, don’t have the image fade in.

    Option 2: URL Parameters

    If you find that the demographic of your site has a majority of users that do not enable cookies client side, then you can use URL parameters to designate whether to fade the image or not.

    Say for example your home page is at /index, then the links in your main menu would link back with /index?nofade=true. Then, in the index page, you can test whether or not the parameter exists using jQuery as demonstrated in this blog post.

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

Sidebar

Related Questions

I have image map where i am trying to open another page by using
I have image 6750x6450 px and trying to display it with imshow() function from
I have an image on my page and i am trying to embed a
trying to have the appearance of an image sliding from left to right continuously
I have an image inside a div which im trying to change when the
I'm trying to have an image gallery where a caption is vertically centered inside
So, I am trying to have this image show up in the fancy box
I've switched over to kineticJS and I'm trying to have a background image repeat
The following image have been uploaded to show what I am trying to do
What I am trying to is have a header image centered on the top

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.