ERLEDIGT
NEIN
NEIN
ANTWORTEN
0
0
ZUGRIFFE
371
371
EMPFEHLEN
-
Hallo!
Es handelt sich hierbei um ein bekanntes Problem bei IE. Sobald man eine Animation auf transparentes 24 bit PNG Bild macht erscheint der Schatten nur mehr schwarz.

Ich bin schon seit Stunden auf der Suche nach einer Lösung, schaffte es bisher nicht. Entweder ich hatte kein Hintergrundbild oder keine Animation ..
Kann mir bitte jemand helfen?
HTML-Code:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd"> <HTML lang=de xmlns="http://www.w3.org/1999/xhtml" xml:lang="de"> <HEAD><TITLE>test</TITLE> <META content="text/html; charset=utf-8" http-equiv=Content-Type> <LINK rel=stylesheet type=text/css href="test-Dateien/stylesunterseite.css"> <SCRIPT type=text/javascript src="test-Dateien/jquery.min.js"></SCRIPT> <SCRIPT type=text/javascript> $(function(){ $('#wrapper').mouseenter(function(){ jQuery('#contents').animate({ width: 'toggle' }, 307, function() { }); }); $('#wrapper').mouseleave(function(){ jQuery('#contents').hide('slow'); }); }); /* ]]> */ </SCRIPT> </HEAD> <BODY> <DIV id=pos> <DIV id=wrapper><A title="test" href="#"> <IMG alt=test src="test-Dateien/button.png" width=59 height=170></A> <DIV id=contents></DIV> </DIV> <DIV style="FLOAT: none; CLEAR: both"></DIV></BODY></HTML>
Code css:1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
HTML { PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; PADDING-TOP: 0px } BODY { BACKGROUND-IMAGE: PADDING-BOTTOM: 0px; BACKGROUND-COLOR: #FFC3FF; MARGIN: 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; BACKGROUND-REPEAT: no-repeat; FONT-FAMILY: helvetica, arial, sans-serif; BACKGROUND-POSITION: center 57px; FONT-SIZE: 0.9em; PADDING-TOP: 0px } IMG { BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; BORDER-TOP: medium none; BORDER-RIGHT: medium none } #pos { Z-INDEX: 11; POSITION: absolute; FLOAT: left; TOP: 215px } #wrapper #contents { POSITION: absolute; DISPLAY: none; MARGIN-LEFT: 43px; TOP: 0px } #wrapper:hover #contents { POSITION: absolute; WIDTH: 411px; DISPLAY: block; HEIGHT: 303px; MARGIN-LEFT: 43px; TOP: 0px } #contents { BACKGROUND-IMAGE: url(background.png); WIDTH: 411px; HEIGHT: 303px; FILTER: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="background.png", sizingMethod="crop"); }
Das ganze Projekt habe ich im Anhang schon drinnen. Einfach nur runterladen, entpacken und im IE8 betrachten.
LG
anve
Ähnliche Themen
-
[jQuery] Aus mehreren PNGs eine Animation erstellen
Von Dustin84 im Forum Javascript & AjaxAntworten: 3Letzter Beitrag: 13.07.11, 13:15 -
Problem mit Einfärben von transparenten PNGs (gdLib)
Von Bogat im Forum PHPAntworten: 6Letzter Beitrag: 19.06.08, 19:09 -
Hintergrund eines transparenten kunststoffteil freistellen
Von arneytic im Forum PhotoshopAntworten: 5Letzter Beitrag: 30.04.08, 08:48 -
[SWT] Probleme mit transparenten PNGs in ToolBar
Von rohrbold im Forum Swing, Java2D/3D, SWT, JFaceAntworten: 2Letzter Beitrag: 23.11.05, 21:21 -
wiedermal probleme mit transparenten pngs
Von fercules im Forum PHPAntworten: 0Letzter Beitrag: 22.06.04, 11:00





Zitieren
Login





