This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script> | |
| export let inputid = ''; | |
| export let content = 'Read more…'; | |
| export let handleClick = () => {}; | |
| </script> | |
| <style> | |
| .coveringparentnode { | |
| position: absolute; | |
| z-index: 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Verifying that +matthiou is my blockchain ID. https://onename.com/matthiou |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // adding tabindex to all relevant elements which need it | |
| // so we exclude the tabindexed elements | |
| // tabindex = 0 will come after the positively numbered elements | |
| // cf http://www.w3.org/TR/html401/interact/forms.html#adef-tabindex | |
| jQuery(document).ready(function($) { | |
| $('a, input, select, button, textarea').not('[tabindex]').attr('tabindex',0); | |
| }); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // find all anchors in document | |
| var allAnchors = document.getElementsByTagName('a'); | |
| // read them one by one | |
| for (var i = 0, oneAnchor; oneAnchor = allAnchors[i]; i++) { | |
| // is href just a hash ? | |
| if ( oneAnchor.href == '#' ) | |
| { | |
| // replace with well behaved |