| | | | |
| |||||||
| HTML, Usability und Barrierefreiheit Themen rund um Textauszeichnung, Formatierung, Barrierefreiheit und Usability. |
|
| | LinkBack | Themen-Optionen | Thema bewerten |
| | |
| PHP Code Flüsterer Registriert seit: 21.08.2005 Beiträge: 4682 PHP-Kenntnisse: Fortgeschritten | |
| | |
| Neuer Benutzer Registriert seit: 19.02.2006
Beiträge: 26
![]() | Habe es nun aktuell so: Code: <html>
<head>
<script language="JavaScript" type="text/javascript">
function swap_content(id) {
var txt=document.getElementById(id);
if (txt.style.display=="block") {
txt.style.display="none";}
else{
txt.style.display="block"; } }
</script>
</head>
<body link="black" alink="black" vlink="black">
<table width="300">
<tr>
<td>SMS</td>
<td>Chat</td>
</tr>
</table>
<span id="sms" style="display:none">
<table width="300">
<tr>
<td>SMS Nummer: <input type="Text" name="" value="" size="" maxlength=""></td>
</tr>
</table>
</span>
<span id="chat" style="display:none">
<table width="300">
<tr>
<td>Chat Name: <input type="Text" name="" value="" size="" maxlength=""></td>
</tr>
</table>
</span>
</body>
</html>
Läst sich das ganze auch in ein select Feld einfügen? |
| | |
| | |
| Erfahrener Benutzer Registriert seit: 23.08.2007
Beiträge: 1.510
![]() | Code: <html>
<head>
<script language="JavaScript" type="text/javascript">
function swap_content(an,aus) {
var txt_an=document.getElementById(an);
var txt_aus=document.getElementById(aus);
txt_aus.style.display="none";
txt_an.style.display="block"; }
</script>
</head>
<body link="black" alink="black" vlink="black">
<table width="300">
<tr>
<td>SMS</td>
<td>Chat</td>
</tr>
</table>
<span id="sms" style="display:none">
<table width="300">
<tr>
<td>SMS Nummer: <input type="Text" name="" value="" size="" maxlength=""></td>
</tr>
</table>
</span>
<span id="chat" style="display:none">
<table width="300">
<tr>
<td>Chat Name: <input type="Text" name="" value="" size="" maxlength=""></td>
</tr>
</table>
</span>
</body>
</html>
|
| | |
| | |
| Erfahrener Benutzer Registriert seit: 23.08.2007
Beiträge: 1.510
![]() | Code: <html>
<head>
<script language="JavaScript" type="text/javascript">
function swap_content(an,aus,auchaus) {
var txt_an=document.getElementById(an);
var txt_aus=document.getElementById(aus);
var txt_auchaus=document.getElementById(auchaus);
txt_aus.style.display="none";
txt_an.style.display="block";
txt_auchaus.style.display="none";
}
</script>
</head>
<body link="black" alink="black" vlink="black">
<table width="300">
<tr>
<td>SMS</td>
<td>Chat</td>
<td>SMS</td>
</tr>
</table>
<span id="sms" style="display:none">
<table width="300">
<tr>
<td>SMS Nummer: <input type="Text" name="" value="" size="" maxlength=""></td>
</tr>
</table>
</span>
<span id="chat" style="display:none">
<table width="300">
<tr>
<td>Chat Name: <input type="Text" name="" value="" size="" maxlength=""></td>
</tr>
</table>
</span>
<span id="tel" style="display:none">
<table width="300">
<tr>
<td>Telefon Nummer: <input type="Text" name="" value="" size="" maxlength=""></td>
</tr>
</table>
</span>
</body>
</html>
|
| | |
|
| Themen-Optionen | |
| Thema bewerten | |
|
|
Ähnliche Themen | ||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| [Erledigt] Umfrage per php - Bei Auswahl eines Radiobuttons noch mehr Möglichkeiten e | Frankylein | PHP Tipps 2008 | 4 | 27.07.2008 16:20 |
| Auswahl und späteres Laden von Seiten durch Radiobuttons | luckynuts | PHP Tipps 2008 | 4 | 22.07.2008 19:16 |
| bei onChange vorherige Auswahl zurcksetzen | frankys9 | HTML, Usability und Barrierefreiheit | 6 | 05.05.2006 12:42 |
| Bei einer <select> Auswahl das Markierte an erster Ste | HTML, Usability und Barrierefreiheit | 1 | 03.04.2006 17:52 | |
| Einem Inputfeld einen Wert zuweisen | HTML, Usability und Barrierefreiheit | 10 | 27.01.2006 13:12 | |
| Auf Auswahl in einer Dropdown Box reagieren | PHP-Fortgeschrittene | 10 | 26.01.2006 13:15 | |
| Auswahl als Variable ausgeben / in DB speichern | PHP Tipps 2006 | 3 | 14.01.2006 13:08 | |
| [Erledigt] drop down auswahl aus der datenbank | PHP Tipps 2005-2 | 5 | 28.10.2005 12:06 | |
| select feld mit auswahl aus mysql tabelle | PHP Tipps 2005 | 10 | 01.06.2005 14:17 | |
| select auswahl | PHP Tipps 2005 | 4 | 16.05.2005 15:41 | |
| Nach Auswahl in der DropDown List -> Aktualisieren | PHP Tipps 2005 | 6 | 13.05.2005 13:55 | |
| drop-down-Menü automatisch an Auswahl anpassen | PHP Tipps 2005 | 10 | 18.04.2005 20:19 | |
| negative auswahl - (wo f1 !in t2 vorkommt) | Datenbanken | 3 | 12.04.2005 11:57 | |
| "drop down" bei auswahl absenden | HTML, Usability und Barrierefreiheit | 2 | 25.03.2005 19:15 | |
| Wert im inputfeld? | HTML, Usability und Barrierefreiheit | 3 | 05.08.2004 09:22 | |

Dieser Inhalt ist unter einer Creative Commons-Lizenz lizenziert.