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     Calendar icon and IE vs. Firefox Browsers

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Calendar icon and IE vs. Firefox Browsers
 Login/Join
 
Platinum Member
posted
Since it seems you have to set the calendar text box/icon position absolutely, does anyone know how you can detect the user's browser and then set the calendar position accordingly?

Bethany


DevStudio: 7.1.4
Server Environment: Win2K3 Server
WebFOCUS 7.13
Apache Tomcat standalone application server


Server Environment: Win2K3 Server WebFOCUS 7.13 Apache Tomcat standalone application server
 
Posts: 188 | Registered: April 14, 2005Report This Post
Virtuoso
posted Hide Post
That information would be greatly appreciated by me also, but need to know the affects if some use IE and some use FIREFOX.

Right now for FIREFOX calendar entry, I just play games with the parms in IE so the values using calendar are at the top.

Thanks.


Leah
 
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004Report This Post
Expert
posted Hide Post
go to www.javascriptkit.com and search for browser detect.
you'll get
everything you ever wanted to know




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
Expert
posted Hide Post
If you need to detect the web browser from within a WebFOCUS fex, you can add the HTTP_USER_AGENT HTTP Header Variable to the variables that are passed from site.wfs. This will make available a Dialogue Manager variable called &HTTP_USER_AGENT.

Here's some documentation on that: HTTP Header Variables Available for Script Processing

In my environmnet, I get this:
Firefox: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) G
IE: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET

So, to detect if IE is used you could code this:

-SET &BROWSER = IF &HTTP_USER_AGENT CONTAINS 'MSIE' THEN 'MSIE' ELSE 'FIERFOX';
I don't know what the other web browsers would provide.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 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     Calendar icon and IE vs. Firefox Browsers

Copyright © 1996-2020 Information Builders