Focal Point
[CLOSED] Resize Calendar window

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

October 02, 2019, 09:40 AM
Prajakta
[CLOSED] Resize Calendar window
Hello,

Can someone tell me if it is possible to adjust the size of Webfocus calendar pop-up as per the size of the HTML mask.

Thank you,
Prajakta

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


Webfocus 8.1.0.5
Windows, all output
October 08, 2019, 12:36 PM
FP Mod Chuck
Prajakta

I don't think this is possible but if this is still a question for you please open a case with techsupport.


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
October 08, 2019, 01:00 PM
Fernando
Prajakta, Have you tried resizing it using jQuery?

Fernando


Prod WF 8.1.04, QA WF 8.2.03, Dev WF 8.2.03
December 04, 2019, 09:20 AM
Prajakta
Hello Fernando,

I have never tried this before. If you have anything, kindly share.

Thank you,
Prajakta


Webfocus 8.1.0.5
Windows, all output
December 05, 2019, 09:12 AM
Fernando
Prajakta, This has been marked as closed. Did you still need help?

Fernando


Prod WF 8.1.04, QA WF 8.2.03, Dev WF 8.2.03
December 12, 2019, 06:00 AM
Prajakta
Fernando,

Yes In case if someone was able to change the size of calendar pop window would be helpful.

Prajakta


Webfocus 8.1.0.5
Windows, all output
December 12, 2019, 11:11 AM
Fernando
Prajakta,

In your html create the calendar and give it a class. I used the class
mycal


Then in the Embedded class add something like this:

.mycal {

 width:300px;

 background:red;

 }

 


Note: I used red to make the change more obvious. It is not needed.

Then in the Embedded Javascript tab use the following:

//Begin function window_onload

function window_onload() {

 

 

UpdateData();

 $('.mycal').css('width', 190);

 $('.mycal').css("background-color","blue")

 

// TODO: Add your event handler code here

//add onInitialUpdate() function to make changes before initial run of the reports

}

//End function window_onload


You will see the new size and background colour when you open the page.

Fernando


Prod WF 8.1.04, QA WF 8.2.03, Dev WF 8.2.03
December 18, 2019, 05:37 AM
Prajakta
Fernando,

I was able to change the size of the window with the below statement:

.dyncalendar {

width:200px;
height:200px;
}

However, we have 3 frames in the same window. I need to get this calendar pop up as a separate window.
Has anyone tried this?

Thank you,
Prajakta


Webfocus 8.1.0.5
Windows, all output