我有这样的代码从HTML以前箭头编码器CakePHP的分页与图片
<img src="<?=$this->webroot?>img/arrow_button_prev.png" alt="Previous Event"
style="opacity:1.0;filter:alpha(opacity=100); " onmouseover="this.style.opacity=0.7;this.filter.alpha.opacity=70"
onmouseout="this.style.opacity=1.0;this.filter.alpha.opacity=100" />
,我需要的是像RIGG到分页
<?php echo $this->Paginator->prev('<< ' , array(), null, array('class'=>'disabled'));?>
我试图与IMG更换< <标记并输出HTML代码。我怎样才能做到这一点?
我会建议你的风格移动到CSS文件。 – bancer 2010-08-27 18:27:03