Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] Auto scrolling


  • From: javascript@xxxxxxxxxx (BEKIM BACAJ)
  • Subject: [Javascript] Auto scrolling
  • Date: Thu, 13 Feb 2003 16:42:50 +0100

<html><div style='background-color:'><DIV>
<P>No time to&nbsp;go through&nbsp;all the contents, but (this scroll to top; every time you expando- the content, is happening because of the href = #), using &lt;A name="" ... instead of&nbsp; hyper refference&nbsp;might change a lot, but in any other case, you can overrinde this behavior with [expandColapse<EM>object</EM>].scrollintoview command, this will always bring the referenced tag to the view even if it is out of the page margins and the scroll page disabled.</P>
<P>I think that the above will solve your problem for good.</P>
<P>Cheers<BR><BR></P></DIV>
<DIV></DIV>
<DIV></DIV>&gt;From: Larry Cotton <LAURENCE.COTTON@xxxxxxxxxxxx>
<DIV></DIV>&gt;Reply-To: javascript@xxxxxxxxxx 
<DIV></DIV>&gt;To: Javascript@xxxxxxxxxx 
<DIV></DIV>&gt;Subject: [Javascript] Auto scrolling 
<DIV></DIV>&gt;Date: Thu, 13 Feb 2003 11:19:44 +0000 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;Hi 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;I've written a contents page that displays/hides sub-section titles 
<DIV></DIV>&gt;when you click on a section title. This is done by using the 
<DIV></DIV>&gt;'display' style property. The problem is whenever you 'open up' a 
<DIV></DIV>&gt;list of sub sections the browser automatically scrolls to the top of 
<DIV></DIV>&gt;the screen, so you have to scroll down to see the newly displayed 
<DIV></DIV>&gt;sub sections. 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;Does anyone know how to prevent this scrolling to the top ? 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;The code looks somthing like : 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;HTML code : consists of a series of divs containing the text for the 
<DIV></DIV>&gt;title of each section. Each div has an onClick() handler that calls 
<DIV></DIV>&gt;controlExpand(). This functions hides or displays the sub sections 
<DIV></DIV>&gt;as appropriate. (Note 1)The top-level sections are put in a table, 
<DIV></DIV>&gt;so the section expansion occurs within a table cell, 2) the second 
<DIV></DIV>&gt;column in the table consists of standard href links). 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;
<TABLE style="WIDTH: 100%; BORDER-TOP-STYLE: outset; BORDER-RIGHT-STYLE: outset; BORDER-LEFT-STYLE: outset; BORDER-BOTTOM-STYLE: outset; DIV: 2" align=center>
<DIV></DIV>&gt;
<TBODY>
<TR>
<DIV></DIV>&gt; 
<TH style="BORDER-RIGHT: 2px outset; BORDER-TOP: 2px outset; BORDER-LEFT: 2px outset; BORDER-BOTTOM: 2px outset">Contents</TH>
<DIV></DIV>&gt; 
<TH style="BORDER-RIGHT: 2px outset; BORDER-TOP: 2px outset; BORDER-LEFT: 2px outset; BORDER-BOTTOM: 2px outset">Page Link</TH>
<DIV></DIV>&gt;</TR>
<DIV></DIV>&gt;
<TR>
<DIV></DIV>&gt; 
<TD style="BORDER-RIGHT: 2px outset; BORDER-TOP: 2px outset; BORDER-LEFT: 2px outset; BORDER-BOTTOM: 2px outset">
<DIV></DIV>&gt; 
<DIV id=Intro DIV <>&gt;onClick="controlExpand(this, 2)"&gt;<A style="COLOR: white; DIV: 24pt" href="http://pv1fd.pav1.hotmail.msn.com/cgi-bin/dasp/EN/rte.asp#";>Introduction</A></DIV>
<DIV></DIV>&gt; 
<DIV id=Intro_0 style="DISPLAY: none">&nbsp;&nbsp; <A href="http://pv1fd.pav1.hotmail.msn.com/cgi-bin/dasp/EN/rte.asp#"; DIV <>&gt;style="color: white; font-size: 20pt;"&gt;Five Kingdoms </DIV>&gt;System</A>
<DIV></DIV>
<DIV></DIV>&gt; 
<DIV id=Intro_1 style="DISPLAY: none">&nbsp;&nbsp; <A href="http://pv1fd.pav1.hotmail.msn.com/cgi-bin/dasp/EN/rte.asp#"; DIV <>&gt;style="color: white; font-size: 20pt;"&gt;Three Domains </DIV>&gt;System</A>
<DIV></DIV>
<DIV></DIV>&gt; </TD>
<DIV></DIV>&gt; 
<TD style="BORDER-RIGHT: 2px outset; BORDER-TOP: 2px outset; BORDER-LEFT: 2px outset; BORDER-BOTTOM: 2px outset">
<DIV></DIV>&gt; 
<DIV id=L_Intro><A href="http://pv1fd.pav1.hotmail.msn.com/cgi-bin/dasp/EN/polIntro.htm"; DIV <>&gt;style="font-size: 24pt;"&gt;Introduction</A></DIV>
<DIV></DIV>&gt; 
<DIV id=L_Intro_0 style="DISPLAY: none">&nbsp;&nbsp; <A DIV <>&gt;href="polIntroWhit.htm" style="font-size: 20pt;"&gt;Five Kingdoms </DIV>&gt;Intro</A>
<DIV></DIV>
<DIV></DIV>&gt; 
<DIV id=L_Intro_1 style="DISPLAY: none">&nbsp;&nbsp; <A DIV <>&gt;href="#" style="font-size: 20pt;"&gt;Three Domains Intro</A></DIV>
<DIV></DIV>&gt; </TD>
<DIV></DIV>&gt;</TR>
<DIV></DIV>&gt;
<TR>
<DIV></DIV>&gt; 
<TD style="BORDER-RIGHT: 2px outset; BORDER-TOP: 2px outset; BORDER-LEFT: 2px outset; BORDER-BOTTOM: 2px outset">
<DIV></DIV>&gt; 
<DIV id=FiveK DIV <>&gt;onClick="controlExpand(this, 1)"&gt;<A style="COLOR: white; DIV: 24pt" href="http://pv1fd.pav1.hotmail.msn.com/cgi-bin/dasp/EN/rte.asp#";>Five Kingdoms</A></DIV>
<DIV></DIV>&gt; 
<DIV id=FiveK_0 style="DISPLAY: none" DIV <>&gt;onClick="controlExpand(this, 1)"&gt;&nbsp;&nbsp; <A href="http://pv1fd.pav1.hotmail.msn.com/cgi-bin/dasp/EN/rte.asp#"; DIV <>&gt;style="color: white; font-size: 20pt;"&gt;Superkingdom: </DIV>&gt;Prokarya</A>
<DIV></DIV>
<DIV></DIV>&gt; 
<DIV id=FiveK_0_0 style="DISPLAY: none" DIV <>&gt;onClick="controlExpand(this, 2)"&gt;&nbsp;&nbsp;&nbsp;&nbsp; <A href="http://pv1fd.pav1.hotmail.msn.com/cgi-bin/dasp/EN/rte.asp#"; DIV <>&gt;style="color: white; font-size: 18pt;"&gt;Kingdom: Bacteria</A></DIV>
<DIV></DIV>&gt; 
<DIV id=FiveK_0_0_0 style="DISPLAY: none" DIV <>&gt;onClick="controlExpand(this, 1)"&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A DIV <>&gt;href="#" style="color: white; font-size: 16pt;"&gt;Subkingdom: </DIV>&gt;Archaea</A>
<DIV></DIV>
<DIV></DIV>&gt; 
<DIV id=FiveK_0_0_0_0 style="DISPLAY: none" DIV <>&gt;onClick="controlExpand(this, </DIV>&gt;2)"&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A href="http://pv1fd.pav1.hotmail.msn.com/cgi-bin/dasp/EN/rte.asp#"; DIV <>&gt;style="color: white; font-size: 14pt;"&gt;Division: 
<DIV></DIV>&gt;Mendosicutes</A>
<DIV></DIV>
<DIV></DIV>&gt; 
<DIV id=FiveK_0_0_0_0_0>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A DIV <>&gt;href="#" style="color: white; font-size: 14pt;"&gt;Phylum: B1 </DIV>&gt;Euryarchaeota</A>
<DIV></DIV>
<DIV></DIV>&gt; 
<DIV id=FiveK_0_0_0_0_1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A DIV <>&gt;href="#" style="color: white; font-size: 14pt;"&gt;Phylum: B2 </DIV>&gt;Crenarchaeota</A>
<DIV></DIV>
<DIV></DIV>&gt; 
<DIV id=FiveK_0_0_1 style="DISPLAY: none" DIV <>&gt;onClick="controlExpand(this, 3)"&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A DIV <>&gt;href="#" style="color: white; font-size: 16pt;"&gt;Subkingdom: </DIV>&gt;Eubacteria</A>
<DIV></DIV>
<DIV></DIV>&gt; 
<DIV id=FiveK_0_0_1_0 style="DISPLAY: none" DIV <>&gt;onClick="controlExpand(this, </DIV>&gt;6)"&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A href="http://pv1fd.pav1.hotmail.msn.com/cgi-bin/dasp/EN/rte.asp#"; DIV <>&gt;style="color: white; font-size: 14pt;"&gt;Division: 
<DIV></DIV>&gt;Gracilutes</A>
<DIV></DIV>
<DIV></DIV>&gt; 
<DIV id=FiveK_0_0_1_0_0>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A DIV <>&gt;href="#" style="color: white; font-size: 14pt;"&gt;Phylum: B3 </DIV>&gt;Proteobacteria</A>
<DIV></DIV>
<DIV></DIV>&gt; 
<DIV id=FiveK_0_0_1_0_1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A DIV <>&gt;href="#" style="color: white; font-size: 14pt;"&gt;Phylum: B4 </DIV>&gt;Spirochaetae</A>
<DIV></DIV>
<DIV></DIV>&gt; 
<DIV id=FiveK_0_0_1_0_2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A DIV <>&gt;href="#" style="color: white; font-size: 14pt;"&gt;Phylum: B5 </DIV>&gt;Cyanobacteria</A>
<DIV></DIV>
<DIV></DIV>&gt; 
<DIV id=FiveK_0_0_1_0_3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A DIV <>&gt;href="#" style="color: white; font-size: 14pt;"&gt;Phylum: B6 </DIV>&gt;Saprospirae</A>
<DIV></DIV>
<DIV></DIV>&gt; 
<DIV id=FiveK_0_0_1_0_4>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A DIV <>&gt;href="#" style="color: white; font-size: 14pt;"&gt;Phylum: B7 </DIV>&gt;Chloroflexa</A>
<DIV></DIV>
<DIV></DIV>&gt; 
<DIV id=FiveK_0_0_1_0_5>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A DIV <>&gt;href="#" style="color: white; font-size: 14pt;"&gt;Phylum: B8 </DIV>&gt;Chlorobia</A>
<DIV></DIV>
<DIV></DIV>&gt; 
<DIV id=FiveK_0_0_1_1 style="DISPLAY: none" DIV <>&gt;onClick="controlExpand(this, </DIV>&gt;1)"&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A href="http://pv1fd.pav1.hotmail.msn.com/cgi-bin/dasp/EN/rte.asp#"; DIV <>&gt;style="color: white; font-size: 14pt;"&gt;Division: 
<DIV></DIV>&gt;Tenericutes</A>
<DIV></DIV>
<DIV></DIV>&gt; 
<DIV id=FiveK_0_0_1_1_0>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A DIV <>&gt;href="#" style="color: white; font-size: 14pt;"&gt;Phylum: B9 </DIV>&gt;Aphragmabacteria</A>
<DIV></DIV>
<DIV></DIV>&gt; 
<DIV id=FiveK_0_0_1_2 style="DISPLAY: none" DIV <>&gt;onClick="controlExpand(this, </DIV>&gt;5)"&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A href="http://pv1fd.pav1.hotmail.msn.com/cgi-bin/dasp/EN/rte.asp#"; DIV <>&gt;style="color: white; font-size: 14pt;"&gt;Division: 
<DIV></DIV>&gt;Fermicutes</A>
<DIV></DIV>
<DIV></DIV>&gt; 
<DIV id=FiveK_0_0_1_2_0>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A DIV <>&gt;href="#" style="color: white; font-size: 14pt;"&gt;Phylum: B10 </DIV>&gt;Endospora</A>
<DIV></DIV>
<DIV></DIV>&gt; 
<DIV id=FiveK_0_0_1_2_1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A DIV <>&gt;href="#" style="color: white; font-size: 14pt;"&gt;Phylum: B11 </DIV>&gt;Pirellulae</A>
<DIV></DIV>
<DIV></DIV>&gt; 
<DIV id=FiveK_0_0_1_3_2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A DIV <>&gt;href="#" style="color: white; font-size: 14pt;"&gt;Phylum: B12 </DIV>&gt;Actinobacteria</A>
<DIV></DIV>
<DIV></DIV>&gt; 
<DIV id=FiveK_0_0_1_2_3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A DIV <>&gt;href="#" style="color: white; font-size: 14pt;"&gt;Phylum: B13 </DIV>&gt;Deinococci</A>
<DIV></DIV>
<DIV></DIV>&gt; 
<DIV id=FiveK_0_0_1_2_4>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A DIV <>&gt;href="#" style="color: white; font-size: 14pt;"&gt;Phylum: B14 </DIV>&gt;Thermoatogae</A>
<DIV></DIV>
<DIV></DIV>&gt; </TD>
<DIV></DIV>&gt; 
<TD style="BORDER-RIGHT: 2px outset; BORDER-TOP: 2px outset; BORDER-LEFT: 2px outset; BORDER-BOTTOM: 2px outset">
<DIV></DIV>&gt; 
<DIV id=L_FiveK><A href="http://pv1fd.pav1.hotmail.msn.com/cgi-bin/dasp/EN/rte.asp#"; DIV <>&gt;style="font-size: 24pt;"&gt;Five Kingdoms</A></DIV>
<DIV></DIV>&gt; 
<DIV id=L_FiveK_0 style="DISPLAY: none">&nbsp;&nbsp; <A DIV <>&gt;href="#" style="font-size: 20pt;"&gt;Superkingdom: Prokarya</A></DIV>
<DIV></DIV>&gt; 
<DIV id=L_FiveK_0_0>&nbsp;&nbsp;&nbsp;&nbsp; <A href="http://pv1fd.pav1.hotmail.msn.com/cgi-bin/dasp/EN/rte.asp#";>Kingdom: Bacteria</A></DIV>
<DIV></DIV>&gt; 
<DIV id=L_FiveK_0_0_0>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A href="http://pv1fd.pav1.hotmail.msn.com/cgi-bin/dasp/EN/rte.asp#"; DIV <>&gt;style="font-size: 16pt;"&gt;Subkingdom: Archaea</A></DIV>
<DIV></DIV>&gt; 
<DIV id=L_FiveK_0_0_0_0>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A href="http://pv1fd.pav1.hotmail.msn.com/cgi-bin/dasp/EN/rte.asp#"; DIV <>&gt;style="font-size: 14pt;"&gt;Division: Mendosicutes</A></DIV>
<DIV></DIV>&gt; 
<DIV id=L_FiveK_0_0_0_0_0>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A href="http://pv1fd.pav1.hotmail.msn.com/cgi-bin/dasp/EN/rte.asp#"; DIV <>&gt;style="font-size: 14pt;"&gt;Phylum: B1 Euryarchaeota</A></DIV>
<DIV></DIV>&gt; 
<DIV id=L_FiveK_0_0_0_0_1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A href="http://pv1fd.pav1.hotmail.msn.com/cgi-bin/dasp/EN/rte.asp#"; DIV <>&gt;style="font-size: 14pt;"&gt;Phylum: B2 Crenarchaeota</A></DIV>
<DIV></DIV>&gt; 
<DIV id=L_FiveK_0_0_1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A href="http://pv1fd.pav1.hotmail.msn.com/cgi-bin/dasp/EN/rte.asp#"; DIV <>&gt;style="font-size: 16pt;"&gt;Subkingdom: Eubacteria</A></DIV>
<DIV></DIV>&gt; 
<DIV id=L_FiveK_0_0_1_0>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A href="http://pv1fd.pav1.hotmail.msn.com/cgi-bin/dasp/EN/rte.asp#"; DIV <>&gt;style="font-size: 14pt;"&gt;Division: Gracilutes</A></DIV>
<DIV></DIV>&gt; 
<DIV id=L_FiveK_0_0_1_0_0>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A DIV <>&gt;href="#" style="font-size: 14pt;"&gt;Phylum: B3 </DIV>&gt;Proteobacteria</A>
<DIV></DIV>
<DIV></DIV>&gt; 
<DIV id=L_FiveK_0_0_1_0_1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A DIV <>&gt;href="#" style="font-size: 14pt;"&gt;Phylum: B4 Spirochaetae</A></DIV>
<DIV></DIV>&gt; 
<DIV id=L_FiveK_0_0_1_0_2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A DIV <>&gt;href="#" style="font-size: 14pt;"&gt;Phylum: B5 Cyanobacteria</A></DIV>
<DIV></DIV>&gt; 
<DIV id=L_FiveK_0_0_1_0_3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A DIV <>&gt;href="#" style="font-size: 14pt;"&gt;Phylum: B6 Saprospirae</A></DIV>
<DIV></DIV>&gt; 
<DIV id=L_FiveK_0_0_1_0_4>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A DIV <>&gt;href="#" style="font-size: 14pt;"&gt;Phylum: B7 Tenericutes</A></DIV>
<DIV></DIV>&gt; 
<DIV id=L_FiveK_0_0_1_0_5>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A DIV <>&gt;href="#" style="font-size: 14pt;"&gt;Phylum: B8 Firmicutes</A></DIV>
<DIV></DIV>&gt; 
<DIV id=L_FiveK_0_0_1_1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A href="http://pv1fd.pav1.hotmail.msn.com/cgi-bin/dasp/EN/rte.asp#"; DIV <>&gt;style="font-size: 14pt;"&gt;Division: Tenericutes</A></DIV>
<DIV></DIV>&gt; 
<DIV id=L_FiveK_0_0_1_1_0>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A DIV <>&gt;href="#" style="font-size: 14pt;"&gt;Phylum: B9 </DIV>&gt;Aphragmabacteria</A>
<DIV></DIV>
<DIV></DIV>&gt; 
<DIV id=L_FiveK_0_0_1_2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A href="http://pv1fd.pav1.hotmail.msn.com/cgi-bin/dasp/EN/rte.asp#"; DIV <>&gt;style="font-size: 14pt;"&gt;Division: Fermicutes</A></DIV>
<DIV></DIV>&gt; 
<DIV id=L_FiveK_0_0_1_2_0>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A DIV <>&gt;href="#" style="font-size: 14pt;"&gt;Phylum: B10 Endospora</A></DIV>
<DIV></DIV>&gt; 
<DIV id=L_FiveK_0_0_1_2_1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A DIV <>&gt;href="#" style="font-size: 14pt;"&gt;Phylum: B11 Pirellulae</A></DIV>
<DIV></DIV>&gt; 
<DIV id=L_FiveK_0_0_1_3_2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A DIV <>&gt;href="#" style="font-size: 14pt;"&gt;Phylum: B12 </DIV>&gt;Actinobacteria</A>
<DIV></DIV>
<DIV></DIV>&gt; 
<DIV id=L_FiveK_0_0_1_2_3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A DIV <>&gt;href="#" style="font-size: 14pt;"&gt;Phylum: B13 Deinococci</A></DIV>
<DIV></DIV>&gt; 
<DIV id=L_FiveK_0_0_1_2_4>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A DIV <>&gt;href="#" style="font-size: 14pt;"&gt;Phylum: B14 Thermoatogae</A></DIV>
<DIV></DIV>&gt; </TD>
<DIV></DIV>&gt;</TR>
<DIV></DIV>&gt;
<TR>
<DIV></DIV>&gt; 
<TD style="BORDER-RIGHT: 2px outset; BORDER-TOP: 2px outset; BORDER-LEFT: 2px outset; BORDER-BOTTOM: 2px outset">
<DIV></DIV>&gt; 
<DIV id=ThreeD DIV <>&gt;onClick="controlExpand(this, 0)"&gt;<A style="COLOR: white; DIV: 24pt" href="http://pv1fd.pav1.hotmail.msn.com/cgi-bin/dasp/EN/rte.asp#";>Three Domains</A></DIV>
<DIV></DIV>&gt; </TD>
<DIV></DIV>&gt; 
<TD style="BORDER-RIGHT: 2px outset; BORDER-TOP: 2px outset; BORDER-LEFT: 2px outset; BORDER-BOTTOM: 2px outset">
<DIV></DIV>&gt; </TD>
<DIV></DIV>&gt;</TR>
<DIV></DIV>&gt;</TBODY></TABLE>
<DIV></DIV>&gt;
<SCRIPT language=javascript type=text/javascript><!--
</DIV>>bodyEnd();
</DIV>>//--></SCRIPT>
 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;Javascript : 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;function controlExpand(obj, noOfKids) 
<DIV></DIV>&gt;{ 
<DIV></DIV>&gt; var i = 0; 
<DIV></DIV>&gt; var idRoot = obj.id; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; for(i=0; i<NOOFKIDS; DIV < i++)>&gt; { 
<DIV></DIV>&gt; var kid = pele(idRoot + "_" + i); 
<DIV></DIV>&gt; var linkKid = pele('L_' + idRoot + "_" + i); 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; if(kid) 
<DIV></DIV>&gt; { 
<DIV></DIV>&gt; if(kid.style.display == 'none') 
<DIV></DIV>&gt; { 
<DIV></DIV>&gt; kid.style.display = ''; 
<DIV></DIV>&gt; linkKid.style.display = ''; 
<DIV></DIV>&gt; } 
<DIV></DIV>&gt; else 
<DIV></DIV>&gt; { 
<DIV></DIV>&gt; hideChildren(idRoot + "_" + i); 
<DIV></DIV>&gt; kid.style.display = 'none'; 
<DIV></DIV>&gt; linkKid.style.display = 'none'; 
<DIV></DIV>&gt; } 
<DIV></DIV>&gt; } 
<DIV></DIV>&gt; } 
<DIV></DIV>&gt;} 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;function hideChildren(parentNm) 
<DIV></DIV>&gt;{ 
<DIV></DIV>&gt; var i=0; 
<DIV></DIV>&gt; var obj; 
<DIV></DIV>&gt; var linkObj; 
<DIV></DIV>&gt; do 
<DIV></DIV>&gt; { 
<DIV></DIV>&gt; var cldNm = parentNm + '_' + i; 
<DIV></DIV>&gt; obj = pele(cldNm); 
<DIV></DIV>&gt; linkObj = pele('L_' + cldNm); 
<DIV></DIV>&gt; if(obj) 
<DIV></DIV>&gt; { 
<DIV></DIV>&gt; hideChildren(cldNm); 
<DIV></DIV>&gt; obj.style.display = 'none'; 
<DIV></DIV>&gt; if(!linkObj) { 
<DIV></DIV>&gt; alert("child ref has no link mapping"); } 
<DIV></DIV>&gt; else { 
<DIV></DIV>&gt; linkObj.style.display = 'none'; } 
<DIV></DIV>&gt; i++; 
<DIV></DIV>&gt; } 
<DIV></DIV>&gt; } while(obj); 
<DIV></DIV>&gt;} 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;Cheer 
<DIV></DIV>&gt;Larry 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;_______________________________________________ 
<DIV></DIV>&gt;Javascript mailing list 
<DIV></DIV>&gt;Javascript@xxxxxxxxxx 
<DIV></DIV>&gt;https://lists.LaTech.edu/mailman/listinfo/javascript 
<DIV></DIV></div><br clear=all><hr>MSN 8 helps <a href="http://g.msn.com/8HMJEN/2743";>ELIMINATE E-MAIL VIRUSES. </a> Get 2 months FREE*.</html>