-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Having trouble adding links to images #13
Comments
I noticed the comments system stripped out my div tag. I'll try to leave it again. " " |
Still won't let me leave the snippet of code. Well hopefully you can help me without it. |
One more time: data-iview:image=".../images/ad3.jpg" |
Since the image is not being called with an image tag I'm confused about how to make it a link. Since I want to use the slider for banner ads, I need the images to have links back to the advertising client paying for the ad. |
I found a jquery script solution that I inserted into the data-view div that works. However, this is not an ideal solution as not all browsers have jQuery enabled. Most do, but a a meaningful percentage don't. An html solution would be better. Not sure why I can't get it to work in html with an a href solution. The image comes up but then quickly disappears, leaving a dark background which is clickable but the image is gone. |
I've implemented your demo "index5" using the horizontal "Advertise Here" slider. I would like to add links to the images but nothing seems to work. Do you have a solution?
My image divs look like this:
I've tried adding href to both an "a" and "div" tag. I styled the a tag with "display:block", etc. Nothing seems to work. I'm wondering if there is something I'm missing with respect to html5.
It's probably something simple I'm overlooking. Let me know.
Thanks,
The text was updated successfully, but these errors were encountered: