Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Empfohlene Antworten

Veröffentlicht

Hallo,

ich würde gerne ein PDF durch klicken eines Buttons anzeigen lassen.

Wie mache ich das?

Danke

Matthias

ich würde gerne ein PDF durch klicken eines Buttons anzeigen lassen.



<a href="./pdf/datei.pdf">
<img src="./images/button1.gif" alt="PDF anzeigen" title="PDF anzeigen" />
</a>

[/php]

Hi Matthias,

es funktioniert wie Jesterday schon sagte. Vielleicht sollte man auch erwähnen, das zur Anzeige des PDFs ein PDF-Reader (z.B. Adobe Reader) auf dem Rechner installiert sein muss.



<a href="./pdf/datei.pdf">
<img src="./images/button1.gif" alt="PDF anzeigen" title="PDF anzeigen" />
</a>

[/php]

Das ist doch aber ein Link, kein Button?

Ich würde es gerne über einen Button machen.

Matthias

<a href="./pdf/datei.pdf">

<input type="button" name="b" value="PDF anzeigen">

</a>

:)

<a href="./pdf/datei.pdf">

<input type="button" name="b" value="PDF anzeigen">

</a>

:)

OK, dass werde ich mir morgen mal ansehen. Ich habs jetzt ersteinmal mit

Response.Redirect("*.PDF")

gemacht.

Aber danke für die Tipps

Matthias

Erstelle ein Konto oder melde dich an, um einen Kommentar zu schreiben.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.