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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T20:13:04+00:00 2026-05-30T20:13:04+00:00

I am having a problem in Chrome when I slideToggle() and element. EDIT: Example

  • 0

I am having a problem in Chrome when I slideToggle() and element.

EDIT: Example here, click Link A a few times and you’ll see what I mean.

The HTML is along the lines of:

<div>
    <a>Link A</a>
    <a id="myLink">Link B</a>
</div>

With very simple CSS floating all the links to the left horizontally:

a{
  float: left;
  margin-right: 20px;
  height: 20px;
  width: 20px;
}

#myLink{
   display: none; 
}

The JavaScript simply toggles between showing myLink and hiding it on some event.

$('#myLink').slideToggle();

When slideToggle() is called the first time, everything works nicely; the link appears horizontally aligned with the other link. However, if I hide it again, when it reappears in Chrome/Safari the link appears underneath the other link (instead of alongside it). Also, I’ve noticed if I use the Developer Tools in Chrome and click on the element, it fixes itself and moves the link to be horizontally inline with the other link.

Anyone know of any issues with slideToggle() in WebKit?

  • 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-30T20:13:06+00:00Added an answer on May 30, 2026 at 8:13 pm

    Don’t float DIV or you can give it a width in pixels.

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

Sidebar

Related Questions

I'm having a CSS problem in Chrome (build: 17.0.9) with an image element that
I'm having a problem related to WebKit: http://demo.frojd.se/webkit/index.html When you click Menu item 1
I'm having a problem with floating divs and IE7. For example, the following HTML
I'm having a problem setting a cookie and doing a 302 redirect In chrome
I'm having problem selecting an element with an id like this <li =0f:Bactidol_Recorder.mp4>. I
I am having problem with google chrome. The problem is the first list item's
I am having a problem with ajax requests in Internet Explorer and in Chrome
I seem to be having a problem with styling my links for chrome, yet
I am having a problem with a canvas element. It does not show when
I'm having a problem where the undo function (both ctrl+z and right click >

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.