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.

Checkbox und ein target setzen. Wie geht das?

Empfohlene Antworten

Veröffentlicht

Hallo zusammen. Ich hab folgenden Quelltext

<html>

<head>

<title>Test</title>

<script type="text/javascript">

<!--

function Go(x) {

if(x == "nothing") {

document.forms[0].reset();

document.forms[0].elements[0].blur();

return;

}

else if(x == "end")

top.location.href = parent.frames[1].location;

else {

parent.frames[1].location.href = x;

document.forms[0].reset();

document.forms[0].elements[0].blur();

}

}

//-->

</script>

</head>

<body background="../../../images/bg-image_01.gif" text="#FFFFFF" link="#FFFFFF" vlink="#FFFFFF" alink="#FFFFFF">

<form action=""><select size=1 name="Auswahl"

onChange="Go(this.form.Auswahl.options[this.form.Auswahl.options.selectedIndex].value)"

style="width:130px; background-color:#FFFFFF; font-size:9pt; font-family:Arial,sans-serif;"

width="250">

<option value="nothing">[ bitte auswählen! ]</option>

<option value="nothing">------------------------</option>

<option value="tralala.html">tralala</option>

</select>

</form>

</body>

</html>

Wie setze ich bei dem link einen target?

Versuch es mal mit nem base target

An welche Stelle müsste ich den setzen?

In den Head,

z.B.: <base target="_self">, vor dem JS_Script

Ok werde es probieren

Also das mit dem Base Target funzt leider nicht

Ich musste die JavaFunktion einfach ein zweites mal einfügen. Schon ging es.

Auch nicht schlecht ;)

trotzdem besten dank

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

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.