Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Resizing of window
Go
New
Search
Notify
Tools
Reply
  
[SOLVED] Resizing of window
 Login/Join
 
Gold member
posted
I'm using the following code at the top of my JS code to do something if they resize the window and it's not working. Can I do this with a HTML page?

$(document).ready(function(){
$(window).resize(function(){
// Do something //
});
});

This message has been edited. Last edited by: FP Mod Chuck,


WebFOCUS 8

Windows, All Outputs
 
Posts: 55 | Location: Phoenix | Registered: March 01, 2018Reply With QuoteReport This Post
Guru
posted Hide Post
Do you need something like this https://www.w3schools.com/tags/ev_onresize.asp ?


Test: WF 8.2
Prod: WF 8.2
DB: Progress, REST, IBM UniVerse/UniData, SQLServer, MySQL, PostgreSQL, Oracle, Greenplum, Athena.
 
Posts: 441 | Location: Europe | Registered: February 05, 2007Reply With QuoteReport This Post
Gold member
posted Hide Post
That's exactly what I want to do.


WebFOCUS 8

Windows, All Outputs
 
Posts: 55 | Location: Phoenix | Registered: March 01, 2018Reply With QuoteReport This Post
Gold member
posted Hide Post
[ Solved ] I just created a separate js file and linked that in the HTML Composer.


WebFOCUS 8

Windows, All Outputs
 
Posts: 55 | Location: Phoenix | Registered: March 01, 2018Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Resizing of window

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.