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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T08:26:00+00:00 2026-06-09T08:26:00+00:00

Playing around with http://tympanus.net/Tutorials/CufonizedFlyOutMenu/ I dropped the fly-in descriptions and now trying to get

  • 0

Playing around with http://tympanus.net/Tutorials/CufonizedFlyOutMenu/
I dropped the fly-in descriptions and now trying to get it to load the extra li with style that would “highlight” the li.current-menu-item.

It sets up an object with:

var $moving = $('<li />',{
    class : 'move',
    top   : $selected[0].offsetTop + 'px',
        width : $selected[0].offsetWidth + 'px'
    });

Later in the code, it is manipulated with:

function moveTo($elem,speed){
    $moving.stop(true).animate({
        top     : $elem[0].offsetTop + 'px',
        width   : $elem[0].offsetWidth + 'px'
    }, speed, 'easeOutExpo');
}

It creates the li item I want…but it shows up like this:

<li class="move" top="41px" style="width: 73px; "></li>

How do I get the top to show up as a style? Everything is mostly working…but upon page load it’s not getting the “top” style until everything starts?

I loaded up a http://jsfiddle.net/jq7YQ/26/ but I can’t get it to work there at all…sigh…but it does work locally?

I’m a rookie…so I’m probably missing something stupid…or there’s a better way to do this? Any thoughts?

  • 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-09T08:26:03+00:00Added an answer on June 9, 2026 at 8:26 am

    The example uses parts of jQuery UI (easing) so you need to include that.
    The site links to ‘http://tympanus.net/Tutorials/CufonizedFlyOutMenu/jquery.easing.1.3.js’ and if you add this as a resource in the Fiddle all should work.

    http://jsfiddle.net/rlemon/jq7YQ/28/ check it out. All I did was add the jQuery easing file (which is included in jQuery UI)

    here is a example for the ‘selected’ part of your issue.

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

Sidebar

Related Questions

http://jsfiddle.net/kz26/kH9wg/ I'm playing around with directives in AngularJS and have trying both the shorthand
I'm playing around with a web site at the following address http://jsfiddle.net/deltanovember/h63Vx/3/ The code
trying to understand http and headers i was playing around with telnet to send
Im playing around with the Tablesorter plug-in for jQuery and was trying to get
I am playing around with php rar http://www.php.net/manual/en/intro.rar.php Goal : Gather file (name) information
I've been playing around with the resco API for windows mobile 6: http://www.resco.net/ and
Just playing around with the now released Silverlight 2.0. I'm trying to put a
I was playing around with this code: http://jsfiddle.net/VmVAq/ As you can see, on page
I have been testing and playing around with jquery date picker below. http://jqueryui.com/demos/datepicker/ on
Playing around with MongoDB and NoRM in .NET. Thing that confused me - there

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.