开发者

Anchor tags not working in jquery slider

开发者 https://www.devze.com 2023-02-28 12:47 出处:网络
There is an image slider at the top of this page: http://www.example.com/ Each slide is wrapped in an anchor tag and is supposed to link to a开发者_开发百科 post somewhere else on the site. However,

There is an image slider at the top of this page:

http://www.example.com/

Each slide is wrapped in an anchor tag and is supposed to link to a开发者_开发百科 post somewhere else on the site. However, the slides don't seem to be clickable and I can't figure out why. My suspicion is that there must be some sort of z-index issue but hours of tinkering hasn't gotten me anywhere. Ideas?


A few things I would have tried:

  1. The a-tag should probably have its display css property set to block.
  2. One of the slideshow containers has its z-index set to -1. This could result in it's content effectively being covered by another element for click purposes.
0

精彩评论

暂无评论...
验证码 换一张
取 消