I'm trying to change the value of the zoom property which I have in a external css file on the body selector. This zoom is set to 100% and is general for all HTML documents that has the css file linked in. What I want to do is: I have this a link in my HTML document.
<a onClick="zoom('80%')">80%</a>
The javascript function is this one:
function zoom(zoom)
{
    $("a").click(function()
    {
        $('body').css('zoom','80%');
    }); 
}
What I want this to do is, by clicking the link, it will call the function and sending in 80% into the function. What I then want the function to do, is to go into my external css and replace 100% with 80%:
body                                                                        
{
    zoom: 100%;
}
I don't really know how to do this, so I'm asking you guys! This is a part of my final task for the webdesign course that I'm taking, so I would really want this to work!
 
     
     
    