Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
2 replies
Subscribers
8 subscribers
Views
1190 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
Has anyone written some javascript before, which opens a form in full screen mod
moritzw
over 12 years ago
Has anyone written some javascript before, which opens a form in full screen mode independent of the resolution of the client screen? Something like window.resizeTo(100%,100%)....
OriginalPostID-35673
OriginalPostID-35673
Discussion posts and replies are publicly visible
Parents
0
shelzle
over 12 years ago
max = screen.availHeight - (typeof window.screenTop == 'undefined' ? window.screenY + 90 : window.screenTop) - 20;
var currentHeight = document.documentElement.clientHeight;
var neededHeight = document.getElementById("environmentContent").offsetHeight + 25;
if(neededHeight > max) {
neededHeight = max
}
window.resizeBy(0, neededHeight-currentHeight);
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
shelzle
over 12 years ago
max = screen.availHeight - (typeof window.screenTop == 'undefined' ? window.screenY + 90 : window.screenTop) - 20;
var currentHeight = document.documentElement.clientHeight;
var neededHeight = document.getElementById("environmentContent").offsetHeight + 25;
if(neededHeight > max) {
neededHeight = max
}
window.resizeBy(0, neededHeight-currentHeight);
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data