If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

screen.width and screen.height as parameters

Started by aydakut, 30 Apr 2014 05:56:10 AM

Previous topic - Next topic

aydakut

Hi,
I want to obtain the screen resolution of the clients and pass it as a parameter and use it in a style variable.
How can I use screen.width and screen.height properties in javascript to create value prompt that uses these properties as value that is to say as parameter ?
Any help will be appreciated.

qvixote

I think you could -in theory- use JavaScript in a prompt page to populate the textboxes of the prompts and bind the click event of the submit button. With jQuery it could be easier.