Screen Resolution

Log in to Vote
11
11 Votes • 5 Comments
I should be able to see my screen resolution without clicking through to http://www.whatismyscreenresolution.com/. While it most likely is not passed through to the Perl on the backend, it can be easily found using the screen object in JavaScript in a Spice. Just print out screen.width x screen.height into a text instant answer. You'll probably need to use a self call, but you can check out the Timer module for an example.
Source:
• posted 2 years and 9 months ago • type: Goodie (Perl functions) In Development

Moollaza
This would actually work well as a Goodie that utilizes frontend JavaScript. Spice will now be reserved for IA's that need to use an API to get it's required data.

Goodies can now load a separate JS file and in either the Perl or JavaScript specify the template and other details.

The 2048 Game Goodie will be the first to use JavaScript. It will have the JS functionality very soon!
posted by Moollaza Staff2 years and 9 months ago Link
anonymous
Hi,
I'll give this a go. This is my first time making an instant answer so if I have any questions I'll let you know.

Thanks
Alex
posted by <hidden> • 2 years and 9 months ago Link
zac
That's awesome--this is a popular request despite the idea only being added last week.
posted by zac Staff2 years and 9 months ago Link
anonymous
I was wondering if anyone knows how to load separate JS files as per moollaza's suggestion? If anyone could point me in the right direction that would be awesome.
posted by <hidden> • 2 years and 9 months ago Link
mattr555
posted by mattr555 Community Leader2 years and 7 months ago Link