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.
Hi Iam using Calender controll in HTML Layout Painter.when i used to hide the calender the text box will hide but the image is not hiding.Any solution for this. Thanks in advance.
This is what we do to hide the calendar icon. Hope it helps:
//get all images on the page into array var images=document.getElementsByTagName("img"); //get the number of images in array var numImages = images.length; //Loop through images and see if it is a dynCalendar for (i=0;iif (images[i].src.indexOf("dynCalendar.gif")>0) { //If it is, hide images[i].style.visibility='hidden'; } } groupbox1.style.visibility="hidden"; line1.style.visibility="hidden"; line2.style.visibility="visible"; document.all.paramCell.height = 10;
WebFOCUS v7.7.03 Windows 7 O/S Oracle database Platform Windows 2003 server 32bit Output types are HTML, PDF, Excel 2003 Active Reports
Posts: 3 | Location: St. Petersburg, FL | Registered: September 14, 2007
Contact IB There are two js files that they have to send you as an update to eliminate this problem. Sorry, but I don't remember file names now. The problem is that you can not call calendar icon directly - it was not given a name by developers.
Originally posted by Jose Cruz: This is what we do to hide the calendar icon. Hope it helps:
//get all images on the page into array var images=document.getElementsByTagName("img"); //get the number of images in array var numImages = images.length; //Loop through images and see if it is a dynCalendar for (i=0;iif (images[i].src.indexOf("dynCalendar.gif")>0) { //If it is, hide images[i].style.visibility='hidden'; } } groupbox1.style.visibility="hidden"; line1.style.visibility="hidden"; line2.style.visibility="visible"; document.all.paramCell.height = 10;
Hi Jose,
Iam using HTML Layout Painter.I tried document.getElementById("calendar1").style.visibility="hidden"; but it hides only the text box not the image part.
Did you actually try to understand the JS that Jose gave you? or read the reply from Mike?
If you had bothered you would realise that all your snippet does is hide the text input. As Mike says, the image is not given an Id attribute so you cannot target it directly. Therefore by using Jose's JS you read through the DOM and target the images via that method.
If reading and understanding the JS that Jose supplied is beyond you then a piece of advice - if you don't know it then don't use it!
T
edited due to my keboard being disdsy not being able to spell correctly This message has been edited. Last edited by: Tony A,
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004