Sponsored Links |
|
||||
Bei den erneuten Script-Aufrufen musst du id anstelle von element übergeben, daran hängt es.
Code:
function blend (id, time ) { var element = document.getElementById(id); if( typeof time == "undefined" ) { time = 100; } time -= 5; if( time >= 0 ) { element.style.opacity = time/100; element.style.filter = "Alpha(opacity="+time+")"; } if( time > -100 ) { window.setTimeout(function() { blend( id ,time ); }, 50 ); } }
__________________
mein name ist programm |
Sponsored Links |
Themen-Optionen | |
Ansicht | |
|
|
Ähnliche Themen | ||||
Thema | Autor | Forum | Antworten | Letzter Beitrag |
Dropdownmenue funktioniert nicht | YandelF | CSS | 5 | 01.09.2012 19:59 |
position von Element an Element (rechts von Element) | britches | CSS | 1 | 18.05.2009 18:46 |
Festanstellung bei der Xing AG als Web Developer (HTML/CSS) | NEOX | Offtopic | 10 | 17.07.2008 18:11 |
Liste im IE | StarSt0rm | CSS | 3 | 22.08.2007 21:04 |
Validator Fehler und komm nicht drauf... | letslounge | (X)HTML | 3 | 14.09.2006 22:07 |