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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T07:45:47+00:00 2026-06-03T07:45:47+00:00

I am using jCarouselLite and fancybox together, please see this link http://travianstation.com/index.html script: http://travianstation.com/scripts/script.js

  • 0

I am using jCarouselLite and fancybox together, please see this link

http://travianstation.com/index.html

script: http://travianstation.com/scripts/script.js

If you click on “Gallery” without scrolling down, Gallery will poup on correct positions but if scroll down and then click on Gallery they are not in center of windows and second images row come above the large image.

Kindly can someone guide me how to fix this issue. Thanks

  • 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-03T07:45:48+00:00Added an answer on June 3, 2026 at 7:45 am

    Inside your script.js file you have this piece of code

    $().ready(function() {
     var $scrollingDiv = $("#fancybox-contentB");
     var $scrollingDivB = $("#fancybox-content");
     $(window).scroll(function(){                   
       $scrollingDiv.stop().animate({"marginTop": ($(window).scrollTop() + 30) + "px"}, "slow");            
       $scrollingDivB.stop().animate({"marginTop": ($(window).scrollTop() + 30) + "px"}, "slow");           
     });
    });
    

    that I suspect is adding dynamically 30px to the marginTop of the #fancybox-content for each little inch you scroll down the window, pushing it literally down out of the screen (try to scroll down continuously the window while fancybox is opened to see the effect.)

    What is the idea of having this function?

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

Sidebar

Related Questions

I'm using the script from http://www.gmarwaha.com/jquery/jcarousellite/ and now I need the thumbs to work
http://www.gmarwaha.com/jquery/jcarousellite/?#demo Hi, jcarousellite is a very nice jquery extension. I am using it for
I am using the jquery slider from http://www.gmarwaha.com/jquery/jcarousellite/ and the jquery kwciks as shown
Im pretty sure this has a simple solution. I am using jCarousellite, and i
I'm trying to implement a slideshow like this one: http://biggayicecreamtruck.com but for the life
Using the http://www.ifans.com/forums/showthread.php?t=132024 post from another question i am allowing the user to enter
(Using iOS 5 and Xcode 4.2.) I've followed the instructions here: http://developer.apple.com/library/ios/#documentation/UserExperience/Conceptual/LocationAwarenessPG/AnnotatingMaps/AnnotatingMaps.html#//apple_ref/doc/uid/TP40009497-CH6-SW15 and used
I'm using JCarousellite to create simple carousels on a Drupal site. In my template
using the jquery ui modal dialog , the background shades grey (i assuming this
Using Ivy with this Ant target: <target name=retrieve-jars> <ivy:retrieve pattern=WebContent/WEB-INF/lib/[artifact].[ext] /> </target> to fetch

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.