UI for generating the fragmention link to some selected text.
Try it out here fragmentioner demo.
Fragmentioner only generates the UI for the link. To make fragmentioned links work on your page you will need to use fragmention.js.
- Add the styles from fragmentioner.css into your stylesheet.
- Add fragmentioner.js in a script tag and you are good to go.
- Use any HTML you'd like for the UI by changing the variable
BUTTON_HTML
in the javascript. Remember to update the CSS too if you change theid
. - You can of course change any style in your own CSS for the UI.
Now use this yourself and give feedback.