Skip to content
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

Creating hyperlink #7

Closed
adhirpandit opened this issue Dec 1, 2014 · 2 comments
Closed

Creating hyperlink #7

adhirpandit opened this issue Dec 1, 2014 · 2 comments

Comments

@adhirpandit
Copy link

Hello,

First of all thank a lot for wonderful slider, simply amazing.

I am trying to give link internal page via slider, when user click on image he/she should be redirected to particular page.

Below is code -

I have added link but it is not redirecting to that page.

@adhirpandit
Copy link
Author

Added button and give that hyperlink.

Know more

@davidghi
Copy link
Member

davidghi commented Dec 1, 2014

Hi, and thank you for the compliment!

If you're adding a link for the image, you must wrap only the image inside the anchor tag.

<div class="sp-slide">
    <a href="http://bqworks.com">
        <img class="sp-image" src="http://bqworks.com/slider-pro/images/image.jpg" 
            data-retina="http://bqworks.com/slider-pro/images/image_retina.jpg"/>
    </a>
    <p class="sp-caption">Lorem ipsum dolor sit amet, consectetur adipisicing elit.</p>
    <div class="sp-layer">my layer text<div>
</div>

@davidghi davidghi reopened this Dec 1, 2014
@davidghi davidghi closed this as completed Dec 1, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants