Focal Point
[SOLVED] Resizing of window

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/2887076396

June 18, 2020, 02:12 PM
Les J
[SOLVED] Resizing of window
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
June 19, 2020, 06:31 AM
Frans
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.
June 19, 2020, 11:02 AM
Les J
That's exactly what I want to do.


WebFOCUS 8

Windows, All Outputs
June 19, 2020, 11:45 AM
Les J
[ Solved ] I just created a separate js file and linked that in the HTML Composer.


WebFOCUS 8

Windows, All Outputs