Home Messages Index
[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index

Re: getElementById instead of layers

  • To: mscir@access4less.net
  • Subject: Re: getElementById instead of layers
  • From: "Roy Schestowitz" <r@schestowitz.com>
  • Date: Sat, 04 Dec 2004 14:36:33 +0000
  • Delivery-date: Sat, 04 Dec 2004 14:36:36 +0000
  • Envelope-to: r@schestowitz.com
  • Reply-to: r@schestowitz.com
Hi,

Thank you very very much!!

Roy

-- 
Roy Schestowitz
http://schestowitz.com

> function display_title(num) {
>    if (!document.layers && !document.all && !document.getElementById) 
> return;
>    var entry=new Array(13);
>    entry[0]="";
>    entry[1]="<FONT SIZE=4 COLOR=WHITE><B>H</B><FONT SIZE=2>ome";
>    entry[2]="<FONT SIZE=4 COLOR=WHITE><B>S</B><FONT SIZE=2>ite Map";
>    entry[3]="<FONT SIZE=4 COLOR=WHITE><B>M</B><FONT SIZE=2>ore...";
>    entry[4]="<FONT SIZE=4 COLOR=WHITE><B>W</B><FONT SIZE=2>eb Log";
>    disp = "<FONT SIZE=3 COLOR=WHITE>" + entry[num] + "</FONT>";
>    if (document.getElementById) {
>      document.getElementById('pendule').innerHTML = disp;
>    } else if (document.layers) {
>      document.layers.pendule.document.write(disp);
>      document.layers.pendule.document.close();
>    }
> }
> 
> 
> -- 
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.0.289 / Virus Database: 265.4.5 - Release Date: 12/3/04





[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index