[eluser]Rubiz'[/eluser]
Hi there...
I used pop-up first time now, is this code:
Code:
<?
$atts = array(
'width' => '417',
'height' => '650',
'scrollbars' => 'no',
'status' => 'no',
'resizable' => 'no',
'screenx' => '0',
'screeny' => '0'
);
echo anchor_popup('pages/popEnviarAmigo/' . $noticia[0]->titulo, 'Enviar por e-mail!', $atts);
?>
Where "pages/popEnviarAmigo/" is the class name and the method name, this method is like:
Code:
function popEnviarAmigo($noticia)
{
$data['titulo'] = $noticia;
$this->load->view('enviar_noticia', $data);
}
The message returned is "The URI you submitted has disallowed characters."
This is question 1, the question 2 is: How can I attribute a CSS class to this anchor?