GMA Posted May 12, 2008 Report Posted May 12, 2008 Salut din nou.As vrea si eu ca imaginea de mai jos sa fie transparenta... daca ma poate ajuta cineva Va multumesc Quote
Renegade Posted May 12, 2008 Report Posted May 12, 2008 http://rapidshare.com/files/114474017/Logo.zip.htmlAi doua variante: .gif si .png Quote
loki Posted May 12, 2008 Report Posted May 12, 2008 png-ul nu e transparent. Dar daca ai psd-ul e preferabil sa il pui la download pentru o transparenta reusita (in caz ca e transparent in psd)Oricum png transparent nu merge pe IE incat giff-ul e preferabil pentru browsere. Pentru calitate in alte domenii se cere tiff transparent. Quote
GMA Posted May 13, 2008 Author Report Posted May 13, 2008 Multumesc Renegade.Este foarte buna aia cu .gif Quote
Renegade Posted May 13, 2008 Report Posted May 13, 2008 Eu am facut modificarile aseara in IrfanView in graba.Merci de informatii lokipaki,am mai invatat ceva.L.E:png-ul nu e transparent.In Opera se vede transparent dar in IE nu se vede transparent . Quote
loki Posted May 13, 2008 Report Posted May 13, 2008 Eu am facut modificarile aseara in IrfanView in graba.Merci de informatii lokipaki,am mai invatat ceva.L.E:png-ul nu e transparent.In Opera se vede transparent dar in IE nu se vede transparent .Si in mozila e transparent. Daca vrei neaparat exista un micuts script in javascript care se ataseaza paginii. In caz ca vrei sa il pui pe un website sub forma png. Dar nu se merita decat daca vrei semitransparenta, antialias si 16 milioane de culori (poza cu efecte in toata regula). Gasesti pe google despre fix-ul asta, ti-l pot da si eu daca il gasesc in mailurile de anul trecut. Quote
katmai Posted May 13, 2008 Report Posted May 13, 2008 png.htc<public:component><public:attach event="onpropertychange" onevent="doFix()" /><script type="text/javascript">// IE5.5+ PNG Alpha Fix v1.0RC4// (c) 2004-2005 Angus Turnbull [url]http://www.twinhelix.com[/url]// This is licensed under the CC-GNU LGPL, version 2.1 or later.// For details, see: [url]http://creativecommons.org/licenses/LGPL/2.1/[/url]// This must be a path to a blank image. That's all the configuration you need.if (typeof blankImg == 'undefined') var blankImg = 'blank.gif';var f = 'DXImageTransform.Microsoft.AlphaImageLoader';function filt(s, m){ if (filters[f]) { filters[f].enabled = s ? true : false; if (s) with (filters[f]) { src = s; sizingMethod = m } } else if (s) style.filter = 'progid:'+f+'(src="'+s+'",sizingMethod="'+m+'")';}function doFix(){ // Assume IE7 is OK. if (!/MSIE (5\.5|6\.)/.test(navigator.userAgent) || (event && !/(background|src)/.test(event.propertyName))) return; var bgImg = currentStyle.backgroundImage || style.backgroundImage; if (tagName == 'IMG') { if ((/\.png$/i).test(src)) { if (currentStyle.width == 'auto' && currentStyle.height == 'auto') style.width = offsetWidth + 'px'; filt(src, 'scale'); src = blankImg; } else if (src.indexOf(blankImg) < 0) filt(); } else if (bgImg && bgImg != 'none') { if (bgImg.match(/^url[("']+(.*\.png)[)"']+$/i)) { var s = RegExp.$1; if (currentStyle.width == 'auto' && currentStyle.height == 'auto') style.width = offsetWidth + 'px'; style.backgroundImage = 'none'; filt(s, 'crop'); // IE link fix. for (var n = 0; n < childNodes.length; n++) if (childNodes[n].style) childNodes[n].style.position = 'relative'; } else filt(); }}doFix();</script></public:component>Asta e hack-ul pentru png pt IE6,si te rog baga doua injuratori pt IE6 si din partea ma simt si eu bine. Quote
loki Posted May 13, 2008 Report Posted May 13, 2008 Asta e hack-ul pentru png pt IE6,si te rog baga doua injuratori pt IE6 si din partea ma simt si eu bine.am vazut ca e plin netul de cereri si rugaminti la microbsoft de multa vreme sa faca ceva... cred ca si de injuraturi.Subscriu la injurat! Anu trecut lucram la o aplicatie java de animatie si numai asta ne tragea in loc (eu lucram doar la grafica)// Assume IE7 is OK. sigur e ok? nu mai am IE7 Quote
katmai Posted May 14, 2008 Report Posted May 14, 2008 Da IE7 e ok, adica stie ce e aia transparenta, dar la css, are cam tot aceleasi probleme Quote