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.

target _parent in iframe geht nicht.

Empfohlene Antworten

Ich habe das Problem, dass auf einer Joomla-Site das target="_parent" in einem iframe nicht geht.

Mein Code (parentsite):

<div id="slideshow">
<iframe src="/cms/templates/templatename/slideshow/index.html" style="margin: 0px auto;" frameborder="0" height="370" width="100%">
<p>Your browser does not support iframes.</p>

</iframe></div>[/PHP]

Code IFrame:

[PHP]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>JavaScript Slideshow - TinySlideshow</title>
<link rel="stylesheet" href="style.css" />
<base target="_parent" />
</head>
<body>
<ul id="slideshow">
<li>
<h3></h3>
<a href="http://www.hu-dev.de/cms_neu" target="_top"><span>photos/image01.png</span></a>
<p></p>
<a href="#"><img src="thumbnails/t1.png" alt="Traumimmobilie" /></a>
</li>
<li>
<h3></h3>
<span>photos/image02.png</span>
<p></p>
<img src="thumbnails/t2.png" alt="Vermarktung" />
</li>
<li>
<h3></h3>
<span>photos/image03.png</span>
<p></p>
<a href="#"><img src="thumbnails/t3.png" alt="Karriere" /></a>
</li>
</ul>
</body>
</html>

Das erste List-Element (Bild) soll on click im parent geladen werden.

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Konto

Navigation

Suchen

Suchen

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.