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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T11:29:07+00:00 2026-05-30T11:29:07+00:00

This is driving me nuts, I can’t see the problem. Using jQuery (I’m stuck

  • 0

This is driving me nuts, I can’t see the problem. Using jQuery (I’m stuck with v 1.6.2 btw as it’s within a CMS), I’m trying to show a div of content by clicking on a link.

Here’s my HTML:

        <div id="vl-hcp" class="venue">
            <h1>Title of venue</h1>
            <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor.</p>
        </div>

<div class="venuesScroller">    
<a href="javascript:void(0);" class="vl-hcp"><span>Title of venue</span></a>
</div>

Here’s my jQuery:

    $('.venuesScroller a').click(function(){
        // Make only currently clicked link active and hide other info boxes
        $('.venuesScroller a').removeClass('active');
        $('.venue').addClass('hidden');

        // Make link active and go through cases for showing text
        $(this).addClass('active');
        if($(this).hasClass('vl-hcp')) {
            $('#vi-hcp').removeClass('hidden');
        }
});

But no classes are changed on the venue div when I click the link and in Chrome (version 17.0.963.56), I’m getting the error:

event.layerX and event.layerY are broken and deprecated in WebKit.
They will be removed from the engine in the near future.

Can anyone see what the issue is? I’m really stuck here.

Thanks,

Osu

  • 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-30T11:29:09+00:00Added an answer on May 30, 2026 at 11:29 am

    It’s not an error, it’s a warning.

    When jQuery normalizes the event object, it iterates over all of the properties that it might have, and when it touches layerX and layerY, Chrome’s JS Engine throws the warning.

    If the issue is that the hidden class isn’t being removed from #vl-hcp, it’s because of a typo:

    $('#vi-hcp').removeClass('hidden');
    

    should be

    $('#vl-hcp').removeClass('hidden');
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is driving me nuts. I can't seem to get the data template within
This is driving me nuts!@#!@# I can load the tinyMce plugin for jquery just
Ok, this is driving me nuts. I've done just about everything I can to
This is driving me nuts. I am using some 3rd-party code in a Windows
Ok, this is driving me nuts... I'm trying to rewrite my urls like this:
This is driving me nuts. http://www.cssdrive.com/index.php/examples/exampleitem/focus_pseudo_class This is an example of using the hover
This is driving me nuts! I am getting the classic Can't connect to local
This is driving me nuts. I registered a DLL (COM) using regsvr32 blabla.dll In
This is driving me nuts! A little piece of code that I can't seem
This is driving me nuts. I am trying to setup a webiste on our

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.