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

  • Home
  • SEARCH
  • 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 8648121
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T13:14:28+00:00 2026-06-12T13:14:28+00:00

Task: I wanted to create a simple share button which extends to a share

  • 0

Task: I wanted to create a simple share button which extends to a share section (F,T,G,P) when clicked.

I failed to let the section slide out of the share button – what I really, really wanted – but managed to let a separate ul element slide out on the right side.

The animation worked… until I set the ul to hide initially via $('.networks').hide();

The sections is intended to only show up after a click, but now after the first click it just “pops open” ignoring the configured slide-out. Sliding only works in both directions (open and close) after clicking on it at least once .

I’ve uploaded an Example here at Codepen.io and as a jsFiddle.


Side note: the demos are behaving a little bit strange since they appear to only show a slide-in fx. The slide-out fx, with which we start, always looks like it pops open – that’s not the case, it works after the second click, so you got to focus your eyes to see it (on a normal browser it visibly works better).


PS: Bonus points if you help me make this slide out of the “share” button. Be aware that I only have rudimentary knowledge of Javascript ( * duck and run * ).

  • 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-12T13:14:29+00:00Added an answer on June 12, 2026 at 1:14 pm

    Take a look at this fiddle link.

    I changed the display property of the buttons to be inline-block instead of inline.
    Elements with display inline can not have a width and i think it was the reason why jQuery was not able to animates the Elements width. I also animated the wrap around the ul instead of the ul.

    EDIT: made a fast mockup of the thing sliding out of the button. Changed some css to be on the list elements itself instead of on the a elements, just work through the css and I think it will look ok.
    edit forgot the link: link

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

Sidebar

Related Questions

I'm new to Silverlight and I wanted to accomplish a relatively simple task:    Create
I would like to create web page which will print simple message x minutes
TASK : I have an existing xml document (UTF-8) which uses xml namespaces and
Task: I have a camera mounted on the end of our assembly line, which
The task is pretty simple, but I've not been able to come up with
I wanted to get a code review of my methods for creating a simple
Requirements: I am building a task list application and wanted tasks to be able
I am trying to create a fairly simple editor with the purpose of having
I'm a newbie to Matlab and just stumped how to do a simple task
I wanted to make an associative array in Javascript in which I would have

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.