So here is the code I got so far. Which works….
This code is in a seperate js file
[code][COLOR=Black]function toggleBlock(id) {
if (document.getElementById(id).style.display == ‘none’) {
document.getElementById(id).style.display = ‘block’;
} else {
document.getElementById(id).style.display = ‘none’;
}
}[/COLOR]
The rest is in my HTML page…….
[code]<div id=”blankDiv_text” style=”display:none” class=”textmain”> <p>
<text class=”textheader”>HI</text>
<br>
<text class=”textmain”>The links at the right will guide you<br>
through some examples of the work<br>
I have been busy with lately. If you have<br>
any questions please don’t hesitate to<br>
contact me at anytime.<br>
Thanks,
<br>
<br>
Corey Shields</text>
</p></div>
[code]<div id=”ThumbNav” [COLOR=Black]a href=”javascript:void(0)” onClick=”toggleBlock(‘blankDiv_text’);”[/COLOR]><img src=”fernrdige_up.jpg” alt=”” width=”55″ height=”53″</div>
Everything works just fine as long as there is only one button…..How do I ad a second button that will populate different text and simultaneously make the current text dissapear so it doesn’t stack. I have been looking and can’t find anything that would make sense here. I may be looking in the wrong places….I don’t know.
Any help would be great.