Search DominoPower's 11,441 Lotus-related article archive 
Home
EasyPrint
News details Click here for the RSS feed's XML code. This is not a browser URL.
Articles-only Click here for the RSS feed's XML code. This is not a browser URL.
Twitter Feed Click here for the Twitter feed.
Talking about tips (continued)

  • Resource Properties: This gives you the regular property box you would get if you double-clicked on the image resource;

  • Refresh: You can use this option to refresh the image resource from an updated version of the image file. You can even refresh multiple image resources at once if you wish;

  • Export: If you select one image resource, you'll be given the usual download window and can choose where to download the image file. If you select two or more image resources, you'll be asked to select the directory in which you would like to save the files. There's no option to create a new directory in this dialog box, however, so you'll have to make sure you already have a directory created.

I researched image resources in the Notes/Domino Fix List Database at http://www.notes.net/r5fixlist.nsf, and I found that it wasn't until a fix was made in 5.0.2 that you could export or refresh more than one image resource at a time.

Discuss this tip on the DominoPower PowerBoards at http://powerboards.zatz.com/cgi-bin/webx?50@@.ee6eddc.

Tip #5: Using @BrowserInfo to hide things from Navigator and IE
Published: October 6, 2000

One of the biggest headaches most developers have to deal with is trying to develop applications that work correctly in both Netscape Navigator and IE (Internet Explorer). Using @BrowserInfo to hide incompatible code from each of the browsers was something that saved me a lot of time and trouble and which I thought might be useful for others to read about as well.

For those of you who need to develop applications for both Netscape Navigator and Microsoft Internet Explorer browsers, you've probably been frustrated by the fact that both of them can sometimes interpret parts of your pages differently. I had such a situation arise recently, and after trying in vain to come up with code that both Navigator and IE would be happy with, I finally gave up and used a new powerful hide-when ability built into R5. It's the ability to easily hide things from either Navigator or IE using the @BrowserInfo function.

To hide something from Navigator (or Navigator-compatible browsers, which Notes Navigator 5.0 is), select the text/formula you want to hide and put the following code in the hide-when property for the paragraph or line:

@BrowserInfo ( "BrowserType" ) = "Netscape" : "Compatible"

To hide something from IE, put the following code in the hide-when property:

@BrowserInfo ( "BrowserType" ) = "Microsoft"

If you want to hide something from Notes clients, use the following code:

@BrowserInfo ( "BrowserType" ) = "Notes"

Of course, if you end up needing to have to hide a lot of different design elements from each of the browsers, you might consider detecting the browser first and then directing them to the appropriate customized page or form instead. But if you only need to hide a small amount of code, the solution above should work just fine for you.


« Previous  ·  1  ·  2  ·  3  ·  4  ·  5  ·  6  ·  Next »
Other articles you might like
Home > Lotus Community > Editorials (71 articles)
   Five trends for 2010
   Say goodbye to the Uh-Ohs. Long live the Tens.
   The editorial strikes back
Home > Tips & Techniques (102 articles)
   More about Domino log files
   Why your log.nsf might not be purging properly
   A faster way to repair corrupted server files
Get Weekly Email Updates
Subscribe to our regular weekly email newsletter. It's packed with tips, reviews, deep analysis, and the latest news.
 
Recent DominoPower Articles
Application development, William Shatner, and the origin of the universe
Learn Domino Designer 8.5 for free
The (near) future of Sametime, Quickr, Connections, and Symphony
Inside the IBM Innovations lab
Lotusphere 2010: Hot fixes and cool news for Notes, Domino, and LotusLive
Lotusphere 2010: mobility and collaboration
2010: A Lotusphere of change
Latest Lotus Headlines
Xpages not loading? JVM errors? - Solution
How to implement an iCalendar feed into your Notes calendar with XPages
DWA Hotfixes for Domino 8.5.1FP1 - A Gotcha
IBM Adds DB2 to Lotus Foundations SMB Package
SNTT : XPages onclick Ghosts in the machine
Ports used by Lotus Sametime 8.5 servers
Exploring a Domino Date Bug
>> Read all the news
More from the ZATZ journals
Computing Unplugged: The iPad defenders have spoken
David Gewirtz Online: CNN commentary and analysis
OutlookPower: More about disappearing text
-- Advertisement --

Find unused Lotus Notes groups and clean up your address book
Have you ever wanted to get rid of old Lotus Notes groups that were cluttering up your address book, but you weren't sure if they were used? Find Unused Groups can help.

Find Unused Groups will check your ACL, mail, multi purpose and server groups to help you determine if they are used, and who uses them.

Learn how to easily clean up your address book.

-- Advertisement --

Integrate your Notes Applications with Microsoft Office and Symphony
Integra for Notes Integrates Microsoft Office and/or IBM Lotus Symphony
Requires NO change to the design of the appliation or Installations of DLL's and EXE's
  • Integra is a ready to use solution, enhance static reports with Excel data analysis, pivot tables, macros
  • User friendly aproach, using a point and click access to features
  • Reports from any Lotus Notes databases
  • Runs reports through a Notes client, web browser and scheduled basis
  • Allows use of LotusScript for advanced data manipulation
  • Enables self service reporting capabilities to end-users


Learn more at www.integra4notes.com.
ZATZ Home  ·  News  ·  Back Issues  ·  Credits/Trademarks ·  Link To Us
Copyright © 1998-2010, ZATZ Publishing. All rights reserved worldwide.
Editor's Login