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 liebe Community,

ich brauche mal wieder euer geballtes Wissen.

Ich will folgendes programmieren.

main.html

<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<title>Anzeige Name</title>

</head>

<frameset>

  <frame name="frame1" src="frame_sender.htm">

</frameset>

</html>
In der Maske wird ein Namen eingegeben. frame_sender.htm
<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<title>Anzeige Name</title>

<script type="text/javascript">

function uebergabe () {

  parent.vorname = document.forms.formular.elements.vorname.value;

  parent.nachname = document.forms.formular.elements.nachname.value;

  location.href = "frame_empfaenger.htm";

  return false;

}

</script>

</head>

<body>


<form name="formular" action="" onsubmit="return uebergabe();">

  <p>

    <label for="vorname">Namen des Gastes : </label>

    <input type="text" name="vorname" id="vorname" size="30">

  </p>

  <p>

    <label for="nachname">Firme/Organisation:</label>

    <input type="text" name="nachname" id="nachname" size="30">

	(optional)

  </p>

  <p><input type="submit" value="Senden"></p>

</form>


</body>

</html>

in dem Frame wird der eingegeben Name wieder ausgegeben.

Jetzt meine Frage, wie schaffe ich es, das der ausgegebene Name mit maximaler Breite zum Browser dagestellt wird ?

Kann ich ein Vollbild erzwingen ?

Ich würde noch gerne eine optionale 2-te Eingabe haben. Diese sollte dann in kleinerer Schrift weiter unten auftauchen.

Ich hoffe mal Ihr versteht was ich will :)

ich habe schon selber ein bisschen rum gespielt und ausprobiert, aber mir geht da einfach ein bisschen das Verständniss dafür :)

bin für jede Hilfe dankbar :)

Schöne Grüße

  • Autor

kann leider den Post nicht mehr ändern.


<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<title>Anzeige Name</title>

</head>

<body>


<p>

<script type="text/javascript">

document.write(parent.vorname) ;

document.write(parent.nachname);

</script>

</p>


</body>

</html>

das ist der frame_empfang

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.