0

I need javascript to trigger the combination of ctrl + minus. Is it possible. I need this because the design of the webpage I'm working on is looking much better at 83 % zoom which couldn't be achieved by CSS zoom property in mozzila firefox.

3
Contributors
2
Replies
3
Views
7 Years
Discussion Span
Last Post by Taywin
0

Why you want to do things that is not stable at all?
If some how you achieved this, what if user press ctrl+ again. Then you will ask how to restrict this.

You can not restrict user. They will some how break all your twiky walls.

I would suggest you do all the visual stuff in css itself. That will make your page view more manageable.

1

You can achieve that by adding a listener to the keyboard (attachEvent() for IE and addEventListener() for FF and some others); however, as Luckychap suggested, I don't think it is a good idea to do so. This is the design problem, and it should not be designed the way it is now. Adding more stuff on top of it to solve the issue would give you more and more headache later on...

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.