[eluser]huesoamz[/eluser]
In controller I have this:
Code:
$page['atts']= array(
'width' => '535',
'height' => '582',
'scrollbars' => 'yes',
'status' => 'yes',
'resizable' => 'yes',
'class' => 'link',
'screenx' => '\'+((parseInt(screen.width) - 535)/2)+\'',
'screeny' => '\'+((parseInt(screen.height) - 582)/2)+\'',
);
And in the view:
Code:
echo anchor_popup('login/index', 'Login', $atts);
In FF works fine...but in IE the popup dont center at screen, appears a little moved to left...
Any know HOW CENTER POPUP in any resulotions with CI ? tks