back to home

pablof7z / chardin.js

Simple overlay instructions for your apps.

4,965 stars
495 forks
23 issues
JavaScriptHTMLCSS

AI Architecture Analysis

This repository is indexed by RepoMind. By analyzing pablof7z/chardin.js in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.

Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context on-demand, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.

Source files are only loaded when you start an analysis to optimize performance.

Embed this Badge

Showcase RepoMind's analysis directly in your repository's README.

[![Analyzed by RepoMind](https://img.shields.io/badge/Analyzed%20by-RepoMind-4F46E5?style=for-the-badge)](https://repomind.in/repo/pablof7z/chardin.js)
Preview:Analyzed by RepoMind

Repository Overview (README excerpt)

Crawler view

Chardin.js **Simple overlay instructions for your apps.** Check out a demo. Or demo sequential stepping. Chardin.js is a jQuery plugin that creates a simple overlay to display instructions on existent elements. It is inspired by the recent Gmail new composer tour which I loved. Jean-Baptiste-Siméon Chardin Installing Simple! Fork this repo or download [chardinjs.css][0] and [chardinjs.min.js][1] and add the following assets to your HTML: There's a gem. Adding data for the instructions Add the instructions to your elements: : Text to show with the instructions/tooltip. : ( , , , ), where to place the text with respect to the element. In addition you can alter the relative position of the tooltip text by placing a colon and a percentage value (-100 to 100) after the position text, eg "top:-50". This will slide the tooltip along the length or height of the element away from the centre. If you want to increae the distance of the tooltip from the element, you can do it by placing a comma and a percentage value (100, 200, 300, 400 or 500) after the tooltip offset, eg "top:0,200". This will shift the tooltip to be twice farther away from the element than by default. You can also run Chardin in sequenced mode, where one element will be displayed at a time, moving on to the next with a mouse click (or automatically after a set delay). Add entry to the body tag. Also add and for automatic movement through the elements. Delay is in milliseconds. The default sequence is as loaded by the DOM, but this can be overridden using the tag with a number. If no auto-traversal is set, clicking will move sequentially through the elements, clicking with the shift key down will move backwards through them. Running Once you have your elements ready, initialise the library and assign it to a button that the user will click to show the overlay. The library will store an initialised object to the containing element's data set so you can start and stop it with whatever options you set. body data-intro='#summary-btns'`. If the data-intro does not start with a #, then the value will be used as the text to display. If no entry is present for a given element's data reference, then nothing will be displayed. • attribute: changes the data attribute from data-intro to data- . Example: Methods .chardinJs('start') Start ChardinJs in the selector. .chardinJs('toggle') Toggle ChardinJs. .chardinJs('stop') Make your best guess. That's right! Stops ChardinJs in the selector. Events 'chardinJs:start' Triggered when chardinJs is correctly started. 'chardinJs:stop' Triggered when chardinJs is stopped. 'chardinJs:next' Triggered when the sequential option moves to the next element 'chardinJs:previous' Triggered when the sequential option moves to the previous element Author [Pablo Fernandez][2] Contributors • John Weir • felipeclopes • Bobby Jack • Maxim Syabro • nmeum • printercu • Max Loginov • sudodoki • Mickaël Gentil • gbjbaanb • dozyatom Contributions If you want to contribute, please: • Fork the project. • Make your feature addition or bug fix. • Add yourself to the list of contributors in the README.md. • Send me a pull request on Github. License Copyright 2020 Pablo Fernandez Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. [0]: https://github.com/heelhook/chardin.js/blob/master/chardinjs.css [1]: https://github.com/heelhook/chardin.js/blob/master/chardinjs.min.js [2]: https://github.com/heelhook