```
if ($(window).scrollTop() > 0) {
            $("#divContent").css({ "top": "11.2%", "width": "18.4%", "position": "fixed", "z-index": "2" });
            $("#divChapters").css({ "position": "relative", "margin-left": "0%" });
        } else {
            $("#divContent").css({ "position": "relative", "width": "100%", "z-index": "0" });
            $("#divChapters").css({ "position": "relative", "margin-left": "0%" });
        }

```

this is my code where i am adding some css based on scrollTop > 0 but now i want some modifications as per my requirements, in my scrollTop function i want to detect the window width if it detect window width size = 1920 then i want to add width to this ID #divContent to be set as 11%.   
 Please help me.