IBM®
Skip to main content
    Country/region select      Terms of use
 
 
   
     Home      Products      Services & solutions      Support & downloads      My account     
 
developerWorks
AIX and UNIX
Information Mgmt
Lotus
New to Lotus
Products
How to buy
Downloads
Live demos
Technical library
Training
Support
Forums & community
Events
Rational
Tivoli
WebSphere
Java™ technology
Linux
Open source
SOA and Web services
Web development
XML
My developerWorks
About dW
Submit content
Feedback



developerWorks  >  Lotus  >  Forums & community  >  Lotus Sandbox

Lotus Sandbox

developerWorks
User Review of DHMTL Samples
Submitted by Ian Howe on 08/13/2002.
Rating: 4 stars
The example worked fine in IE 5.5/6.0, but would not work under Mozilla 1.0 or Netscape 6.0. After some digging discovered that the example is using 'document.all' in the java script and this does not apper to be a W3C standard? If you change the showtab function to the following it worked in Gecko based browsers.
var currtab = "tab1";

function showtab( tabnum ) {
tabname = "tab" + tabnum
if ( tabname != currtab ) {
if (window.document.layers) {
handle="window.document.layers";
stylevar="";
}else{
handle="document.getElementById";
stylevar=".style";
}
eval(handle+'("'+currtab+'")'+stylevar+'.visibility = "hidden"');
eval(handle+'("'+tabname+'")'+stylevar+'.visibility = "visible"');
currtab = tabname;
}
}

Go back

Lotus Software

Document options
Print view

  Sandbox views
By Application Name
By Category
By Product
By Audience
By Date
By Submitter
Conferences

  Resources
developerWorks: Lotus Downloads
alphaWorks Downloads
    About IBM Privacy Contact