E
Easily Confused
So this is part 7 of the same problem. I followed your advice - started from scratch, drew new layers and made sure they weren't nested within one another. I think I have everything layed out right; however, when I click on my tabs at the top of the screen in preview mode, I get the same effect.
I can see that I am really close - yet so far!
What I want is when the page loads, it defaults to the layer have set to be visible ("layer 4") - then when the "General" button is clicked, it loads "layer 1" with it's information respectivley, then when the "Personnel Policies" button is clicked, it loads "layer 2" and does away with the information that was in "layer 1". As it is, they just pile on top of one another - so all the text loads which of course renders it unreadable.
As always, your help is greatlt appreciated!
Here is the code from this attempt:
<body onload="FP_preloadImgs(/*url*/'button71.gif', /*url*/'button72.gif', /*url*/'button83.jpg', /*url*/'button84.jpg', /*url*/'button8C.jpg', /*url*/'button8D.jpg', /*url*/'button92.gif', /*url*/'button93.gif', /*url*/'button9D.gif', /*url*/'button9E.gif')"><div style="position: absolute; left: 11px; top: 50px; width: 800px; height: 600px; z-index: 1; visibility: hidden; border-style: solid; border-color: #F5B9B9; " id="layer1"> <p align="center"><u><b><font face="Tahoma">General Information - Table of
Contents</font></b></u></p><p> </p><p> </p></div><div style="position: absolute; left: 10px; top: 50px; width: 800px; height: 600px; z-index: 2; visibility: hidden; border-style: solid; border-color: #BBFF99" id="layer2"> <p align="center"><u><font face="Tahoma"><b>Personnel Policies - Table of
Contents</b></font></u></div><div style="position: absolute; left: 10px; top: 50px; width: 800px; height: 600px; z-index: 3; visibility: hidden; border-style: solid; border-color: #ACCDFB" id="layer3">
<p align="center"><u><b><font face="Tahoma">Firm Policies - Table of
Contents</font></b></u></div><p><img border="0" id="img4" src="button9C.gif" height="36" width="108" alt="Introduction" fp-style="fp-btn: Metal Tab 5; fp-transparent: 1" fp-title="Introduction" onclick="FP_changeProp(/*id*/'layer4',0,'style.visibility','visible')" onmouseover="FP_swapImg(1,0,/*id*/'img4',/*url*/'button9D.gif')" onmouseout="FP_swapImg(0,0,/*id*/'img4',/*url*/'button9C.gif')" onmousedown="FP_swapImg(1,0,/*id*/'img4',/*url*/'button9E.gif')" onmouseup="FP_swapImg(0,0,/*id*/'img4',/*url*/'button9D.gif')"><img border="0" id="img1" src="button82.jpg" height="36" width="108" alt="General" fp-style="fp-btn: Metal Tab 7" fp-title="General" onmouseover="FP_swapImg(1,0,/*id*/'img1',/*url*/'button83.jpg')" onmouseout="FP_swapImg(0,0,/*id*/'img1',/*url*/'button82.jpg')" onmousedown="FP_swapImg(1,0,/*id*/'img1',/*url*/'button84.jpg')" onmouseup="FP_swapImg(0,0,/*id*/'img1',/*url*/'button83.jpg')" onclick="FP_changeProp(/*id*/'layer1',0,'style.visibility','inherit')"><img border="0" id="img2" src="button70.gif" height="36" width="108" alt="Personnel Policies" onmouseover="FP_swapImg(1,0,/*id*/'img2',/*url*/'button71.gif')" onmouseout="FP_swapImg(0,0,/*id*/'img2',/*url*/'button70.gif')" onmousedown="FP_swapImg(1,0,/*id*/'img2',/*url*/'button72.gif')" onmouseup="FP_swapImg(0,0,/*id*/'img2',/*url*/'button71.gif')" fp-style="fp-btn: Metal Tab 2; fp-transparent: 1" fp-title="Personnel Policies" onclick="FP_changeProp(/*id*/'layer2',0,'style.visibility','inherit')"><img border="0" id="img3" src="button8B.jpg" height="36" width="108" alt="Firm Policies" onmouseover="FP_swapImg(1,0,/*id*/'img3',/*url*/'button8C.jpg')" onmouseout="FP_swapImg(0,0,/*id*/'img3',/*url*/'button8B.jpg')" onmousedown="FP_swapImg(1,0,/*id*/'img3',/*url*/'button8D.jpg')" onmouseup="FP_swapImg(0,0,/*id*/'img3',/*url*/'button8C.jpg')" fp-style="fp-btn: Metal Tab 1" fp-title="Firm Policies" onclick="FP_changeProp(/*id*/'layer3',0,'style.visibility','inherit')"><img border="0" id="img5" src="button91.gif" height="36" width="108" alt="Benefits" onmouseover="FP_swapImg(1,0,/*id*/'img5',/*url*/'button92.gif')" onmouseout="FP_swapImg(0,0,/*id*/'img5',/*url*/'button91.gif')" onmousedown="FP_swapImg(1,0,/*id*/'img5',/*url*/'button93.gif')" onmouseup="FP_swapImg(0,0,/*id*/'img5',/*url*/'button92.gif')" fp-style="fp-btn: Metal Tab 9; fp-transparent: 1" fp-title="Benefits"></p><div style="position: absolute; left: 11px; top: 50px; width: 800px; height: 600px; z-index: 4; visibility: visible; border-style: solid; border-color: #9DE260; " id="layer4"> <p align="left"><font face="Tahoma"><u><b>Introduction:</b></u></font></p><ul>
I can see that I am really close - yet so far!
What I want is when the page loads, it defaults to the layer have set to be visible ("layer 4") - then when the "General" button is clicked, it loads "layer 1" with it's information respectivley, then when the "Personnel Policies" button is clicked, it loads "layer 2" and does away with the information that was in "layer 1". As it is, they just pile on top of one another - so all the text loads which of course renders it unreadable.
As always, your help is greatlt appreciated!
Here is the code from this attempt:
<body onload="FP_preloadImgs(/*url*/'button71.gif', /*url*/'button72.gif', /*url*/'button83.jpg', /*url*/'button84.jpg', /*url*/'button8C.jpg', /*url*/'button8D.jpg', /*url*/'button92.gif', /*url*/'button93.gif', /*url*/'button9D.gif', /*url*/'button9E.gif')"><div style="position: absolute; left: 11px; top: 50px; width: 800px; height: 600px; z-index: 1; visibility: hidden; border-style: solid; border-color: #F5B9B9; " id="layer1"> <p align="center"><u><b><font face="Tahoma">General Information - Table of
Contents</font></b></u></p><p> </p><p> </p></div><div style="position: absolute; left: 10px; top: 50px; width: 800px; height: 600px; z-index: 2; visibility: hidden; border-style: solid; border-color: #BBFF99" id="layer2"> <p align="center"><u><font face="Tahoma"><b>Personnel Policies - Table of
Contents</b></font></u></div><div style="position: absolute; left: 10px; top: 50px; width: 800px; height: 600px; z-index: 3; visibility: hidden; border-style: solid; border-color: #ACCDFB" id="layer3">
<p align="center"><u><b><font face="Tahoma">Firm Policies - Table of
Contents</font></b></u></div><p><img border="0" id="img4" src="button9C.gif" height="36" width="108" alt="Introduction" fp-style="fp-btn: Metal Tab 5; fp-transparent: 1" fp-title="Introduction" onclick="FP_changeProp(/*id*/'layer4',0,'style.visibility','visible')" onmouseover="FP_swapImg(1,0,/*id*/'img4',/*url*/'button9D.gif')" onmouseout="FP_swapImg(0,0,/*id*/'img4',/*url*/'button9C.gif')" onmousedown="FP_swapImg(1,0,/*id*/'img4',/*url*/'button9E.gif')" onmouseup="FP_swapImg(0,0,/*id*/'img4',/*url*/'button9D.gif')"><img border="0" id="img1" src="button82.jpg" height="36" width="108" alt="General" fp-style="fp-btn: Metal Tab 7" fp-title="General" onmouseover="FP_swapImg(1,0,/*id*/'img1',/*url*/'button83.jpg')" onmouseout="FP_swapImg(0,0,/*id*/'img1',/*url*/'button82.jpg')" onmousedown="FP_swapImg(1,0,/*id*/'img1',/*url*/'button84.jpg')" onmouseup="FP_swapImg(0,0,/*id*/'img1',/*url*/'button83.jpg')" onclick="FP_changeProp(/*id*/'layer1',0,'style.visibility','inherit')"><img border="0" id="img2" src="button70.gif" height="36" width="108" alt="Personnel Policies" onmouseover="FP_swapImg(1,0,/*id*/'img2',/*url*/'button71.gif')" onmouseout="FP_swapImg(0,0,/*id*/'img2',/*url*/'button70.gif')" onmousedown="FP_swapImg(1,0,/*id*/'img2',/*url*/'button72.gif')" onmouseup="FP_swapImg(0,0,/*id*/'img2',/*url*/'button71.gif')" fp-style="fp-btn: Metal Tab 2; fp-transparent: 1" fp-title="Personnel Policies" onclick="FP_changeProp(/*id*/'layer2',0,'style.visibility','inherit')"><img border="0" id="img3" src="button8B.jpg" height="36" width="108" alt="Firm Policies" onmouseover="FP_swapImg(1,0,/*id*/'img3',/*url*/'button8C.jpg')" onmouseout="FP_swapImg(0,0,/*id*/'img3',/*url*/'button8B.jpg')" onmousedown="FP_swapImg(1,0,/*id*/'img3',/*url*/'button8D.jpg')" onmouseup="FP_swapImg(0,0,/*id*/'img3',/*url*/'button8C.jpg')" fp-style="fp-btn: Metal Tab 1" fp-title="Firm Policies" onclick="FP_changeProp(/*id*/'layer3',0,'style.visibility','inherit')"><img border="0" id="img5" src="button91.gif" height="36" width="108" alt="Benefits" onmouseover="FP_swapImg(1,0,/*id*/'img5',/*url*/'button92.gif')" onmouseout="FP_swapImg(0,0,/*id*/'img5',/*url*/'button91.gif')" onmousedown="FP_swapImg(1,0,/*id*/'img5',/*url*/'button93.gif')" onmouseup="FP_swapImg(0,0,/*id*/'img5',/*url*/'button92.gif')" fp-style="fp-btn: Metal Tab 9; fp-transparent: 1" fp-title="Benefits"></p><div style="position: absolute; left: 11px; top: 50px; width: 800px; height: 600px; z-index: 4; visibility: visible; border-style: solid; border-color: #9DE260; " id="layer4"> <p align="left"><font face="Tahoma"><u><b>Introduction:</b></u></font></p><ul>