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.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
message of the day
 Login/Join
 
Member
posted
Hello everyone,
I am trying to make 'message of the day' dynamically generated. For example, to display greeting "today is Friday, May 12th, 2006".
Is this possible and how? You can just give me an idea. This is for the dashboard created with View Builder.
Thanks.
 
Posts: 24 | Registered: April 19, 2006Report This Post
Expert
posted Hide Post
do you have html skills? put this code into your HEAD section in the script tags
function printdate() {
	days = new Array();
	days[0] = "Sunday";
	days[1] = "Monday";
	days[2] = "Tuesday";
	days[3] = "Wednesday";
	days[4] = "Thursday";
	days[5] = "Friday";
	days[6] = "Saturday";
	months = new Array();
	months[0] = "January";
	months[1] = "February";
	months[2] = "March";
	months[3] = "April";
	months[4] = "May";
	months[5] = "June";
	months[6] = "July";
	months[7] = "August";
	months[8] = "September";
	months[9] = "October";
	months[10] = "November";
	months[11] = "December";
	var agt=navigator.userAgent.toLowerCase();

	today = new Date();
	 document.write('[b]<font face="Arial" size=1>');
	document.write(days[today.getDay()]+", ");
	document.write(months[today.getMonth()]+" ");
	document.write(today.getDate()+", ");
	document.write(today.getYear());
    document.write('</font>[/b]');
}
-->

then reference it in your opening page
<script LANGUAGE="JavaScript"> printdate()




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders