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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T16:12:19+00:00 2026-06-12T16:12:19+00:00

I want to add a very simple bit of code to a jsfiddle, but

  • 0

I want to add a very simple bit of code to a jsfiddle, but when ever I do it breaks everything else. This is the code I’d like to add:

$("#launcher").click(function(){
  $("#profile_850_HEADER").animate({
    margin-top: "10px"
}, 1500 );
});

and this is the jsfiddle http://jsfiddle.net/loriensleafs/F3wjg/3/ , I’m sure this is beyond simple but I can’t figure it out, any help would be greatly appreciated.

  • 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-12T16:12:20+00:00Added an answer on June 12, 2026 at 4:12 pm

    margin-top: "10px" should be:

     marginTop: "10px"
    

    Or

     'margin-top': "10px"
    

    Or simply (my preferred):

     marginTop: 10
    

    The unquoted - (minus/hyphen sign) is not allowed in property names and results in a syntax error.

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

Sidebar

Related Questions

Okay this is very hard to explain, but i want to add padding to
This code compiles but looks very strange. I have a typical and simple parent/child
I am trying a very simple override. I just want to add one line
I have a very simple code, that just draws a building, I want to
I want to provide a bit of very simple editor support for a new
very simple folderstructure like this … index.php img someimage1.jpg someimage2.png someimage3.jpg I wonder how
I want to add a very simple blog feature on one of my existing
I am very new to Java, I want to add a PNG image to
I want add UIGestureRecognizerDelegate to UIWebView,but failed. if [self.view addsubView:webView]; So UIWebView is ok,but
I want add new Feed item on entity persist and update. I write this

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.