[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Tooltip follow Mouse

Posted on 2011-10-04
2
Medium Priority
?
399 Views
Last Modified: 2012-05-12
I am using Qtip to build a tooltip. I have been trying to get it to follow my mouse. I have been trying to follow the following set of instructions: http://craigsworks.com/projects/qtip2/docs/position/ . What am I missing.
gear.html
gear.png
0
Comment
Question by:thebradnetwork
2 Comments
 
LVL 75

Accepted Solution

by:
Michel Plungjan earned 2000 total points
ID: 36915279
I get

missing } after property list
/gear.html
Line 34


Make sure you get your indentation right. It makes it a LOT easier to debug

$(document).ready(function() {
  $('area[alt]').qtip({
    content: {
      attr: 'alt'
    },
    style: {
      classes: 'ui-tooltip-tipsy ui-tooltip-shadow'
    }, <<<<<<<<<<<<<<<< missing comma

    position: {
      target: 'mouse',
      adjust: {
         mouse: true  // Can be ommited (e.g. default behaviour)
      }
    }
  });
});

Open in new window

0
 
LVL 6

Author Closing Comment

by:thebradnetwork
ID: 36917410
Thanks for your help!
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
The first step to building an amazing About page is to figure out what you want the page to say about your company. You then must grab the attention of the reader, boast a bit, tell a story and let others brag about you. With a little bit of thought…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses

868 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question