At first I would like to point out, that I am not a JQuery person, I am just beginning my work with it forced by the fact that our front-end guy is sick. please be delicate with me:)
In our application we switch to view mode by changing part of the url:
- .../view/rest/.... means normal mode,
- .../print/rest/... means print mode (site is stripped, different CSS applied).
I would like to check in javascript in which mode I currently am. We use JQuery in out project.
Please help!