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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T18:17:09+00:00 2026-05-26T18:17:09+00:00

I have a section on a website where you click a div to display

  • 0

I have a section on a website where you click a div to display a menu of images to the right, select your choice and open a bigger version of said image in the div initially clicked. All works great on all browsers except IE, but it is a strange behavior.

Here’s an example. If you’re using IE (tested in 8 and 9), the top row large div and the bottom row last div (cubierta and frente) share the same image menu; the top row last three divs (under tela) also share the same menu. And those are precisely the ones not working in IE. The strange thing, however, is that I open the developer tools to try and see what’s wrong, and immediately after that everything works fine. So I know the images and the script are working, just not on first opening the page (or actually until I hit F12), and I can’t figure out why.

Part of the code I’m using and it’s common across the problematic divs is:

var clickedDiv = null;
$(".tela_").click(function(){
    $(".nav a").removeClass("active");
        $(".tela1").addClass("active"); // start on first tab when clicking either of the 3 blank divs
    $("div[id$=_options]").css("visibility", "hidden");
    $("#acabados_main #tela1_options").css("visibility", "visible");
    console.log("setting div");
    clickedDiv = $(this);
});
$('#tmp .image_carousel div>img').click(function () {
    console.log("img clicked");
    var $img = $(this),
        imageName = $img.attr('alt'),
        chopped = imageName.split('.');
    clickedDiv.next().text(chopped[0]);
    clickedDiv.find('img').attr('src', $img.attr('src'));
});

I tested the site in Opera, Chrome, FF, Safari, on PC and MAC, and only Explorer showed that behavior (though my client says she had the same happening in Chrome). I have no idea where to start looking, can someone help me shed some light on this?

Thank you.

  • 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-26T18:17:10+00:00Added an answer on May 26, 2026 at 6:17 pm

    Try to take out your console logs if you haven’t , they don’t work in IE and will break code from what I have experienced

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

Sidebar

Related Questions

i have a section in my website that needs to be toggled by clicking
I have a download section in my website where I want to have a
I have a page where I display a friends list from my website members.
I have a section in ma website, which has some width. I load the
I have a Pictures section on my website and allow users to enter comments
I have a website, and in the Contact section I have a form which
On the following website they have the following section People who read this article
I have a website that will fade out a section of my website, load
I have a donations section on my website and I'm interested whether the following
I am frustrated. I have one website where my drop-down CSS menu works and

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.