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.

tr bgcolor ändern

Empfohlene Antworten

hi leute,

ich hab ne table in der ich nen hover effekt reinmachen will.

es soll die background color des <tr>`s geändert werden über dem gerade meine Maus steht.

gruß

kills

Hi,

schaue dir mal bei phpMyAdmin die setPointer Funktion in der

function.js Datei an.

Gruß Jaraz

ja daran hab ich auch schon gedacht aber ich hab den myadmin hier nicht drauf weil ich mit informix sql und dbaccess arbeite!

gruss

kills

könntest du mir die datei vielleicht posten?

ja ich wollte jetzt nicht son riesen aufstand deswegen machen :)

habs stattdessen so gelöst:


<html>

<head>

<title>Tabellentest</title>

<style type="text/css">

<!--

  tr.tablerow {background-color:blue;}

-->

</style>

<script LANGUAGE="JavaScript" >

function checkHighlight(which)

{

   var el = event.srcElement;

   while (el != null && el.tagName!="TR")

     el = el.parentElement;

     if (el == null) return

   if (which)

      el.className = "tablerow"

   else

      el.className = ""

}

</script>

</head>

<body>

<table border=1 width='500' ONMOUSEOVER="checkHighlight(true)" ONMOUSEOUT="checkHighlight(false)">

<tr>

<td>

Zeile1

</td>

</tr>

<tr>

<td>

Zeile2

</td>

</tr>

<tr>

<td>

Zeile3

</td>

</tr>

</table>

</body>

</html>


Dann gehts ja. :D

die setpointer Funktion macht noch ein bisschen mehr.

Da kannste auch ne Zeile anklicken und die bleibt dann markiert.

Gruß Jaraz

sry verschaut

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.