Do you want sub1 open every time the page loads? If so, just set its style to display:block by adding it in at the end of the style section like so (from the demo version's style section):
Code:
.submenu{
margin-bottom: 0.5em;
}
#sub1 {
display:block;
}
</style>
If you are using persistence, this method will result in sub1 always being open on reload as well, regardless of the open/closed state of any other sub group. So, if you are using persistence, you will probably prefer this method:
Find this line in the code:
Code:
document.getElementById(cookievalue).style.display="block"
Right after it put these two lines:
Code:
else
document.getElementById('sub1').style.display="block"
This will result in sub1 being open the first time the page loads, thereafter the persistence feature will take over on subsequent loads remembering only the page's state as it last was.
Added Later:
Unless all the sub's are closed, in which case reloading will open the first again.
Bookmarks