如何在锚标签内使用fotorama滑块图像 [英] how use fotorama slider image inside anchor tag

查看:93
本文介绍了如何在锚标签内使用fotorama滑块图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

<a href="#" target="_blank"><img src="http://s.fotorama.io/1.jpg"></a>





以上代码内滑块无效。它只显示图像。



above code inside slider not working. It shows image only.

推荐答案

在href中添加适当的url或为anchor或img添加click事件。在那个事件中做任何你想做的事。
Add proper url in href or add a click event for anchor or img. Inside that event do whatever you want to do.


这篇关于如何在锚标签内使用fotorama滑块图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆