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     [CLOSED] How to hide controls in HTML Layout Painter

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] How to hide controls in HTML Layout Painter
 Login/Join
 
Member
posted
Hi All,

I need to hide a dynamic calendar control and a IFRAME in HTML page. how can i do it ? Please help me. I made hidden other controls but this calendar control and IFRAME which is over a form is not getting hidden. I have a report on this IFRAME. I need calendar and this IFRAME(report) to be hidden.

Thanks in advance.

This message has been edited. Last edited by: Kerry,
 
Posts: 3 | Registered: December 28, 2006Report This Post
Guru
posted Hide Post
Here is some javascript code code for hiding the calendar:

	// Hide the calendar icons
	images = document.getElementsByTagName("img");
	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.gif") > 0) {
   			images[i].style.visibility = 'hidden';
		}
	}


Fernando


Prod WF 8.1.04, QA WF 8.2.03, Dev WF 8.2.03
 
Posts: 278 | Registered: October 10, 2006Report This Post
Guru
posted Hide Post
Hi cuteone,

Do you use the HTML Layout Painter that comes with Dev Studio? Do you only want to hide the calendar but keep the textbox visible?

If you want to hide the entire control for the Parm, it is very easy to do in HTML Layout Painter. Just go to to Paramaters tab, highlight the calendar parm and change the Type to hidden.

The Iframe is where the report is going to get displayed on an HTML type. This doesn't display onscreen until the report displays. I'm not sure why you would want to hide it? If you change the type to Excel or PDF or something, a new window opens for those so the IFrame will remain blank. If you want the HTML report to open up a new window instead of displaying in the Iframe, you can go to the corresponding request tag for the report -usually
<request requestid="0" tartgettype="0" targetname="report1" sourcetype="typefex" etc... 
and change the targetname="report1" to targetname="_blank".

Also, please upgrade your signature to display your version info.

This message has been edited. Last edited by: Anatess,


WF 8.1.05 Windows
 
Posts: 333 | Location: Orlando, FL | Registered: October 17, 2006Report This Post
Expert
posted Hide Post
Fernando, Thanks for the reminder, and the nice code. Smiler
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report 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     [CLOSED] How to hide controls in HTML Layout Painter

Copyright © 1996-2020 Information Builders