Javascript Tooltip / Posts /

SEO - How to make Tooltip search engine friendly

6

I find Menucool tooltip widget is very easy to use. I can easily write the tooltip content into the target element's onmouseover event:  

onmouseover="tooltip.pop(this, 'Hi there')"

But I have a concern from the SEO perspective. I want the tooltip content to be indexed by the search bots either. How can I achieve that?

Patrick  3 years ago   viewed: 6824    

1 Answer

3

There are three ways to open a tooltip. You can see them under the "How to use" tab on page Javascript tooltip.

To make the tooltip search engine friendly, you need to take the second or third approach.

Using the second apporach:

tooltip.pop(targetElement, '#contentElementId' [, options])

As the content is contained within the id="contentElementId" element, the content will be crawled and indexed by search bot such as Goolge, Bing.

Using the third approach:
tooltip.ajax(targetElement, url[, ajaxSettings][, options])

For example:
<a class="tooltip" href="tooltip/src/tooltip-ajax.html" onmouseover="tooltip.ajax(this, 'tooltip/src/tooltip-ajax.html#div2');" onclick="return false;">triggered by Hijax link</a>

Jethro   3 years ago

   

Your name*
Password
(Optional. Used to modify this post afterwords)
+ =  

Ask your Own Question

  • If your question is related to the topic of this post, you can post your question to this page by clicking the "Post a reply" button at left;

  • When you want to start a new page for your question: