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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T20:56:36+00:00 2026-06-07T20:56:36+00:00

Its been a while since I’ve been on here! I have a strange intermittent

  • 0

Its been a while since I’ve been on here! I have a strange intermittent problem on a gallery page, that I strongly assume is related to some jQuery?!

http://www.savvysites.com/ASD/gallery.html#

Starting at this link, the first gallery images load up as expected! ?Sometimes? when going to the 2nd and/or 3rd gallery, the images load up halfway down the div as such:

http://prntscr.com/c7uyy

If anyone could shed some wisdom as to why this is happening (and offer a possible solution) I would be very grateful 🙂

…and if you’re close to South Yarra, a beer is your reward!

regards
Luke

  • 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-06-07T20:56:39+00:00Added an answer on June 7, 2026 at 8:56 pm

    The pictures appear halfway down because of a margin-top of 0 (in combination with the absolute positioning and top:50%). In main.js there’s a function called “imageResize(holder)” in which these values are set. I don’t know for sure what’s happening, but it seems img.height() sometimes return 0 when it shouldn’t. Earlier in the function imageH is already set, so perhaps if you change the part where the margin-top is set to:

    img.css({
      'margin-top':-(imgageH/2),
      'margin-left':-(imageW/2)
    }) 
    

    Hope this helps!

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

Sidebar

Related Questions

its been I while since I try to solve that problem, I've already asked
Its been a while since I had to do some Java/JSP... I have a
Its been a while since i have coded c++ and i have forgot an
It's been a while since I have used VBA on Excel. I want to
It's been a while since I have worked with ASP.Net and C#. I am
Ok, its been a while since I've done any file input or string manipulation
Its been a long time since I have programmed in C++, but I know
Its been a while since I've done any hard core web design, so I
Its been a while since ajax has gone main stream with the most popular
While simple, interface-driven event notification frameworks in Java have been around since pre-Cambrian times

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.