The problem with pdf's

Hi from damp and wet 4° York UK,

Sorry to use my own site but its the best for demonstrating the problem you get when using pdf’s on a web page. The specific problem is the user just looses the web page, I tried to solve the issue by opening in a fresh tab but it feels rubbish and even worse on mobile.

To see the problem I’m talking about click on this page https://www.english-teacher-david.co.uk/lessons.html click on free lesson link and you’ll see what I mean.

So how can you create downloads that when clicked on do not loose the users sense of place on the site?

Thing is I’m building a website that needs to to have “Click here for a free example of a website procurement document”.

Thanks in advance,
David

Hi there Nightwing,

have you considered changing this…

<a href="pdf/a1-lesson-textmessage.pdf" target="_blank" class="link">
 Free Lesson
</a>

…to this…

<a href="pdf/a1-lesson-textmessage.pdf" download class="link">
 Free Lesson
</a>

coothead

1 Like

Thank you, i’ll give that a whirl tomorrow.

Thank you you fix worked perfectly, didn’t realise a simple download class=“link” is all I needed :slight_smile:

Hi thereNightwing,

only the download attribute is required,
the class=“link” attribute is your coding. :winky:

coothead

1 Like

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.