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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T05:58:10+00:00 2026-06-14T05:58:10+00:00

I have a PHP website that contains a lot of technical content. I created

  • 0

I have a PHP website that contains a lot of technical content. I created a glossary for some of the more obscure terms used on the website. I would like tooltips (or hint bubbles, whatever they’re called) to be displayed whenever a user hovers over one of these terms.

I found a ton of jQuery extensions that seem to do what I want but they need to be manually linked to each term instance by setting a span tag to a specific class.

I want this done automatically. How should I proceed?

  • 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-14T05:58:11+00:00Added an answer on June 14, 2026 at 5:58 am

    I’d recommend doing this server-side. A jQuery plugin will slow the page down when there are many elements on the page.
    You might get something like:

    $content = "<p>Lorem ajax ipsum</p>";
    
    $terms = array(
        'ajax' => 'Asynchronous JavaScript and XML',
    );
    
    foreach ($terms as $term => $explained) {
        $content = str_replace($term, '<acronym title="' . htmlspecialchars($explained) . '">' . $term . '</acronym>', $content);
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Some years ago I created a small website in PHP that now has grown
So lets say i have a php file that contains $title=Website | Categories; And
I have a website that has an include folder which contains php templates and
I have inherited an big existing PHP application (website actually) that runs on Apache.
I have a website that is implemented in php/mysql, and is hosted at hostmonster
I have a php script that grabs links from another website. I am storing
I am building a website using php and mysql.I have a login that is
Basically, we have an ASP website right now that I'm converting to PHP. We're
I currently have a news website setup in PHP/MYSQL that's a bit old and
I have a website that contains many different pages of products and each page

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.