Welcome Guest, Not a member yet? Register   Sign In
Anchor Popup dont work fine in IE
#1

[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
#2

[eluser]Gerep[/eluser]
I think it's better for you to add a ID to that Pop Up and stylize it with CSS, much better than CodeIgniter.

You'll find thousands of CSS code about centering objects.....and IE sucks =)
#3

[eluser]huesoamz[/eluser]
tks, anyway i make a function add .js and use the natural html form...<a href="[removed]void(0);">popup </a>

I dont understand why ever that I planted a question...ever...ever the solucion is :


"DONT USE CODEIGNITER" :S

Regards




Theme © iAndrew 2016 - Forum software by © MyBB