Adapting a code that I found on your forum here:
[
webmasterworld.com...]
I was able to successfully create a series of links that allow one div at a time to appear on the page. However, when the page loads, all of the divs show up.
I tried creating a new function and calling it with body.onload
function justRecipe() {
document.getElementById('Recipe').style.display = 'block';
document.getElementById('Shopping').style.display = 'none';
document.getElementById('TableTopics').style.display = 'none';
document.getElementById('QualityTime').style.display = 'none';
document.getElementById('Newsletter').style.display = 'none';
}
<body.onload = justRecipe()>
No luck!
Here is the link to see the code in action:
[
whatsfordinner.net...]
Help is greatly appreciated.
Thanks,
Jean Fisher
[
whatsfordinner.net...]
What's For Dinner?
Make dinner time, family time!