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

The Archive Base Latest Questions

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

I am trying to understand someone else’s codes…he has the following: var positionAt =

  • 0

I am trying to understand someone else’s codes…he has the following:

    var positionAt = horizontalPosition + ' ' + verticalPosition;
    var positionOffset = String(horizontalOffset + ' ' + verticalOffset);

   //i don't understand the codes below. I don't think Jquery position method support at and of attribues....

   $tooltipElement.position({at: positionAt, of: $element, my: 'left top', offset: positionOffset});

                $element.hover(function(){
                            $instance = $(this).css({'cursor': 'pointer'});
                            $('#tooltip-' + $instance.attr('id') ).fadeIn('fast');
                }, function(){
                            $instance = $(this).css({'cursor': 'auto'});
                            $('#tooltip-' + $instance.attr('id') ).fadeOut('fast');
                });

I am not sure what the position method with At, of and my attributes for. Can anyone help me about it? Thanks a lot.

  • 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-09T16:19:29+00:00Added an answer on June 9, 2026 at 4:19 pm

    He’s using the UI/Position plugin, in which the position function takes my, at and of parameters :

    my :
    Defines which position on the element being positioned to align
    with the target element: “horizontal vertical” alignment. A single
    value such as “right” will default to “right center”, “top” will
    default to “center top” (following CSS convention). Acceptable values:
    “top”, “center”, “bottom”, “left”, “right”. Example: “left top” or
    “center center”

    at :
    Defines which position on the target element to align the
    positioned element against: “horizontal vertical” alignment. A single
    value such as “right” will default to “right center”, “top” will
    default to “center top” (following CSS convention). Acceptable values:
    “top”, “center”, “bottom”, “left”, “right”. Example: “left top” or
    “center center”

    of :
    Element to position against. If you provide a selector, the first
    matching element will be used. If you provide a jQuery object, the
    first element will be used. If you provide an event object, the pageX
    and pageY properties will be used. Example: “#top-menu”

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

Sidebar

Related Questions

I am trying to understand someone else's codes. He has task.prototype.taskAttributes = { 'header'
I have the following class written by someone else that I'm trying to understand
I'm trying to understand InstallShield (2009)/InstallScript on the fly, because I'm modifying someone else's
I'm a new programmer trying to understand someone else's code. The program's purpose is
I'm trying to learn shell scripting, and I need to understand someone else's code.
So, I inherited some code (below) from someone else and I'm trying to understand
I'm trying to understand someone else's Perl code without knowing much Perl myself. I
I'm trying to understand what happend when someone casts an object of one specific
I am trying to understand the tempDB and following are the doubts popping in
Can someone help me understand what I'm doing wrong with this method? I'm trying

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.