Yani kurduktan sonra kapalı olan renk tonu birden açık oldu.
Sizce sorun nerde?
#
#-----[ AÇ ]---------------------------------------------
#
includes/template.php
#
#-----[ BUL ]---------------------------------------------
#
// This will hold the uncompiled code for that handle.
var $uncompiled_code = array();
#
#-----[ SONRASINA EKLE ]--------------------------------------
#
//sets cool transparent alpha style for IE in <a href'd> imgs
var $alpha_style='style="filter:alpha(opacity=65)" onMouseOver="this.filters.alpha.opacity=100" onMouseOut="this.filters.alpha.opacity=65"';
#
#-----[ BUL ]---------------------------------------------
#
eval($this->compiled_code[$handle]);
return true;
}
#
#-----[ ÖNCESİNE EKLE ]--------------------------------------
#
// make all img. hrefs in template code alpha blending on mouseover:
$this->compiled_code[$handle] = preg_replace('#<(a[^>]+)><(img[^>]+?)(/)?></a>#', '<\\1><\\2 '.$this->alpha_style.' \\3></a>', $this->compiled_code[$handle]);
#
#-----[ BUL ]---------------------------------------------
#
// This will handle the remaining root-level varrefs
$code = preg_replace('#\{([a-z0-9\-_]*?)\}#is', '\' . ( ( isset($this->_tpldata[\'.\'][0][\'\1\']) ) ? $this->_tpldata[\'.\'][0][\'\1\'] : \'\' ) . \'', $code);
#
#-----[ YERİNE DEĞİŞTİR ]--------------------------------------
#
//for root level vars {xxx}
$replacer = 'preg_replace(\'#<(a[^>]+)><(img[^>]+?)(/)?></a>#\', \'<\\\\1><\\\\2 \'.$this->alpha_style.\' \\\\3></a>\', $this->_tpldata[\'.\'][0][\'\1\'])';
// This will handle the remaining root-level varrefs
$code = preg_replace('#\{([a-z0-9\-_]*?)\}#is', '\' . ( ( isset($this->_tpldata[\'.\'][0][\'\1\']) ) ? '.$replacer.' : \'\' ) . \'', $code);
#
#-----[ BUL ]---------------------------------------------
#
$varref = '\' . ( ( isset(' . $varref . ') ) ? ' . $varref . ' : \'\' ) . \'';
return $varref;
#
#-----[ YERİNE DEĞİŞTİR ]--------------------------------------
#
//replace <a hrefs imgs> with button style opacity thingies (fading)
//for all vars with namespaces {xxx.xxx}
$replacer = 'preg_replace(\'#<(a[^>]+)><(img[^>]+?)(/)?></a>#\', \'<\\\\1><\\\\2 \'.$this->alpha_style.\' \\\\3></a>\', '.$varref.')';
$varref = '\' . ( ( isset(' . $varref . ') ) ? ' . $replacer . ' : \'\' ) . \'';
return $varref;
#
#-----[ KAYDET ]------------------------------------------
Bu forumu görüntüleyenler: Kayıtlı kullanıcı yok ve 0 misafir