Can't make tabs in video gallery template as hyperlink

Duha Hamdan's Avatar

Duha Hamdan

10 Sep, 2017 10:15 AM

I use Royalslider jquery version , and I want video gallery version
I make some customization like mouse hovering move between slides.

I want the image and tab when click on it go to link ex: www.example.com
I make image clickable , but the tabs not work

here the image is clickable , but tab is not
I tried to add <a> inside <div class="rsTmb"> but the all slider corrupted

<div class="royalSlider rsDefault">
<a class="rsContent" href="http://example.com/">
<img class="rsImg" data-rsw="600" data-rsh="400" src="Images/tile1.png"/>
<div class="rsTmb">
<h5>IN THE ISSUE: Growing Health Care Market Concentration</h5>
</div>
</a>
</div>

  1. Support Staff 1 Posted by Dmitry Semenov on 10 Sep, 2017 12:44 PM

    Dmitry Semenov's Avatar

    Hello,

    Contents of .rsTmb element will be used for thumbnail, so markup for a single slide with link in thumbnail should look like this:

    <div class="rsContent"> 
         <img class="rsImg" data-rsw="600" data-rsh="400" src="Images/tile1.png"/> 
         <div class="rsTmb"> 
             <a href="http://example.com"><h5>IN THE ISSUE: Growing Health Care Market Concentration</h5></a> 
         </div> 
    </div>
    
  2. 2 Posted by Duha Hamdan on 10 Sep, 2017 12:50 PM

    Duha Hamdan's Avatar

    thanks
     now the tab is clickable , but the image is not
    I want when click on the image or tab to navigate to example.com

  3. Support Staff 3 Posted by Dmitry Semenov on 10 Sep, 2017 01:58 PM

    Dmitry Semenov's Avatar

    If you need both:

    <div class="rsContent"> 
         <a href="http://example.com"><img class="rsImg" data-rsw="600" data-rsh="400" src="Images/tile1.png"/></a>
         <div class="rsTmb"> 
             <a href="http://example.com"><h5>IN THE ISSUE: Growing Health Care Market Concentration</h5></a> 
         </div> 
    </div>
    
  4. 4 Posted by Duha Hamdan on 10 Sep, 2017 02:17 PM

    Duha Hamdan's Avatar

    thanks a lot

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac