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

  • Home
  • SEARCH
  • 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 570517
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T13:24:35+00:00 2026-05-13T13:24:35+00:00

I am working on a photo gallery. The first issue I have is with

  • 0

I am working on a photo gallery. The first issue I have is with $.data. When I am setting up the images through my plugin I do this:

$('.img').each(function(){
  $(this).data('original', { width:$(this).width(), height:$(this).height() });
});

Then when I want to animate the image to its full size I do this:

$(this).animate({ 'width':$(this).data('original').width, 'height':$(this).data('original').height });

Now this works fine in internet explorer and firefox but I just tested in safari and chrome and the values are zero but in firefox and i.e. it has the correct width and height. Any ideas on why that would be happening?

The second issue is the scrolling animation in internet explorer. Basically all I have is a wrapper with overflow:hidden and a container inside of it that holds the gallery rows(which has the images about 50). Now I have 2 buttons for next and previous. The code for them is basically this:

$('#container').animate({ 'left':'+=400px' }, 2000);

Now in google chrome and safari this animation performs beautifully. In firefox it is a little sluggish but nothing that I couldnt live with. However, in IE you dont even really see the animation. All that you can really see is jumps to almost the last position of the animation and then just kind of moves a little bit (to reach the end). Any ideas on what could cause this?

  • 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-13T13:24:36+00:00Added an answer on May 13, 2026 at 1:24 pm

    The first part of your question has already been answered.

    I think the second part of you question is happening because IE is known to be slower at DOM manipulation.

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

Sidebar

Related Questions

I am working on a photo gallery, each thumbnail is in its own DIV
I have a photo gallery I am working on building, and I have a
I'm working on a photo gallery, and I would like the ability to have
I have Fancybox 2.0 working here: http://discovermonroeville.com/photo-gallery My only question - which I was
I am developing my first website and I have built an interactive photo gallery.
I'm working on my photo gallery and I have a filter to sort my
I am currently working on creating a webpage photo gallery. I have a ton
I am working on a database design for a basic photo gallery which each
Ok I have been working on this gallery for some time and I keep
I'm working on an app that behaves like a photo gallery, and I'm implementing

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.