| Titel | |
|
Alert Namensabfrage
function laden() { var eingabe = prompt("Wie ist dein Name?", ""); if (eingabe == "") alert("Du musst ... |
|
|
Auslesen von userdetails
Navigator AppCodeName : document.writeln (navigator.appCodeName); AppName : ... |
|
|
Automatisch aktualliserendes DIV
$(document).ready(function(){ function reloadDiv() { $('#reloaddiv').load('webseite.php'); } ... |
|
|
|
|
|
Bild - Hover neben mauscursor
wmtt = null; document.onmousemove = updateWMTT; function updateWMTT(e) { x = (document.all) ? window.event.x + ... |
|
|
Binaere Uhr
function DezToBin(Dezimal) { var i = 0; var Bin = ""; while(Dezimal > Math.pow(2, i)) { i++; } for (var i = i; i >= 0; i--) { if (Dezimal ... |
|
|
Celius Fahrenheit umrechnen
Celsius Fahrenheit Rechner function celtofar (form) { var temperatur = document.formx.f.checked ? 1 : 0 ||document.formx.f.checked ? 2 : 0; ... |
|
|
Checkboxen - checkall
var checkflag = "false"; function check(field) { if (checkflag == "false") { for (i = 0; i < field.length; i++) ... |
|
|
|
|
|
Dropdownliste mal anders
selectBox = function(selectName,boxWidth,boxHeight) { var staticFontSize = new Number(12); // Textfeld Schriftgröße var ... |
|
|
E-mail Adresse vor Spam Robots schützen
E-Mail adresse schützen function mail() { var name = 'DEIN-NAME'; var domain = ... |
|
|
|
|
|
Ein Quick Tip der langsam einblendet
Quick Tip #tooltip{ position:absolute; background:#DDD; padding:10px; opacity:0.8; ... |
|
|
Fortschritsbalken in Prozent
div#ladebalken { width: 150px; border: 1px solid #000; background: #c0c0c0; height: ... |
|
|
|
|
|
Lightbox-Ersatz mit jQuery
Slimbox 2 example page /* Slimbox v2.03 - The ultimate lightweight Lightbox clone for jQuery (c) 2007-2009 Christophe Beyls ... |
|
|
Links automatisch in neuem Fenster öffnen lassen
var links = document.getElementsByTagName('a'); for (var i = = 0; i < links.length; i++) { var uri = links.href; ... |
|
|
|
|
|
Rechte Maustaste sperren
function click (e) { if (!e) e = window.event; if ((e.type && e.type == "contextmenu") || (e.button && e.button == 2) || (e.which && e.which == ... |
|