tags:

views:

241

answers:

1

Hi all,

I know the tecnique for zoom the page using the shift of css......

I wanna make a button for emulate the user that press "CTRL" and "+" in same time...

explain well with an example...

in firefox if i press CTRL and + in the same time the page ZOOM...i wanna write a function that i call and i emulate the press of CTRL and +

Thanks!

+1  A: 

Can't be done the way you want to do it. You can't emulate key strokes in browser context. You would have to stick with the CSS variant scaling your font-size globally using ems.

aefxx
yea, aefxx is right, you cant do that.you can't simulate these browser specific behavior the same as you can call the .click(). this is for security reasons.
adardesign