ellisonleao / sharer.js

:on: :bookmark: Create your own social share buttons. No jquery.
http://ellisonleao.github.io/sharer.js
MIT License
2.02k stars 197 forks source link

Link not working #112

Closed MAJIDNISAR closed 4 years ago

MAJIDNISAR commented 4 years ago

I am using html5 and vanila javascript to create a simple page on github where in i created a data table which uses js as a data source to display, some of the audio files which are hosted using audio tag, my data set looks like this

var dataSet = [ ["000", "Introduction", "0.1", "Introduction to the translation By MirWaayiz: Umar Farooq", "<audio controls><source src=\"/Quran/000/1.mp3\" type=\"audio/mp3\">Your browser does not support the audio element.</audio>", "<a href=\"/Quran/000/1.mp3\" target=\"_blank\" download><span class=\"icon icon-cloud-download\"></span>", "<div class =\"btn-group dropup\"><button class=\"btn btn-info\" type=\"button\"><span class=\"icon icon-share-alt icon-lg icon-fw\"></span>Share</button><button class=\"btn btn-info dropdown-toggle\"data-toggle=\"dropdown\"type=\"button\" aria-expanded =\"false\"><span class=\"caret\"></span><span class=\"sr-only\">Toggle Dropdown</span></button ><ul class=\"dropdown-menu dropdown-menu-right\"><li><a href=\"#\"><div class=\"media\"><div class=\"media-left\"><span class= \"icon icon-user-plus icon-lg icon-fw\"></span></div><div class = \"media-body\" data-sharer=\"twitter\" data-title= \"Introduction to the translation By MirWaayiz: Umar Farooq\" data-hashtags=\"Kashur\,Quran\,KashurQuran\.in\,MajidNisar\.com\,alnajah\.in\" data-url=\"kashurquran\.in\" ><span class = \"d-b\">Twitter</span><small>Share Surah On twitter</small></div ></div ></a ></li ><li><a href= \"#\"><div class = \"media\"><div class = \"media-left\"><span class= \"icon icon-link icon-lg icon-fw\"></span></div ><div class=\"media-body\"><span class=\"d-b\">Send link...</span><small> People can view.</small></div></div ></a ></li ></ul ></div>"], ["000", "Introduction", "0.2", "Arz-e-Haal By MirWaayiz: Mirwaayiz Mohammad Yousuf Shah", "<audio controls><source src=\"/Quran/000/2.mp3\" type=\"audio/mp3\">Your browser does not support the audio element.</audio>", "<a href=\"/Quran/000/2.mp3\" target=\"_blank\" download> <span class=\"icon icon-cloud-download\"></span>", ""], ["000", "Introduction", "0.3", "Introduction to Quran", "<audio controls><source src=\"/Quran/000/3.mp3\" type=\"audio/mp3\">Your browser does not support the audio element.</audio>", "<a href=\"/Quran/000/3.mp3\" target=\"_blank\" download> <span class=\"icon icon-cloud-download\"></span>", ""], ["001", "Surah Fatiah", "1.1", "Surah Shifa / Surah Fatiha ", "<audio controls><source src=\"/Quran/001/SurahFatiah1.mp3\" type=\"audio/mp3\">Your browser does not support the audio element.</audio>", "<a href=\"/Quran/001/SurahFatiah1.mp3\" target=\"_blank\" download> <span class=\"icon icon-cloud-download\"></span>", "<button class=\"btn btn-info btn-primary\" data-sharer=\"twitter\" data-title=\"KashurQuran.in: SurahFateha\" data-hashtags=\"SurahFateha, Kashur, KashurQuran, KashurQuran.in, MajidNisar, alnajah.in\" data-url=\"https://KashurQuran.in/Quran/001/SurahFatiah1.mp3\">Twitter</button>"], now if i place the button for sharing out side of my data source... any where it works fine... but if i put inside the data table data source, it doesnt work. i am using a theme from theme forest for decorating the page...

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.