Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
Chimo bfed35b8ca
Fix links and screenshot
2 лет назад
locale Adding translations to Spanish and Esperanto 4 лет назад
.jscsrc Formatting 4 лет назад
.jshintrc Formatting 4 лет назад
LICENSE Add license info 6 лет назад
README.md Fix links and screenshot 2 лет назад
hovercard.css StatusNet -> GNU social 4 лет назад
hovercard.js group: Support example.org/group/$ID/id URLs 4 лет назад


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.