thread_PHP
09-05-2006, 05:15 AM
Hi all
I am using noah's classifieds In my page i require to change generAnchor function for adding my own css style sheet
http://mbi-vertrieb.com/typo31/classifiedsdobt2.jpg
look at the above url where i am unable to populate both top and bottom menus with different different css
my generAnchor Functions look like this please help me how to solve this problem. these functions are from gorum->roll.php
function generAnchor($label,$class="whiteTitle1",$withScript=TRUE,$newWindow=FALSE,$target="_blank")
{
$type = $withScript ? "withScript" : "";
$href=$this->makeUrl($type);
$s="";
$s.="<a href='$href'";
if ($class) $s.=" class='$class'";
if( $newWindow ) $s.=" target='$target'";
$s.=">";
$s.=$label;
$s.="</a>";
return $s;
}
function genereAnchor1($label,$class="whiteTitle12",$withScript=TRUE,$newWindow=FALSE,
$target="_blank")
{
$type = $withScript ? "withScript" : "";
$href=$this->makeUrl($type);
$s="";
$s.="<a href='$href'";
if ($class) $s.=" class='$class'";
if( $newWindow ) $s.=" target='$target'";
$s.=">";
$s.=$label;
$s.="</a>";
return $s;
}
function genereAnchor2($label,$class="blacklinks",$withScript=TRUE,$newWindow=FALSE,
$target="_blank")
{
$type = $withScript ? "withScript" : "";
$href=$this->makeUrl($type);
$s="";
$s.="<a href='$href'";
if ($class) $s.=" class='$class'";
if( $newWindow ) $s.=" target='$target'";
$s.=">";
$s.=$label;
$s.="</a>";
return $s;
}
anybody please help me
Thanks in advance
I am using noah's classifieds In my page i require to change generAnchor function for adding my own css style sheet
http://mbi-vertrieb.com/typo31/classifiedsdobt2.jpg
look at the above url where i am unable to populate both top and bottom menus with different different css
my generAnchor Functions look like this please help me how to solve this problem. these functions are from gorum->roll.php
function generAnchor($label,$class="whiteTitle1",$withScript=TRUE,$newWindow=FALSE,$target="_blank")
{
$type = $withScript ? "withScript" : "";
$href=$this->makeUrl($type);
$s="";
$s.="<a href='$href'";
if ($class) $s.=" class='$class'";
if( $newWindow ) $s.=" target='$target'";
$s.=">";
$s.=$label;
$s.="</a>";
return $s;
}
function genereAnchor1($label,$class="whiteTitle12",$withScript=TRUE,$newWindow=FALSE,
$target="_blank")
{
$type = $withScript ? "withScript" : "";
$href=$this->makeUrl($type);
$s="";
$s.="<a href='$href'";
if ($class) $s.=" class='$class'";
if( $newWindow ) $s.=" target='$target'";
$s.=">";
$s.=$label;
$s.="</a>";
return $s;
}
function genereAnchor2($label,$class="blacklinks",$withScript=TRUE,$newWindow=FALSE,
$target="_blank")
{
$type = $withScript ? "withScript" : "";
$href=$this->makeUrl($type);
$s="";
$s.="<a href='$href'";
if ($class) $s.=" class='$class'";
if( $newWindow ) $s.=" target='$target'";
$s.=">";
$s.=$label;
$s.="</a>";
return $s;
}
anybody please help me
Thanks in advance