Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] HTML Form Window Resize Event

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] HTML Form Window Resize Event
 Login/Join
 
Platinum Member
posted
I have an html page in the banner of the portal. On the html page, I have placed a label control and added custom menu items and positioned the label control beside the Portal menu items using JavaScript function. This way the Portal menu items and the custom menu items look as one long menu items. Everything works fine when the portal loads for the first time as I am calling the JavaScript function in the load event of the html page. However, when I resize the Portal, the custom menu stays at its original position while the Portal menu items get re-positioned. I want to fire the same JavaScript function when the html page resizes. Unfortunately, I don’t see resize event in the html page created by WF. It only has 2 events, onload and onunload. Please let me know if you guys have any ideas to capture the resize event.

This message has been edited. Last edited by: <Kathryn Henning>,


WebFOCUS 8207.11
App Studio 8207
 
Posts: 146 | Registered: January 06, 2009Report This Post
Platinum Member
posted Hide Post
I have figured out a way to capture windows event. May be this will help some in future.

parent.window.addEventListener("resize", myFunction);
var x = 0;

function myFunction() {
var txt = x += 1;
alert(txt);
}


WebFOCUS 8207.11
App Studio 8207
 
Posts: 146 | Registered: January 06, 2009Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] HTML Form Window Resize Event

Copyright © 1996-2020 Information Builders