question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support for clickable slides, with hyperlinks

See original GitHub issue

From what I can tell it is not possible currently to add a hyperlink to a slide, such that when clicking on it would follow the referenced page?

For example:

        <div>
            <a href="http://github.com/"><img src="images/2.jpeg" /></a>
            <p className="legend">Legend 1</p>
        </div>
        <div>
            <a href="http://localhost:2020/"><img src="images/2.jpeg" /></a>
            <p className="legend">Legend 2</p>
        </div>
        <div>
            <img src="images/3.jpeg" />
            <p className="legend">Legend 3</p>
        </div>
        <div>
            <img src="images/4.jpeg" />
            <p className="legend">Legend 4</p>
        </div>
        <div>
            <img src="images/5.jpeg" />
            <p className="legend">Legend 5</p>
        </div>
        <div>
            <img src="images/6.jpeg" />
            <p className="legend">Legend 6</p>
        </div>

The expectation here is click on slide 1 and 2 would take me to referenced page.

I did try using onClickItem, to hoping this could help, but it just returns the slide number, when doesn’t allow me to access the content to process myself.

I did also try in the sandbox: https://codesandbox.io/s/rql0ovl5m

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7

github_iconTop GitHub Comments

7reactions
MichaelWheldoncommented, Jul 6, 2019

You should just have to make your anchor tag display: block to fill the space, it’s an inline element otherwise.

2reactions
Jongmun-Parkcommented, Mar 2, 2021

i handle it by using onClickItem props. <Carousel onClickItem={(index) => { window.open(art.imageUrls[index].url) }} >

Read more comments on GitHub >

github_iconTop Results From Across the Web

Add a hyperlink to a slide - Microsoft Support
Edit a hyperlink · Select the hyperlink that you want to change. · On the Insert menu, click Hyperlink. · Make the changes...
Read more >
How to Add Hyperlinks in Google Slides - - Primary Paradise
Highlight the text you want to add a link to. · Right click on the highlighted text. · Click on “link” (or you...
Read more >
How to Add a Hyperlink on Google Slides - Support Your Tech
Open the slideshow. · Select the slide. · Highlight the text. · Click Insert. · Select Link. · Type the address, then click...
Read more >
How to Add Hyperlinks in Google Slides - Tutorial - Slidesgo
Adding a Link to Another Slide in the Same Presentation or to a Document Stored in Google Drive · Select the resource. ·...
Read more >
PowerPoint 2010: Hyperlinks and Action Buttons - GCF Global
If you want to include a web address or email address in your PowerPoint presentation, you can choose to format them as clickable...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found