Vote count:
0
Actually what I want to do is to display a text and make visible a popup(not an actual popup but with some css that overlays everything) with a close button. The code is something like this
<h3>Hello World</h3> <a href="/hw.html" target="_blank" thecode="HWLD">Open</a>
<h3>Hello World - Part 2</h3> <a href="/hw-2.html" target="_blank" thecode="HWLD2">Open</a>
Now what I want to do is that when clicked the anchor it will display a popup(as i already said a div with the text overlaying all content) containing the text in thecode attribute. Like when clicked the first link the hw.html will open in a new window and when user will come back to this window he will see the popup with the text "HWLD".
asked 1 min ago
Display popup on click with attribute text Javascript or jquery
Aucun commentaire:
Enregistrer un commentaire