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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T01:33:22+00:00 2026-05-25T01:33:22+00:00

I have a teeny tiny little issue concerning a jQuery-based slideshow in Opera. What

  • 0

I have a teeny tiny little issue concerning a jQuery-based slideshow in Opera.

What I am doing is the following. I have a couple of images:

<div id="bg">
<img src="..." />
<img src="..." />
...
</div>

In the JS I am doing the following:

$('#bg img:visible').hide().next().show();

As I wait for all the images to be loaded before building the page this should create a non-noticeable transition from one picture to the next. This works perfectly fine in Chrome, Safari, Firefox and IE. Yet, in Opera I have a pretty long (probably 1/4 of a second) period where I see the (black) background shining through.
I also tried doing this:

$('#bg img:visible').next().show().prev().hide();

but it made no difference so I guess this is a problem of Opera’s engine.

Yet – and although I know this is nit-picking on an advanced level – I’d be interested if anyone encountered this before and maybe knows a workaround or fix?

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-05-25T01:33:23+00:00Added an answer on May 25, 2026 at 1:33 am

    Opera has a different way and timing of handling when it reflows/renders changes made in JavaScript–basically it tries to update JavaScript changes faster than the other browsers. See Efficient JavaScript from the Opera dev articles. Though I’m surprised that you’re noticing that change. It could be due to the speed of your development machine combined with the size of the images, display driver, etc. What does it do on other machines? What about other versions of Opera?

    Depending on your layout, you could try placing the second image under (via z-index) the first, then show() the second (even though it will be covered still at this time), then hide() the first which will then reveal the second that was underneath.

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

Sidebar

Related Questions

I have the following jquery which I want to simplify. I am just repeating
Have you managed to get Aptana Studio debugging to work? I tried following this,
Have noticed issue while testing iphone app that if one quickly opens/dismisses a modal
Have following setup: MainActivity class - extends activity MyLayout class - extends View Prefs
I've messed around with this teeny little detail for hours now and I've finally
have a wierd issue. for the life of me can't trace this back (its
Have just started to get into CakePHP since a couple of weeks back. I
Have the following code. The height is variable so the height of the floating
Have a fun issue with sharepoint calendar view filtering. That code works fine: SPSecurity.RunWithElevatedPrivileges(delegate()
I have the following Java code: String p = seven; String q = teen;

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.