Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
Chimo bfed35b8ca
Fix links and screenshot
vor 2 Jahren
locale Adding translations to Spanish and Esperanto vor 4 Jahren
.jscsrc Formatting vor 4 Jahren
.jshintrc Formatting vor 4 Jahren
LICENSE Add license info vor 6 Jahren
README.md Fix links and screenshot vor 2 Jahren
hovercard.css StatusNet -> GNU social vor 4 Jahren
hovercard.js group: Support example.org/group/$ID/id URLs vor 4 Jahren


GNU social Querycards


This tiny jQuery plugin scans your selectors for a link that contains an @-mention.
It adds a popup to those links that contains more information about this user.
The popup appears on when you hover over the @-mention.


Visit: https://chromic.org/gs-querycards/


Relevant snippet

<div class="hovercard">
  <a href="https://sn.chromic.org/chimo">@chimo</a>

Complete example

<!DOCTYPE html>
    <title>GNU social Querycards</title>
    <link rel="stylesheet" href="hovercard.css" />
    <div class="hovercard">
      <a href="https://sn.chromic.org/chimo">@chimo</a>
    <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
    <script src="hovercard.js"></script>


If the widget has been translated in your language, you use it on your page by adding the locale before hovercard.js

To use the French translation, for example:

    <script src="locale/fr.js"></script>
    <script src="hovercard.js"></script>


Screenshot of a GNU social Querycard

You can of course change the look by including your own CSS on your page.