使图像可点击,然后在新窗口中打开相应的文本文件[复制]

问题描述 投票:-3回答:1

这个问题与以下内容完全相同:

当在图像上单击日期时,它应该打开新选项卡并在新选项卡中加载该日期txt文件,例如,当在新选项卡中单击28/03/2019时,28/03 / 2019.txt应该openimage dates should be clickable and on click specific text file should get open`

php jquery html css ajax
1个回答
1
投票

根据您的问题:

<a href="28-03-2019.txt" target="_blank">
  <img src="image_name.jpg"/> 
</a>
© www.soinside.com 2019 - 2024. All rights reserved.