See the images in the thread (one of the images is wrong as it should show But for 2 cm on the left, 2 cm on the right and 2 cm on the top the code on this threadįorm Screen Docking & Reserve Screen Space creates an app that docks on the top, left, right or bottom (above the TaskBar) of the screen and forces the desktop away from it. Is it 2 cm on the left side and right side or all sides including the bottom? Because this will not help with the bottom. I'm just guessing from what you are saying you want to move your desktop on the left 2 cm right, on the right 2cm left and maybe on the top and bottom too. Just so I just took small size face plate Well 2 cm from each side of the box has been monitored. The resolution is changed for varying pixel sizes. Note that the resolution do not want to, I want to size the width or height the display screen to changeĭo you have a monitor that supports different screen sizes? Most monitors display on a fixed size screen. I need to change screen width and height using my application. :) I can only surmise that is due to Global Warming of the threads. Will somehow become "unstable" or something to that effect. Please BEWARE that I have NO EXPERIENCE and NO EXPERTISE and probably onset of DEMENTIA which may affect my answers! Also, I've been told by an expert, that when you post an image it clutters up the thread and mysteriously, over time, the link to the image Gratefulĭoes control panel let you set the width and height of a screen? If not then why do you think it could be done? Have you bothered to search the internet to see if it can be done outside of code first? Or are you grasping at straws since you haven't studied height and width is the topic of conversation, and that the resolution was a separate definition. No no no - Resolution is a separate subject. People would be more happy with highly readable and functional design, not highly graphical puzzles.Please BEWARE that I have NO EXPERIENCE and NO EXPERTISE and probably onset of DEMENTIA which may affect my answers! Also, I've been told by an expert, that when you postĪn image it clutters up the thread and mysteriously, over time, the link to the image will somehow become "unstable" or something to that effect. Most reasonable people were already fed up with beefed-up "cool" design. And don't be afraid to be not enough impressive to the users. Just keep it in mind and permanently test on different windows sizes, simply resizing your browser window.Īs a free bonus, such design will be highly tolerable to browser incompatibility. Likewise, you can all a lot more formatting in such device-independent manner and still be able to achieve quite a rich UI. Such format is fluid, it will adopt to screen size itself. Will it be screen-size independent? Yes, pretty much. Imagine you only use paragraphs and headers, tweak only the font styles and margin/padding styles, no absolute positioning. I would say, use more simple and reliable HTML/CSS design. I think I already explained above why you cannot know such client-specific detail without using JavaScript. In this case, you are out of luck - the only universally accepted standard on client side is EMCAScript implemented as JavaScript. I don't really know browsers without PHP (except text-only ones), but the truth is, JavaScript can be even switched off. I don't know what's "js-php", I suspect this is nothing new, same very JavaScript combined with PHP. In all other cases, use "Improve question" above, add a comment or reply to existing comment. įirst, please don't post a solution, unless this is really a solution. Onwayir wrote:Thanks, but the problem is that some mobile systems - some platforms do not support JavaScript.Īt last what is the professional suggestion? (js-php or some better way?) It could be sent as a form submission, AJAX or URL parameters. The server side can get this information in different ways the selection of the method should depend on the design and logic of your application. It's important not to forget round brackets at the end, as in jQuery this is a function. To avoid incompatibilities, I would use jQuery $(window).innerWidth(). This is a standard property, see, but there are several kinds of incompatibilities like in IE, see for example. Now, JavaScript gets information on the window width via the property window.innerWidth. I presume the inner window width is required, because this is the client width determining the design of the content. That said, using JavaScript to gather required information of the current client environment like window size is unavoidable. PHP itself works only on server side and does not know anything about client system except information sent to the server side by a client side in some HTTP request.
0 Comments
Leave a Reply. |