Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Generic User Avatar

Click on a link


  • Please log in to reply
4 replies to this topic

#1 JohKe

JohKe

  •  Avatar image
  • Members
  • 138 posts
  • OFFLINE
  •  
  • Local time:10:51 PM

Posted 24 January 2024 - 04:33 PM

Hello.  I am thinking about creating my own website.  I just have a question.  Let's say if there are words that are not very common, and I want my readers to be able to click on the word and then a little window pops up that contains a quick definition for it, how do I do this?

I want to do this so that the reading experience my readers get is smooth.  Thanks.



BC AdBot (Login to Remove)

 


#2 Dominique1

Dominique1

  •  Avatar image
  • Members
  • 916 posts
  • OFFLINE
  •  
  • Gender:Not Telling
  • Local time:12:51 AM

Posted 25 January 2024 - 04:02 AM

There are many ways to implement tooltips.  Search for:

HTML tooltip

Here's one way from W3 Schools using HTML and CSS:
https://www.w3schools.com/howto/howto_css_tooltip.asp
 



#3 JohKe

JohKe
  • Topic Starter

  •  Avatar image
  • Members
  • 138 posts
  • OFFLINE
  •  
  • Local time:10:51 PM

Posted 25 January 2024 - 09:34 AM

Thank you.



#4 Dominique1

Dominique1

  •  Avatar image
  • Members
  • 916 posts
  • OFFLINE
  •  
  • Gender:Not Telling
  • Local time:12:51 AM

Posted 25 January 2024 - 02:31 PM

:thumbup2:



#5 xBlueRobot

xBlueRobot

  •  Avatar image
  • BSOD Kernel Dump Expert
  • 408 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:%systemroot%
  • Local time:06:51 AM

Posted 16 February 2024 - 09:02 AM

An easier method might be to just use the title attribute: https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/title






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users