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.
I tried hiding the Webfocus calendar icon by using the code below. //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'; } }
For some reason this code does not work. also if try seeing the source code the it is no more dynCalendar.gif but it is dynCalendar.png. I tried this option also but it does not work. Kindly let me know if anyone was able to solve the issue.
Thank you, PrajaktaThis message has been edited. Last edited by: Prajakta,
Thank you for the reply! I am using version 8.1.0.5. I do not want to hide all the images. The code worked for me. The tabindex for the dyncalendar.gif was "-1" and hence that was not working.
// This funstion is to hide the Calandar icon which is not hidding when hide control
function hideCalendarIcon() {
//get all images on the page into array
images=document.getElementsByTagName("img");
//get the number of images in array
numImages = images.length;
//Loop through images and see if it is a dynCalendar
for (i=0;i<numImages;++i) {
if (images[i].src.indexOf("dynCalendar.png")>0){
//If it is, hide
images[i].style.visibility='hidden';
}
}
}
// This funstion is to show the Calandar icon
function showCalendarIcon() {
//get all images on the page into array
images=document.getElementsByTagName("img");
//get the number of images in array
numImages = images.length;
//Loop through images and see if it is a dynCalendar
for (i=0;i<numImages;++i) {
if (images[i].src.indexOf("dynCalendar.png")>0){
//If it is, show
images[i].style.visibility='visible';
}
}
}
WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF In Focus since 2007
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013